POST
/v1/mgmt/user/password/expire

Expire an existing user's password, using a valid management key.

This API endpoint allows you to expire an existing user's password. Upon next login, the user will need to follow the reset password flow.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/user/password/expire

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

loginIdstring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/user/password/expire" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "loginId": "string"
}'
Was this helpful?