Viewrium Docs
HTTP referenceAPI keys

Revoke an API key

DELETE/v1/api_keys/{id}

Revokes the key at once; it stays listed with revoked_at set. 204 on success; 404 for a key you cannot see.

Path Parameters

id*Id

The API key's id.

Formatuuid

Response Body

application/json

curl -X DELETE "https://example.com/v1/api_keys/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{  "error": {    "code": "string",    "message": "string",    "details": null  }}