Skip to main content
DELETE
/
v1
/
{workspace}
/
ws_api_key
/
{api_key_id}
Delete API Key
curl -X DELETE "https://management-api.suprsend.com/v1/{workspace}/ws_api_key/{api_key_id}/" \
  --header 'Authorization: ServiceToken <SERVICE_TOKEN>'
{
  "code": 401,
  "error_code": "authentication_failed",
  "type": "AuthenticationFailed",
  "message": "Invalid service token.",
  "detail": "Invalid service token."
}

Authorizations

ServiceToken <token>
string
header
required

You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.

Path Parameters

workspace
string
required

Workspace slug (e.g. staging, production).

api_key_id
string
required

API key identifier (e.g. ws_apik_...).

Response

API key disabled — no response body.