APIWorkspaces
Set AI tool access
Cuts every AI tool off from this workspace, or lets them back in. While it is off, existing MCP keys are refused and no new one can be created. The keys themselves are kept, so turning it back on restores them.
Requires the admin role on the workspace.
AuthorizationBearer <token>
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
workspaceId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
disabled*boolean
true to cut every AI tool off from this workspace, false to allow them again.
Response Body
application/json
curl -X PUT "https://api-next.centralcsp.com/v1/workspaces/string/ai-integrations" \ -H "Content-Type: application/json" \ -d '{ "disabled": true }'{ "id": "string", "name": "Acme", "ownerId": "string", "requiresMfa": true, "disableAiIntegrations": true, "plan": { "slug": "pro", "name": "Pro", "features": [ "compliance", "alerting", "api_keys" ] }, "role": "admin", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}