cURL
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" }
Update the name, status, or blocked state of a management API key.
Bearer token authentication
The management API key ID
New name for the key
New status for the key
active
disabled
revoked
Whether to temporarily block the key
Key updated successfully
true
"Key updated successfully"
Was this page helpful?