Skip to Content
Docs

Update the status of a tool

POST
/api/update_tool_status

Update the status of a tool.

Personal access token scope: tools:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
id*string

Tool ID

status*boolean

Status of the tool

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/update_tool_status' \  -H 'Content-Type: application/json' \  -d '{  "id": "string",  "status": true}'
Example Response200
Empty