createUser
POST /auth/admin/create-user
POST
/auth/admin/create-user
Create a new user
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
email
required
The email of the user
string
password
required
The password of the user
string
name
required
The name of the user
string
role
required
The role of the user
string
data
string
Responses
Section titled “ Responses ”User created
object
user
object
name
string
email
string
emailVerified
boolean
image
string
createdAt
date
updatedAt
date
role
string
banned
boolean
banReason
string
banExpires
date
username
string
isAnonymous
boolean
Bad Request. Usually due to missing parameters, or invalid parameters.
object
message
required
string
Unauthorized. Due to missing or invalid authentication.
object
message
required
string
Forbidden. You do not have permission to access this resource or to perform this action.
object
message
string
Not Found. The requested resource was not found.
object
message
string
Too Many Requests. You have exceeded the rate limit. Try again later.
object
message
string
Internal Server Error. This is a problem with the server that you cannot fix.
object
message
string