https://control.ably.net/v1/apps/{app_id}/keys/{key_id}/revokeRevokes the API key with the specified ID, with the Application ID. This deletes the key.
The application ID.
The key ID.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://control.ably.net/v1/apps/{app_id}/keys/{key_id}/revoke' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://control.ably.net/v1/apps/{app_id}/keys/{key_id}/revokeRevokes the API key with the specified ID, with the Application ID. This deletes the key.
The application ID.
The key ID.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://control.ably.net/v1/apps/{app_id}/keys/{key_id}/revoke' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}