Skip to content

Latest commit

 

History

History
72 lines (57 loc) · 2.33 KB

File metadata and controls

72 lines (57 loc) · 2.33 KB
author spgraph-docs-team
description Provides more information about a site collection.
title siteCollection resource type
ms.localizationpriority medium
ms.subservice sharepoint
doc_type resourcePageType
ms.date 06/11/2024

siteCollection resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Provides more information about a site collection.

If a site resource has a non-null siteCollection property, the site is a root site for a site collection.

Properties

Property Type Description
archivalDetails siteArchivalDetails Represents whether the site collection is recently archived, fully archived, or reactivating. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. To update this property, use the site: archive or site: unarchive APIs.
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 root If present, indicates that this is a root site collection in SharePoint. Read-only.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "hostname": "contoso.sharepoint.com",
  "dataLocationCode": "EUR",
  "root": { "@odata.type": "microsoft.graph.root" },
  "archivalDetails": {
    "@odata.type": "microsoft.graph.siteArchivalDetails",
    "archiveStatus": "fullyArchived"
  }
}