Role
APIs and Models to manage your automation roles
API
Here is the list of APIs existing under the Role category.
| API | Description |
|---|---|
| CreateRoleAsync | Creates new Role with specified NewRoleInfo details from the connected Control Room. |
| DeleteRoleAsync | The API deletes an existing Role with a specified role ID from the connected Control Room. |
| GetAllRolesAsync | Gets the list of RoleInfo of all Roles from the connected Control Room. |
| GetRoleByIdAsync | Gets a role in the form of Role with specified Role Id from the connected Control Room. |
| UpdateRoleAsync | Update the existing role with specified NewRoleInfo from the connected Control Room. |
Models
Here is the list of Models used in Roles APIs.
| Models | Description |
|---|---|
| NewRoleInfo | The structure represents an instance of the New Role entity. |
| Role | The structure represents an instance of the Role entity. |
| RoleInfo | The structure represents an instance of the RoleInfo entity. |
| RolePermission | The structure represents an instance of the Role permission entity. |
| Permission | The structure represents an instance of the permission entity. |