Skip to main content
POST
/
auth
/
logout
cURL
curl --request POST \
  --url https://app.closerx.ai/api/auth/logout/ \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "access_token": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Authorizations

api_key
string
header
required

Body

application/json

Access token for logout

access_token
string
required

User's access token for authentication

Response

Logout response

success
boolean
required

Indicates whether the logout was successful

message
string
required

Message describing the result of the logout request

data
object
required

Empty object containing no additional data