Create user

Create a new user.

Method POST
URL /v1/user/{siteId}

The User model describes all properties required in a request payload to create a user.

Notes:
  • The new user must belong to at least 1 site, 1 agent group, 1 business unit, and 1 role.

  • The new user can belong to a maximum combination of 20 agent groups and 10 business units.

Request parameters

All parameters are required.

Parameter

Type

Description

body (body)

UserWithChangeReason

Body containing change reason and new-user data.

siteId (path)

integer

Site ID. Unique identifier assigned during client-account creation in Nuance Portal.

UserWithChangeReason model

Parameter

Type

Required

Description

changedRecord

user

yes

Writable properties described in the User model.

reason

string

yes

Reason for creating a new user.

Maximum length is 512 characters.

Response codes

Status

Description

201

Request succeeded. The location response header contains the location information of the new user.

400

Bad request. The server cannot process the request due to a client error.

422

The request was well-formed, but there were validation errors, so it could not be followed.

For a full list of supported response codes for UMAPI, see Response codes.

Samples

Note: Authentication is required to try out samples. For details, see API token authentication.