Updates the employee access record for the specified user.

Request

PUT https://api.yourpayroll.com.au/api/v2/business/{businessId}/employee/{employeeId}/access

Path parameters

Parameter name Value Description Additional
businessId string Required
employeeId string Required

Query parameters

Parameter name Value Description Additional
email string Required

Request body

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

{
    "email": "string",
    "name": "string"
}

Properties

Name Type Description
email string String
name string String

Response

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

Status code Description Resource
200 OK

OK