Skip to main content
Logout User
curl --request POST \
  --url https://{tenantId}.api.nestmed.com/api/v1/auth/logout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "refreshToken": "<string>",
  "everywhere": false
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
refreshToken
string
required
everywhere
boolean
default:false

If true, invalidates all active sessions for this user.

Response

204

Successfully logged out.