Remove appliesTo

Namespace: microsoft.graph

Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout.

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

HTTP request

DELETE /policies/featureRolloutPolicies/{policyId}/appliesTo/{directoryObjectId}/$ref

Request headers

Name Description
Authorization Bearer {token}. Required

Request body

In the request body, supply a JSON representation of a directoryObject object.

Response

If successful, this method returns a 204 No Content response code. It does not return anything in the response body.

Examples

Request

The following is an example of the request.

DELETE https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies/df85e4d9-e8c4-4033-a41c-73419a95c29c/appliesTo/2441b489-4f12-4882-b039-8f6006bd66da/$ref

Response

The following is an example of the response.

HTTP/1.1 204 No Content