Microsoft Graph · Schema

siteCollection

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
archivalDetails object Represents whether the site collection is recently archived, fully archived, or reactivating. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue.
dataLocationCode string The geographic region code for where this site collection resides. Only present for multi-geo tenants. Read-only.
hostname string The hostname for the site collection. Read-only.
root object If present, indicates that this is a root site collection in SharePoint. Read-only.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphsitecollection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.siteCollection",
  "title": "siteCollection",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "archivalDetails": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.siteArchivalDetails"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Represents whether the site collection is recently archived, fully archived, or reactivating. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue."
    },
    "dataLocationCode": {
      "type": "string",
      "description": "The geographic region code for where this site collection resides. Only present for multi-geo tenants. Read-only.",
      "nullable": true
    },
    "hostname": {
      "type": "string",
      "description": "The hostname for the site collection. Read-only.",
      "nullable": true
    },
    "root": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.root"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "If present, indicates that this is a root site collection in SharePoint. Read-only."
    },
    "@odata.type": {
      "type": "string"
    }
  }
}