Skip to main content
POST
Generate new password for user

Authorizations

x-API-Key
string
header
required

Path Parameters

id
string<objectid>
required

User ID

Body

application/json
channel
enum<string>
default:sms

How the credentials are sent

Available options:
sms,
email

Response

Password generated successfully

newPassword
string

The generated password