Updates the user details (name / email) of a user that is associated with the business. This endpoint will only work if the user is already associated with the business and is not associated with any other business
PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/access
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
Parameter name | Value | Description | Additional |
---|---|---|---|
string | Required |
The request body takes a complete AccessModel resource, containing the following writable properties:
{
"email": "string",
"name": "string"
}
Name | Type | Description |
---|---|---|
string | String | |
name | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox