API Keys

Revoke an API key

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.

delete/api/projects/{id}/api-keys/{keyId}

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/projects/{id}/api-keys/{keyId}
  • Auth: one of:
    • API key in cookie better-auth.session_token
    • OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: api-keys:write)

Path parameters

idstring required

Project id.

keyIdstring required

API key id.

Response

API key revoked

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.