Skip to main content
PUT
/
v1
/
api-keys
/
{clientId}
/
scopes
Update API key scopes
curl --request PUT \
  --url https://api.example.com/v1/api-keys/{clientId}/scopes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scopes": [
    "read:payouts",
    "create:payouts"
  ]
}
'

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"

Body

application/json
scopes
string[]
required

Updated list of scopes/permissions

Example:
["read:payouts", "create:payouts"]

Response

Scopes updated successfully