cURL
curl --request POST \ --url http:localhost:3000/v2/users/{id}/generatePassword \ --header 'x-API-Key: <api-key>'
{ "newPassword": "<string>" }
Generates a new password for the specified user and sends it via SMS
User ID
Password generated successfully
The response is of type object.
object
Was this page helpful?