Skip to main content
POST
/
sessions
/
logout
Log out a user session
curl --request POST \
  --url https://auth.platform.arb.inc/sessions/logout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
'
"Successfully logged out the session"

Authorizations

Authorization
string
header
required

access token

Body

application/json
refreshToken
string
required

The refresh token to invalidate.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Response

200 - text/plain

Successfully logged out the session.

The response is of type string.

Example:

"Successfully logged out the session"