Create a new user (superadmin)
Changed onRequest
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/auth/users
- AuthHTTP bearer
Request body multipart/form-data
Response
User created
Example response
{
"data": {
"id": "65f1c2a4d8b9e0123456789a",
"firstName": "Ada",
"lastName": "Lovelace",
"email": "ada@example.com",
"isActive": true,
"isVerified": true,
"role": [
"admin"
],
"teamId": "65f1c2a4d8b9e01234567890",
"createdAt": "2026-04-01T10:00:00.000Z",
"updatedAt": "2026-04-15T14:30:00.000Z"
}
}Changes
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
added the new
adminenum value to the//response property for the response status - warning
added the new
demoenum value to the//response property for the response status - warning
added the new
superadminenum value to the//response property for the response status - warning
added the new
userenum value to the//response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the response property
/became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking