cURL
curl --request POST \ --url https://cloud.onyx.app/api/password/reset_password \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "user_email": "<string>" }'
{ "user_id": "<string>", "new_password": "<string>" }
Reset the password for a user (admin only).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object
Was this page helpful?