Skip to content
Endless Documentation

Set State Tools

PATCH
/organizations/{organization_id}/tools/{tool_kind}/{tool_id}

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Path Parameters

organization_id*string
Length1 <= length
tool_kind*string
Length1 <= length
tool_id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/organizations/org_abc123/tools/string/string" \  -H "Content-Type: application/json" \  -d '{    "scope": "workspace",    "enabled": true  }'
{  "success": true}