cURL
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 } '
Invalidate the user’s current access and refresh tokens.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
If true, invalidates all active sessions for this user.
Successfully logged out.