Grants a user access to the employee.
POST https://apisg.yourpayroll.io/api/v2/business/{businessId}/employee/{employeeId}/access
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required | |
employeeId | string | Required |
The request body takes a complete CreateEmployeeAccessModel resource, containing the following writable properties:
{
"email": "string",
"name": "string",
"suppressNotificationEmails": "boolean"
}
Name | Type | Description |
---|---|---|
string | String | |
name | string | String |
suppressNotificationEmails | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox