siteCollection resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
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. 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"
}
}