Skip to main content
POST
/
api
/
auth
/
sign-out
curl --request POST \
  --url https://mcp.echozero.app/api/auth/sign-out \
  --header 'Content-Type: application/json' \
  --data '
{
  "refreshToken": "550e8400-e29b-41d4-a716-446655440000"
}
'
{
  "success": true,
  "data": {
    "success": true
  }
}

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.

x-timestamp
string

Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.

Body

application/json

OpenAPI schema McpSignOutBodyDto.

refreshToken
string
required

Refresh token of the session to be revoked.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Session revoked.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload