Microsoft Graph · Schema

microsoft.graph.directoryRole

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdirectoryrole-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.directoryRole",
  "title": "microsoft.graph.directoryRole",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.directoryObject"
    },
    {
      "title": "directoryRole",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "The description for the directory role. Read-only. Supports $filter (eq), $search, $select.",
          "nullable": true
        },
        "displayName": {
          "type": "string",
          "description": "The display name for the directory role. Read-only. Supports $filter (eq), $search, $select.",
          "nullable": true
        },
        "roleTemplateId": {
          "type": "string",
          "description": "The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select.",
          "nullable": true
        },
        "members": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.directoryObject"
          },
          "description": "Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.",
          "x-ms-navigationProperty": true
        },
        "scopedMembers": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.scopedRoleMembership"
          },
          "description": "Members of this directory role that are scoped to administrative units. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.directoryRole"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.directoryRole"
}