crossTenantAccessPolicyConfigurationDefault: resetToSystemDefault

Namespace: microsoft.graph

Reset any changes made to the default configuration in a cross-tenant access policy back to the system default.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Policy.ReadWrite.CrossTenantAccess
Delegated (personal Microsoft account) Not applicable
Application Policy.ReadWrite.CrossTenantAccess

HTTP request

POST /policies/crossTenantAccessPolicy/default/resetToSystemDefault

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this action returns a 204 No Content response code. To confirm that the default configuration has been restored to the system defaults, run Get crossTenantAccessPolicyConfigurationDefault and confirm that isSystemDefault is set to true.

Examples

Request

POST https://graph.microsoft.com/v1.0/policies/crossTenantAccessPolicy/default/resetToSystemDefault

Response

HTTP/1.1 204 No Content