| title | shiftsRoleDefinition resource type |
|---|---|
| description | A definition for a single role in a schedule in the Shifts app in Teams. |
| author | galalalym |
| ms.localizationpriority | medium |
| ms.subservice | teams |
| doc_type | resourcePageType |
| ms.date | 05/23/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
A definition for a single role in a schedule in the Shifts app in Teams.
| Method | Return type | Description |
|---|---|---|
| Get | shiftsRoleDefinition | Read the properties and relationships of a shiftsRoleDefinition object. |
| Update | shiftsRoleDefinition | Create/Update the properties of a shiftsRoleDefinition object. |
| Property | Type | Description |
|---|---|---|
| description | String | The description of the role. |
| displayName | String | The display name of the role. |
| id | String | The ID of the role. |
| shiftsRolePermissions | shiftsRolePermission collection | The collection of role permissions within the role. |
None.
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.shiftsRoleDefinition",
"id": "String (identifier)",
"description": "String",
"displayName": "String",
"shiftsRolePermissions": [
{
"@odata.type": "microsoft.graph.shiftsRolePermission"
}
]
}