POST
/
users
/
{id}
/
generatePassword
Generate new password for user
curl --request POST \
  --url http:localhost:3000/v2/users/{id}/generatePassword \
  --header 'x-API-Key: <api-key>'
{
  "newPassword": "<string>"
}

Authorizations

x-API-Key
string
header
required

Path Parameters

id
string<objectid>
required

User ID

Response

200
application/json

Password generated successfully

The response is of type object.