Skip to main content

Update access-protection config

PATCH 

/api/v1/chatbots/:chatbotId/access-protection

Update access-protection enabled flag and/or jwtConfig (enabled, emailClaim, secret). If a new JWT secret is provided it is encrypted at rest; the plaintext is never stored. Returns the updated config (secret collapsed to hasSecret). Required scope: security:write.

Request

Responses

Access-protection configuration updated.