Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important
APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Delete an inheritablePermission object from an agent identity blueprint. When a permission is deleted, agent identities created from the blueprint will no longer automatically inherit the delegated permission scopes defined in the deleted inheritablePermission object. If the agent identiy requires those scopes, they must request consent again.
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.
| Permission type | Least privileged permission | Higher privileged permissions |
|---|---|---|
| Delegated (work or school account) | AgentIdentityBlueprint.ReadWrite.All | Not available |
| Delegated (personal Microsoft account) | Not supported. | Not supported. |
| Application | AgentIdentityBlueprint.ReadWrite.All | Not available |
Important
Known issue: If the client is granted either the Directory.AccessAsUser.All or Directory.ReadWrite.All permission, the client's permissions to create, update, and delete Agent IDs are ignored, which can cause requests to fail with
403 Unauthorizederror. To resolve this issue, remove theDirectory.AccessAsUser.AllorDirectory.ReadWrite.Allpermission from the client, request new access tokens, and retry the request.When using delegated permissions, the authenticated user must be assigned one of the following supported Microsoft Entra roles:
- Agent ID Administrator.
- Agent ID Developer - Create agent identity blueprints. The principal with this role is assigned ownership of the blueprint they create and can perform write operations on that blueprint.
HTTP request
DELETE /applications/{id}/microsoft.graph.agentIdentityBlueprint/inheritablePermissions/{resource_appId}
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/bc057821-f236-49d6-9f2c-1ebf43e9437a/microsoft.graph.agentIdentityBlueprint/inheritablePermissions/00000002-0000-0000-c000-000000000000
Response
The following example shows the response.
HTTP/1.1 204 No Content