POST
/
client
/
user
curl --request POST \
  --url https://simpleapi.com.br/api/v1/client/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Maria Oliveira",
  "email": "maria@email.com",
  "password": "senha456",
  "roles": [
    "viewer",
    "adm"
  ],
  "metadata": {
    "field": "abcde",
    "field1": "abcde",
    "field2": "abcde"
  }
}'
{
  "id": "68194cb9de0efdd31958a456908",
  "email": "maria@email.com",
  "name": "Maria Oliveira",
  "roles": [
    "viewer",
    "adm"
  ],
  "metadata": {
    "field": "abcde",
    "field1": "abcde",
    "field2": "abcde"
  },
  "is_active": true,
  "created_at": "2025-05-05T23:41:45.619Z",
  "updated_at": "2025-05-05T23:41:45.619Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Detalhes do usuário do cliente

The body is of type object.

Response

201
application/json

Usuário do cliente criado

The response is of type object.