Skip to main content
POST
/
users
/
v1
/
bo
/
back-office
/
bootstrap
Create a bo user
curl --request POST \
  --url https://z52mnqg347.execute-api.eu-west-3.amazonaws.com/main/users/v1/bo/back-office/bootstrap \
  --header 'Authorization: Bearer <token>' \
  --header 'content-type: <content-type>' \
  --data '
{
  "secret": "s3cr3tK3y!"
}
'
{
  "data": {
    "id": 1,
    "firstName": "John",
    "lastName": "Doe",
    "email": "test@mail.com",
    "phone": "0123456789",
    "lang": "fr"
  }
}

Authorizations

Authorization
string
header
required

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

Headers

content-type
string
required

Content type, must be "application/json".

Allowed value: "application/json"

Body

application/json

Details required to create a bo user

secret
string
required

Secret key associated with the user.

Example:

"s3cr3tK3y!"

Response

201 - application/json

Bo user created successfully

data
object
required