Skip to content

AddUser

Request

Add user by specifying relevant fields. User must have a valid token with required permissions.

Security
AuthorizationHeader
Bodyapplication/jsonrequired
namestringrequired
emailstringrequired
rolestringrequired
passwordstring or null
localestring or null
curl -i -X POST \
  https://apidoc.authmind.com/_mock/v1/docs/v1/user \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "email": "string",
    "role": "string",
    "password": "string",
    "locale": "string"
  }'

Responses

OK

Bodyapplication/json
errorsstring
successboolean
Response
{ "errors": "string", "success": true }