Creates a new user.

Request

POST https://api.yourpayroll.com.au/api/v2/user

Request body

The request body takes a complete NewUserModel resource, containing the following writable properties:

{
    "apiOnly": "boolean",
    "displayName": "string",
    "timeZone": "string",
    "username": "string"
}

Properties

Name Type
apiOnly boolean
displayName string
timeZone string
username string

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK