Skip to main content
PUT
/
auth
/
logout
Logout
curl --request PUT \
  --url https://api.dfns.io/auth/logout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "allSessions": true
}'
{
  "message": "<string>"
}

Authentication

✅ Organization User (CustomerEmployee)
✅ Delegated User (EndUser)
❌ Personal Access Token not allowed
❌ Service Account

Required Permissions

No permission required.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

Body

application/json
allSessions
boolean

Response

200 - application/json

Success

message
string
required
I