POST
/
api2
/
v3
/
users
Create user
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v3/users \
  --header 'Content-Type: application/json' \
  --data '{
  "userName": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "password": "<string>",
  "role": "SYS_ADMIN",
  "timezone": "<string>",
  "receiveNewsletter": true,
  "note": "<string>",
  "active": true
}'
{
  "uid": "<string>",
  "userName": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "dateCreated": "2023-11-07T05:31:56Z",
  "dateDeleted": "2023-11-07T05:31:56Z",
  "createdBy": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  },
  "role": "ADMIN",
  "assignableRoles": [
    "<string>"
  ],
  "timezone": "<string>",
  "note": "<string>",
  "receiveNewsletter": true,
  "active": true,
  "pendingEmailChange": true,
  "twoFactorAuthEnabled": true,
  "credentialsReadonly": true
}

Query Parameters

sendInvitation
boolean
default:false

Body

application/json

Response

201
application/json

Created

User with all belonging objects