Delete internalDomainFederation

Namespace: microsoft.graph

Delete an internalDomainFederation object.

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) Domain.ReadWrite.All
Delegated (personal Microsoft account) Not supported
Application Domain.ReadWrite.All

The calling user must be assigned one of the following Azure AD roles:

  • Security Administrator
  • External Identity Provider Administrator

HTTP request

DELETE /domains/{domainsId}/federationConfiguration/{internalDomainFederationId}

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 204 No Content response code.

Examples

Request

DELETE https://graph.microsoft.com/v1.0/domains/contoso.com/federationConfiguration/96db02e2-80c1-5555-bc3a-de92ffb8c5be

Response

HTTP/1.1 204 No Content