Skip to main content
POST
/
user
/
create
Create
curl --request POST \
  --url http://{host}:{port}/{contextPath}/user/create \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "profile": {
    "id": "jonny1",
    "firstName": "John",
    "lastName": "Doe",
    "email": "anEmailAddress"
  },
  "credentials": {
    "password": "s3cret"
  }
}'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
profile
object
credentials
object

Response

204

Request successful.