Delete authenticationContextClassReference

Namespace: microsoft.graph

Delete an authenticationContextClassReference object that's not published or used by a conditional access policy.

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.Read.ConditionalAccess
Delegated (personal Microsoft account) Not supported.
Application Policy.Read.ConditionalAccess

HTTP request

DELETE /identity/conditionalAccess/authenticationContextClassReferences/{id}

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. It does not return anything in the response body. This method will return a 403 Forbidden error code when deleting a published authenticationContextClassReference (where isAvailable is set to true). If authenticationContextClassReference, though unpublished, is used by any Conditional Access policy, this method will return a 400 Bad Request error code.

Examples

Request

The following is an example of the request.

DELETE /identity/conditionalAccess/authenticationContextClassReferences/c1

Response

The following is an example of the response.

HTTP/1.1 204 No Content