Creates a new user.

Request

POST https://api.yourpayroll.co.uk/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 Description
apiOnly boolean Boolean
displayName string

Required

timeZone string String
username string

Required

Response

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

Status code Description Resource
200 OK

OK

NewUserCreatedModel