Update a knowledge scope
PATCH/api/v1/chatbots/:chatbotId/scopes/:scopeId
Partial update of ONE knowledge scope. Only the supplied fields change; absent fields (including costLimit, authorizedEmails, authorizedDomains) are preserved server-side. null on an optional field clears it; [] clears an array; costLimit is replaced atomically. id is immutable (ignored). Required scope: chatbots:write.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Scope updated.
Bad Request — invalid input
Unauthorized — missing or invalid API key
Forbidden — key lacks required scope
Not Found
Too Many Requests — rate limit exceeded