Herald
OpenapiUsers

Reset user password (generate 16-character random password)

POST
/api/users/{realmId}/{userId}/reset-password

Path Parameters

realmId*string

Realm ID

userId*string

User ID

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/users/string/497f6eca-6276-4993-bfeb-53cbbbba6f08/reset-password"
{  "newPassword": "string"}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}