API Keys
Rotate API Key
Rotate an API key, generating new key material while preserving name and permissions
POST
Overview
Rotates an existing API key by generating new key material. The old key is immediately invalidated and a new plaintext key is returned. The key’s name and permissions are preserved. Auth: Requires JWT (dashboard operation only). Important: The new plaintext key is shown only once in this response. Store it securely.Path Parameters
The API key UUID to rotate
Response
API key UUID (unchanged)
New plaintext API key (shown once only — store it securely)
First 8 characters of the new key (for identification)
Key name (preserved from original)
Original creation timestamp
Last usage timestamp (reset on rotation)
Resource permissions (preserved from original).
null means unrestricted.