POST
/v1/mgmt/user/password/set/temporary

Set a temporary password for an existing user, using a valid management key.

This API endpoint allows you to set a temporary password for an existing user. This will require the user to change their password on next authentication.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/user/password/set/temporary

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

loginIdstring

passwordstring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/user/password/set/temporary" \
  -d '{
  "loginId": "string",
  "password": "string"
}'

{
  "cleartext": "string"
}

Was this helpful?