Rename or rescope an API key
API Keys
Rename or rescope an API key
PATCH
Rename or rescope an API key
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Client-generated idempotency key (≤255 chars). Replays the cached response when the same (team, key) pair sees an identical request body within 24h; returns 409 idempotency_key_reused if the body differs. Recommended for every billable POST.
Maximum string length:
255Date-pinned API version (e.g. 2026-05-04). Omit to receive the latest stable version. Behaves like Stripe's Stripe-Version — pinning a version freezes payload shapes against breaking changes during the 12-month sunset window.
Path Parameters
cuid of the resource
Body
application/json
Required string length:
1 - 100Minimum array length:
1Available options:
*, templates:read, templates:write, templates:*, evaluations:read, evaluations:write, evaluations:*, autousers:read, autousers:write, autousers:*, ratings:read, ratings:write, ratings:*, webhooks:read, webhooks:write, webhooks:*, events:read