Skip to main content
POST
Rotate API Key
The old secret stops working the moment this responds. As with creation, the new secret is shown once here and never again.

Path

string
required
The key’s ID.

Response

APIApiKeyCreated
Same key (id, name, scopes, allowed_ips unchanged), new prefix/last4/api_key. See Create API Key for the field reference.

Errors