Skip to main content
DELETE
/
api
/
keys
/
{id}
Delete an API key
curl --request DELETE \
  --url https://v1.api.altostrat.io/api/keys/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "The given data was invalid.",
  "errors": {}
}

Authorizations

Authorization
string
header
required

Authenticate with an SDX user access token that has permission to manage API keys.

Path Parameters

id
string
required

The API key identifier.

Pattern: ^api_key_[0-9A-Za-z]{27}$
Example:

"api_key_2m3h5n7k9j8g7f6e5d4c3b2a"

Response

The API key was deleted.