Reset crew user password

Generates a new random password for a crew's user account and optionally sends it via email and/or SMS. This endpoint is useful when crew users forget their password or need their credentials reset. The crew must belong to the authenticated user's company. The generated password is returned in the response and can also be delivered through the specified channels.

Path Params
integer
required

Unique identifier of the crew to reset password for

Body Params

Optional delivery preferences for the new password. Specify whether to send the password via email and/or SMS. If neither is selected, the password is only returned in the API response.

boolean
Defaults to false

If true, sends the new password to the crew's email address

boolean
Defaults to false

If true, sends the new password to the crew's phone number via SMS

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json