Skip to content

Latest commit

 

History

History
86 lines (63 loc) · 2.36 KB

File metadata and controls

86 lines (63 loc) · 2.36 KB
title Remove agentIdentity sponsors
description Remove a sponsor from an agentIdentity object.
author zallison22
ms.date 02/26/2026
ms.localizationpriority medium
ms.subservice entra-agent-id
doc_type apiPageType

Remove agentIdentity sponsors

Namespace: microsoft.graph

Remove a sponsor from a agentIdentity object. Agent identities require at least one sponsor to manage the agent identity.

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-agentid-apis-write]

HTTP request

DELETE /servicePrincipals/{id}/microsoft.graph.agentIdentity/sponsors/{sponsorObjectId}/$ref

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/v1.0/servicePrincipals/{id}/microsoft.graph.agentIdentity/sponsors/{sponsorObjectId}/$ref

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


Response

The following example shows the response.

HTTP/1.1 204 No Content