Update AI settings
PUT/api/ai/settings
Partial update of the tenant AI configuration. Admin only. api_key is
write-only: send a value to store it (encrypted at rest), send null/empty
to clear it, or omit it to leave the stored key unchanged. The key is
never echoed back.
Request
Responses
- 200
- 401
- 403
- 422
The updated AI settings.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
The request failed validation.