Skip to main content
POST
Crear usuario

Authorizations

next-auth.session-token
string
cookie
required

Body

application/json
name
string
required
Required string length: 2 - 120
email
string<email>
required
password
string
required
Required string length: 8 - 128
role
enum<string>
required
Available options:
ADMIN,
CAMELLOS,
CLIENTES
phone
string | null
Maximum string length: 32

Response

Usuario creado

user
object
required