POST
/v1/mgmt/user/password/set/active

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

This API endpoint allows you to set an active password for an existing user. This will allow the user to authenticate with this password without changing it.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/user/password/set/active

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/active" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "loginId": "string",
  "password": "string"
}'

{
  "cleartext": "string"
}

Was this helpful?