/user/bulk
Description:
The /user/bulk
endpoint allows the creation of multiple users simultaneously by providing an array of user objects, each containing user details.
Method:
POST
Request Payload:
Parameter | Type | Description |
---|---|---|
users | array | An array of user objects with their details. |
sendEmail (Optional) | boolean | This sends an invite email to the users, by default it is true. |
redirect_url (Optional) | string | The URL to redirect after creation. |
message (Optional) | string | For passing the invite email custom message. |
See sample response for request payload in the
body
below
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Created with Errors
The response is of type object
.