Skip to content

Latest commit

 

History

History
107 lines (83 loc) · 3.68 KB

File metadata and controls

107 lines (83 loc) · 3.68 KB
title Delete corsConfiguration_v2
description Delete a corsConfiguration_v2 object.
author dhruvinrshah
ms.localizationpriority medium
ms.subservice entra-applications
doc_type apiPageType
ms.date 12/19/2024

Delete corsConfiguration_v2

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Delete a corsConfiguration_v2 object.

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE rbac-app-proxy-write]

HTTP request

DELETE /applications/{applicationObjectId}/onPremisesPublishing/segmentsConfiguration/microsoft.graph.webSegmentConfiguration/applicationSegments/{webApplicationSegment-id}/corsConfigurations/{corsConfiguration_v2-Id}

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

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

Examples

Request

The following example shows a request.

DELETE https://graph.microsoft.com/beta/applications/129d6e80-484f-4d1f-bfca-a6a859d138ac/onPremisesPublishing/segmentsConfiguration/microsoft.graph.webSegmentConfiguration/applicationSegments/209efffb-0777-42b0-a65c-4e3ddb1ab3c0/corsConfigurations/044b32a9-d3a2-4218-9db1-de651d009d2b

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

HTTP/1.1 204 No Content