Revoke API Key
Permanently revoke an API key.
DELETE
https://api.uprails.com/api-keys/:key_id/revokeRevokes an API key, immediately preventing it from being used for authentication. This action cannot be undone.
Irreversible Action
Once an API key is revoked, it cannot be restored. Any applications using this key will immediately lose access.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
key_id | string | Required. The ID of the API key to revoke. |
Request Example
curl -X DELETE https://api.uprails.com/api-keys/key_1234567890abcdef/revoke \
-H "api-key: snd_YOUR_API_KEY"Response
200OK
{
"key_id": "key_1234567890abcdef",
"deleted": true
}