v1

latestOpenAPI 3.1.02026-07-24590534.0 KB

Create a Sub-account

Create a sub account tethered to the authenticated user

post/users

Request body

emailstring

The email of your sub user, the user email must be unique and it can't be changed.

first_namestring

The first name of your sub user, this field can be edited.

last_namestring

The last name of your sub user, this field can be edited.

Response

200

statusstring
messagestring

Example response

{
  "status": "success",
  "message": "Successful",
  "data": {
    "id": "fxxwu3kc",
    "sn": "QDXR3E7XPRQ",
    "email": "teste@gmail.com",
    "first_name": "test",
    "last_name": "user",
    "created_at": "2021-11-15T19:33:03.725+01:00",
    "updated_at": "2021-11-15T19:33:05.753+01:00"
  }
}