Skip to content

Revoke an access key

DELETE
/v1/access-keys/{accessKeyName}
curl --request DELETE \
--url https://api.aetherpush.com/v1/access-keys/example \
--header 'Authorization: Bearer <token>'

Permanently revokes the access key. Cannot be undone.

accessKeyName
required
string

The friendlyName of the access key.

Access key revoked.

Unauthenticated.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

API keys and named access keys cannot access this endpoint; a login session is required.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

No access key with that friendlyName exists.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}