FousDocs

Delete one method of a tool you built

Delete one method of a private tool while keeping its remaining methods.

DELETE/v1/tools/{api}/methods/{method_id}

Removes one method; the tool stays with its others, and is archived when none remain. Needs tools:write.

Requires Authorization: Bearer $FOUS_API_KEY. Create a key.

Path parameters

  • apistringrequired
  • method_idintegerrequired

Response 200

Success

  • successtruerequired
  • dataobjectrequired
    Show child attributesHide child attributes
    • apistringrequired
    • method_idintegerrequired
    • remaining_methodsintegerrequired
    • api_archivedbooleanrequired

Errors

Every failure is an Error: branch on error.code. The errors guide lists each code.

  • 400
  • 401WWW-Authenticate
  • 402
  • 403
  • 404
  • 408
  • 409
  • 410
  • 413
  • 422
  • 429Retry-After
  • 500
  • 502
  • 503Retry-After
  • 504