FousDocs

Choose the version of a tool you run

Select the operation version this credential uses for a tool.

PUT/v1/catalog/version-preference

Pins the method version this credential runs for a tool, by operation_id. The first choice sticks until replace is true. Needs tools:read.

Requires Authorization: Bearer $FOUS_API_KEY. Create a key.

Request body

Required. JSON.

  • operation_idintegerrequired
  • replacebooleandefault false

Response 200

Success

  • successtruerequired
  • dataobjectrequired
    Show child attributesHide child attributes
    • operation_idintegerrequired

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