Skip to main content
PATCH
/
management
/
keys
/
{id}
Update management API key
curl --request PATCH \
  --url https://api.phaseo.app/v1/management/keys/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "status": "active",
  "soft_blocked": true
}
'
{
  "ok": true,
  "message": "Key updated successfully"
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

The management API key ID

Body

application/json
name
string

New name for the key

status
enum<string>

New status for the key

Available options:
active,
disabled,
revoked
soft_blocked
boolean

Whether to temporarily block the key

Response

Key updated successfully

ok
boolean
Example:

true

message
string
Example:

"Key updated successfully"

Last modified on February 11, 2026