Skip to main content
POST
Rotate an API key secret

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Path Parameters

apiKeyId
string
required
Minimum string length: 1

Response

The key metadata and the new plaintextKey secret. Store the secret now; it is never shown again.

apiKey
object
required

Metadata and access configuration of the key.

plaintextKey
string
required

The plaintext secret, a 32-byte base64url string. Store it now; it is never shown again, and only a SHA-256 hash is kept.