GoodMem
ReferenceAPIREST APIAPI Keys

Delete an API key

Permanently deletes an API key. This operation cannot be undone and immediately invalidates the key for all future authentication attempts.

TIP: For reversible deactivation, use PUT /v1/apikeys/{id} with status=INACTIVE instead. Requires DELETE_APIKEY_OWN permission for keys you own (or DELETE_APIKEY_ANY for admin users to delete any user's keys). Side effects include permanently removing the key record from the database and immediate authentication invalidation.

DELETE
/v1/apikeys/{id}
x-api-key<token>

In: header

Path Parameters

idstring

The unique identifier of the API key to delete

Response Body

curl -X DELETE "http://localhost:8080/v1/apikeys/550e8400-e29b-41d4-a716-446655440000"
Empty
Empty
Empty
Empty
Empty