DELETE
/
v1
/
auth
/
logout
curl --location --request DELETE 'https://api.lawg.dev/v1/auth/logout' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
204 No Content
You must be authenticated to access this route
You can not use an API token to access this route

This destroys the session and device information of the incoming session token.

curl --location --request DELETE 'https://api.lawg.dev/v1/auth/logout' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
204 No Content