Skip to main content
POST
/
v1
/
api-keys
/
{clientId}
/
rotate-secret
Rotate client secret
curl --request POST \
  --url https://api.example.com/v1/api-keys/{clientId}/rotate-secret \
  --header 'Authorization: Bearer <token>'
{
  "audience": "https://api.zuba.com",
  "clientId": "abc123xyz456",
  "clientSecret": "new_secret_key_here",
  "domain": "your-tenant.auth0.com",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.zuba.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Path Parameters

clientId
string
required

Auth0 client ID

Example:

"abc123xyz456"

Response

Secret rotated successfully

audience
string
required

API audience/identifier

Example:

"https://api.zuba.com"

clientId
string
required

Auth0 client ID

Example:

"abc123xyz456"

clientSecret
string
required

New client secret

Example:

"new_secret_key_here"

domain
string
required

Auth0 domain for token endpoint

Example:

"your-tenant.auth0.com"

message
string
required

Message