Skip to content

Revoke the credential this request is using

DELETE
/v1/cli/devices/current
curl --request DELETE \
--url https://api.aetherpush.com/v1/cli/devices/current \
--header 'Authorization: Bearer <token>'

What aether logout calls before clearing local state, so signing out actually ends the server-side session instead of leaving it alive until expiry. Identifies the credential from the bearer on the request itself.

Revoked.

The bearer token is missing, invalid, or expired.

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"
}

The bearer matches no stored credential.

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"
}

Internal server error.

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"
}