POST
/v1/mgmt/user/logout

Log a user out of all sessions, using a valid management key.

This API endpoint allows you to log a user out of all active sessions.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/user/logout

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

loginIdstring

userIdstring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/user/logout" \
  -d '{
  "loginId": "string",
  "userId": "string"
}'
Was this helpful?