API ReferenceApi keys
Revoke an API key
DELETE
Revoke an API key. Answers { success: true } with no data key. 404 if the key does not exist under this project.
Requires the api-keys:write scope — Create, rotate, and revoke API keys — these keep working even after you disconnect this app.
cookie
better-auth.session_token<token>BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.
id*stringProject id.
keyId*stringAPI key id.
API key revoked
application/json- response
Bare success envelope with no payload.
success*trueValue in
truecurl -X DELETE 'https://api.sendly.now/api/projects/string/api-keys/string'Example Response
{ "success": true}