post https://api.zenoti.com/v1/employees//security_roles
The purpose of this API is to add a security role for an employee through the Roles tab of the Manage Employees page.
Request Object
security_role Object
Name | Type | Description |
---|---|---|
id | guid | Security role id of the employee |
name | string | Security profile name of the employee |
view Object
Name | Type | Description |
---|---|---|
id | guid | Id of the center, organization, or zone with which the employee is associated. |
name | string | Name of the center, organization, or the zone with which the employee is associated. |
type | enum | Center - 2, Zone - 1, Organization - 0 |