SocialPipe docs

Revoke Key

Revoke one key. Scoped to the caller: a key belonging to someone else is a 404, not a 403, so the id cannot be used to probe for real keys. The key stops working immediately, but its history is kept: a revoked key still appears in this list and in your usage records.

DELETE/v1/keys/{key_id}

Revoke one key. Scoped to the caller: a key belonging to someone else is a 404, not a 403, so the id cannot be used to probe for real keys.

The key stops working immediately, but its history is kept: a revoked key still appears in this list and in your usage records.

Path Parameters

key_id*Key Id
Formatuuid

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/keys/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "created_at": "2019-08-24T14:15:22Z",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_active": true,  "key_prefix": "string",  "last_used_at": "2019-08-24T14:15:22Z",  "name": "string",  "rate_limit": 0,  "revoked_at": "2019-08-24T14:15:22Z"}