Herald
OpenapiUsers

Reset user password (generate 16-character random password)

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

Path Parameters

userId*string

User ID

Formatuuid

Response Body

Password reset successfully

application/json
  1. response
newPassword*string
Example Request
curl -X POST 'https://example.com/api/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/reset-password'
Example Response
{
  "newPassword": "string"
}