Delete trustFrameworkPolicy
Namespace: microsoft.graph
Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.
Delete an existing trustFrameworkPolicy.
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.TrustFramework |
| Delegated (personal Microsoft account) | Not supported. |
| Application | Policy.ReadWrite.TrustFramework |
The work or school account must be a global administrator of the tenant.
HTTP request
DELETE /trustFramework/policies/{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.
Example
The following example deletes a trustFrameworkPolicy.
Request
DELETE https://graph.microsoft.com/beta/trustFramework/policies/B2C_1A_SocialAndLocalAccounts_Base
Response
HTTP/1.1 204 No Content
Saran dan Komentar
Kirim dan lihat umpan balik untuk