Tokens
Update a developer token's metadata
Update label, origin allowlist, and/or endpointConfigId binding. All three fields use absent-vs-null semantics: omit a key to leave it untouched; set to null to clear it. The endpointConfigId binding determines which EndpointConfig the Anthropic proxy routes to when this token authenticates a request — see docs/features/anthropic-api-proxy.md § "Provider Selection".
Validates endpointConfigId against EndpointConfigStore; an unknown id surfaces as 404.
patch/v1/tokens/{tokenId}
Request
- Base URL: http://localhost:9998
- URL: http://localhost:9998/v1/tokens/{tokenId}
- Auth: HTTP bearer
Request body
Response
Updated token (masked prefix; raw token never returned)
Changes
No recorded changes to this operation across all 1 revision of this API.