SyncPilledDocs
API referenceManagement keys

Revoke a management key

POST
/v1/admin/keys/{key}/revoke

Only an owner or admin signed in to the console may revoke one. Revoking a revoked key changes nothing.

Authorization

AuthorizationBearer <token>

A management key, made in the console. It acts as an admin of its account.

In: header

Path Parameters

key*string

The key's id.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/admin/keys/string/revoke"
{  "key": {    "id": "string",    "name": "string",    "label": "string",    "hint": "string",    "source": "string",    "created_at": "string",    "revoked_at": "string"  }}