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.
404 Not Found
Endpoint not found — no such endpoint in your active account (another account's endpoint reads the same; this used to be a 403) — or API key not found 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" }
Was this helpful?
Was this helpful?