Skip to main content
POST
/
v0
/
auth
/
logout
Logout a user
curl --request POST \
  --url https://api.sandbox.getasset.com/v0/auth/logout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "session_id": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
email
string<email>
required

The email of the user to logout

session_id
string | null

The ID of the session to logout. If no value is provided, the user will be logged out from all sessions

Response

Successful Response