Skip to main content
DELETE
https://api.naga.ac
/
v1
/
account
/
keys
/
{key_id}
Delete API Key
curl --request DELETE \
  --url https://api.naga.ac/v1/account/keys/{key_id} \
  --header 'Authorization: Bearer <token>'
Irreversible Action Deleting an API key is permanent and cannot be undone. Any applications using this key will immediately lose access.

Path Parameters

key_id
integer
required
The ID of the API key to delete

Example Request

import requests

key_id = 1
response = requests.delete(
    f"https://api.naga.ac/v1/account/keys/{key_id}",
    headers={"Authorization": "Bearer YOUR_PROVISIONING_KEY"},
)

if response.status_code == 204:
    print("API key deleted successfully")

Response

Returns HTTP 204 No Content on success.