Updates a user's access to this business.

Request

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

Path parameters

Parameter name Value Description Additional
businessId 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
email string
name string

Response

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

Status code Description Resource
200 OK

OK