Delete Endpoint API Key

DELETE /v1/endpoints/{uuid}/api-keys/{key_uuid}

Permanently revoke a per-endpoint API key. Subsequent client requests presenting this key are rejected with 401 at the edge — typically within a few seconds (the platform invalidates its key cache asynchronously).

This deletes the row entirely; for an audit trail without revoking, use PUT with is_active: false instead.

Path parameters

uuid string (uuid) Req
Endpoint UUID.
key_uuid string (uuid) Req
Key UUID.

Response (200 OK)

status string
"deleted".

Errors

401 Unauthorized
Missing auth.
403 Forbidden
Endpoint doesn't belong to you.
404 Not Found
Key doesn't exist on this endpoint.
Request
curl -X DELETE "https://api.ngris.com/v1/endpoints/<uuid>/api-keys/<key_uuid>" \ -H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris client = Ngris(api_key="<your_api_key>") client._delete_void("/endpoints/<endpoint_uuid>/api-keys/<key_uuid>")
Response — 200 OK
{ "status": "deleted" }
Iris