Update client token

Update fields on an existing client token.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Request

This endpoint expects an object.
agentIdslist of stringsOptional
allowedOriginslist of stringsOptional
Allowed request origins for this token. Each entry is an exact origin (https://app.example.com), a wildcard subdomain (https://*.example.com), '*' for all origins, or the literal 'native' — a sentinel that admits requests carrying NO Origin header (native mobile apps). A token with 'native' has effectively no origin protection and relies on its capability scope.
configmap from strings to anyOptional
defaultFlowIdstringOptional
flowIdslist of stringsOptional
isActivebooleanOptional
maxMessagesPerSessiondoubleOptional1-1000
namestringOptional1-255 characters
pinToVersionstringOptional
rateLimitPerHourdoubleOptional1-10000
rateLimitPerMinutedoubleOptional1-1000
sessionIdleTimeoutMinutesdoubleOptional1-1440

Response

Updated client token
clientTokenobject
warningslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error