Credentials

Revoke one of your API keys

DELETE
/v1/api-keys/{keyId}

Authorization

bearerAuth
AuthorizationBearer <token>

A personal API key (psk_…) or an OAuth access token (plan_at_…). Scopes: read, write.

In: header

Path Parameters

keyId*string

API key id.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/api-keys/string"
{  "key": {    "id": "string",    "name": "string",    "prefix": "string",    "scope": "read",    "lastUsedAt": "2019-08-24T14:15:22Z",    "revokedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z"  }}