Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
v1.0 | Accesspackage Delete Incompatibleaccesspackage | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-delete-incompatibleaccesspackage.md | DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Accesspackage Delete Incompatiblegroup | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-delete-incompatiblegroup.md | DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Application Delete Owners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-delete-owners.md | DELETE https://graph.microsoft.com/beta/applications/{id}/owners/{id}/$ref [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Application Delete Tokenissuancepolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-delete-tokenissuancepolicies.md | DELETE https://graph.microsoft.com/beta/applications/{id}/tokenIssuancePolicies/ [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Application Delete Tokenlifetimepolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-delete-tokenlifetimepolicies.md | DELETE https://graph.microsoft.com/beta/applications/{id}/tokenLifetimePolicies/ [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | B2cidentityuserflow Delete Identityproviders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-delete-identityproviders.md | DELETE https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_CustomerSign [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Chat Delete Pinnedmessages | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-delete-pinnedmessages.md | If successful, this method returns a `204 No Content` response code. ### Request The following is an example of a request.++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "delete_pinnedchatmessageinfo" The following is an example of a request. ``` http DELETE https://graph.microsoft.com/beta/chats/19:cf66807577b149cca1b7af0c32eec122@thread.v2/pinnedMessages/1616964509832 ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response The following is an example of the response. |
v1.0 | Chat List Pinnedmessages | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list-pinnedmessages.md | The following example shows a request that lists all the pinned messages in a ch ### Request The following is an example of a request.++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_pinnedchatmessageinfo" The following is an example of a request. ``` http GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@thread.v2/pinnedMessages ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response The following is an example of the response. The following example shows a request that lists all the pinned messages in a ch ### Request The following is an example of a request.++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_pinnedchatmessageinfo" The following is an example of a request. ``` http GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@thread.v2/pinnedMessages?$expand=message ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response The following is an example of the response. |
v1.0 | Chat Post Pinnedmessages | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-post-pinnedmessages.md | If successful, this method returns a `201 Created` response code and a [pinnedCh ### Request The following is an example of a request.++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "create_pinnedchatmessageinfo_from_" Content-length: 63 "message@odata.bind":"https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@thread.v2/messages/1616964509832" } ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response |
v1.0 | Connectedorganization Delete Externalsponsors | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-delete-externalsponsors.md | DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Crosstenantaccesspolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicy-get.md | If successful, this method returns a `200 OK` response code and a [crossTenantAc ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_crosstenantaccesspolicy" If successful, this method returns a `200 OK` response code and a [crossTenantAc ``` http GET https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) +++ ### Response |
v1.0 | Crosstenantaccesspolicy Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicy-update.md | The [crossTenantAccessPolicy](../resources/crosstenantaccesspolicy.md) object si ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "update_crosstenantaccesspolicy" Content-Type: application/json "allowedCloudEndpoints": ["microsoftonline.us", "partner.microsoftonline.cn"] } ```+# [JavaScript](#tab/javascript) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) +++ ### Response |
v1.0 | Device Delete Registeredowners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-delete-registeredowners.md | DELETE https://graph.microsoft.com/beta/devices/{id}/registeredOwners/{id}/$ref [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Deviceregistrationpolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/deviceregistrationpolicy-get.md | If successful, this method returns a `200 OK` response code and a [deviceRegistr ## Examples ### Request++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_deviceregistrationpolicy" If successful, this method returns a `200 OK` response code and a [deviceRegistr ``` http GET https://graph.microsoft.com/beta/policies/deviceRegistrationPolicy ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response |
v1.0 | Deviceregistrationpolicy Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/deviceregistrationpolicy-update.md | If successful, this method returns a `200 OK` response code and an updated [devi ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "update_deviceregistrationpolicy" Content-Type: application/json } } ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response |
v1.0 | Directoryrole Delete Member | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryrole-delete-member.md | DELETE https://graph.microsoft.com/beta/directoryRoles/f8e85ed8-f66f-4058-b170-3 [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Driveitem Delta | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/driveitem-delta.md | GET /me/drive/root/delta?token=latest [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) ++# [PowerShell](#tab/powershell) + |
v1.0 | Educationassignment Delete Rubric | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-delete-rubric.md | DELETE https://graph.microsoft.com/beta/education/classes/{id}/assignments/{id}/ [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Educationassignment Post Resources | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-post-resources.md | Content-type: application/json #### Request The following is an example of the request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","1618dfb0-3ff2-4edf-8d5c-b8f81df00e80"], Content-type: application/json } } ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) +++ #### Response The following is an example of the response. |
v1.0 | Educationassignment Put Rubric | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-put-rubric.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Featurerolloutpolicy Delete Appliesto | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/featurerolloutpolicy-delete-appliesto.md | DELETE https://graph.microsoft.com/beta/policies/featureRolloutPolicies/df85e4d9 [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Group Delete Members | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-delete-members.md | DELETE https://graph.microsoft.com/beta/groups/{group-id}/members/{directory-obj [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + In the request, specify the identifier of the group and the identifier of the directory object you want to remove. |
v1.0 | Group Delete Owners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-delete-owners.md | DELETE https://graph.microsoft.com/beta/groups/{id}/owners/{id}/$ref [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + In the request, specify the `id` of the directory object you want to remove after the $ref segment. |
v1.0 | Group Post Acceptedsenders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-post-acceptedsenders.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell)- [!INCLUDE [sample-code](../includes/snippets/powershell/create-acceptedsender-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Group Post Members | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-post-members.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell)- [!INCLUDE [sample-code](../includes/snippets/powershell/add-group-member-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Group Post Owners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-post-owners.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell)- [!INCLUDE [sample-code](../includes/snippets/powershell/create-owner-from-group-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Group Post Rejectedsenders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-post-rejectedsenders.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell)- [!INCLUDE [sample-code](../includes/snippets/powershell/create-rejectedsender-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Listitem Delta | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/listitem-delta.md | The following is an example of the initial request that shows how to call this A The following is an example of the initial request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_listItem_delta_first" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/beta/sites/contoso.sharepoint.com,2C712604-1370-44E7-A1F5-426573FDA80A,2D2244C3-251A-49EA-93A8-39E1C3A060FE/lists/22e03ef3-6ef4-424d-a1d3-92a337807c30/items/delta ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) +++ #### Response The following is an example of a request that shows the last page in a set and h The following is an example of a request after the initial request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-listItem-delta-last" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/beta/sites/contoso.sharepoint.com,2C712604-1370-44E7-A1F5-426573FDA80A,2D2244C3-251A-49EA-93A8-39E1C3A060FE/lists/22e03ef3-6ef4-424d-a1d3-92a337807c30/items/delta?token=1230919asd190410jlka ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) +++ #### Response To retrieve the latest `deltaLink`, call `delta` with the query string parameter The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-delta-latest", "scope": "sites.read", "target": "action" } --> -```http +```msgraph-interactive GET /sites/contoso.sharepoint.com,2C712604-1370-44E7-A1F5-426573FDA80A,2D2244C3-251A-49EA-93A8-39E1C3A060FE/lists/22e03ef3-6ef4-424d-a1d3-92a337807c30/items/delta?token=latest ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) +++ #### Response |
v1.0 | Manageddevice Bulksetcloudpcreviewstatus | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/manageddevice-bulksetcloudpcreviewstatus.md | If successful, this action returns a `200 OK` response code and a [cloudPcBulkRe The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "manageddevicethis.bulksetcloudpcreviewstatus" Content-Type: application/json } } ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response |
v1.0 | Manageddevice Getcloudpcreviewstatus | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/manageddevice-getcloudpcreviewstatus.md | If successful, this function returns a `200 OK` response code and a [cloudPcRevi The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "manageddevicethis.getcloudpcreviewstatus" The following is an example of a request. ``` http GET https://graph.microsoft.com/beta/deviceManagement/managedDevices/185f01c2de954929afb129392e5d9f47/getCloudPcReviewStatus ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response |
v1.0 | Manageddevice Setcloudpcreviewstatus | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/manageddevice-setcloudpcreviewstatus.md | If successful, this action returns a `204 No Content` response code. The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "manageddevicethis.setcloudpcreviewstatus" Content-Type: application/json } } ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) +++ ### Response |
v1.0 | Managedtenants Tenanttag Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/managedtenants-tenanttag-delete.md | Title: "Delete tenantTag" -description: "Deletes a tenantTag object." +description: "Delete a tenantTag object." ms.localizationpriority: medium ms.prod: "microsoft-365-lighthouse" Namespace: microsoft.graph.managedTenants [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] -Deletes a [tenantTag](../resources/managedtenants-tenanttag.md) object. +Delete a [tenantTag](../resources/managedtenants-tenanttag.md) object. ## Permissions One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). If successful, this method returns a `204 No Content` response code. ### Request +The following is an example of a request. + # [HTTP](#tab/http) <!-- { "blockType": "request", DELETE https://graph.microsoft.com/beta/tenantRelationships/managedTenants/tenan ### Response->**Note:** The response object shown here might be shortened for readability. +The following is an example of the response. <!-- { "blockType": "response", "truncated": true |
v1.0 | Onpremisesagent Delete Agentgroups | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/onpremisesagent-delete-agentgroups.md | DELETE https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisionin [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Printershare Delete Allowedgroup | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/printershare-delete-allowedgroup.md | DELETE https://graph.microsoft.com/beta/print/shares/{id}/allowedGroups/{id}/$re [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + ##### Response |
v1.0 | Printershare Delete Alloweduser | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/printershare-delete-alloweduser.md | DELETE https://graph.microsoft.com/beta/print/printerShares/{id}/allowedUsers/{i [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Publishedresource Delete Agentgroups | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/publishedresource-delete-agentgroups.md | DELETE https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisionin [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Publishedresource Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/publishedresource-delete.md | DELETE https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisionin [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Serviceprincipal Delete Claimsmappingpolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/serviceprincipal-delete-claimsmappingpolicies.md | DELETE https://graph.microsoft.com/beta/servicePrincipals/{id}/claimsMappingPoli [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Serviceprincipal Delete Homerealmdiscoverypolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/serviceprincipal-delete-homerealmdiscoverypolicies.md | DELETE https://graph.microsoft.com/beta/servicePrincipals/19c308f2-e088-464d-8cc [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Subjectrightsrequest Post | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/subjectrightsrequest-post.md | Content-Type: application/json [!INCLUDE [sample-code](../includes/snippets/go/create-subjectrightsrequest-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Java](#tab/java) + |
v1.0 | Subscription Post Subscriptions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/subscription-post-subscriptions.md | Some resources support the option to include encrypted resource data in change n Creating a subscription requires read permission to the resource. For example, to get change notifications on messages, your app needs the Mail.Read permission. -Depending on the resource and the permission type (delegated or application) requested, the permission specified in the following table is the least privileged required to call this API. To learn more, including [taking caution](/graph/auth/auth-concepts#best-practices-for-requesting-permissions) before choosing more privileged permissions, search for the following permissions in [Permissions](/graph/permissions-reference). +Depending on the resource and the permission type (delegated or application) requested, the permission specified in the following table is the least privileged required to call this API. To learn more, including [taking caution](/graph/auth/auth-concepts#best-practices-for-requesting-permissions) before choosing the permissions, search for the following permissions in [Permissions](/graph/permissions-reference). | Supported resource | Delegated (work or school account) | Delegated (personal Microsoft account) | Application | |:--|:--|:--|:--| Depending on the resource and the permission type (delegated or application) req |[baseTask](../resources/basetask.md) | Tasks.ReadWrite | Tasks.ReadWrite | Not supported | |[user](../resources/user.md) | User.Read.All | User.Read.All | User.Read.All | +We recommend that you use the permissions as documented in the previous table. Due to security restrictions, Microsoft Graph subscriptions will not support write access permissions when only read access permissions are needed. + > **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). [!INCLUDE [teams-subscription-notes](../../includes/teams-subscription-notes.md)] |
v1.0 | Teamwork Sendactivitynotificationtorecipients | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teamwork-sendactivitynotificationtorecipients.md | + + Title: "teamwork: sendActivityNotificationToRecipients" +description: Send activity feed notifications to multiple users in bulk. ++ms.localizationpriority: medium ++++# teamwork: sendActivityNotificationToRecipients ++Namespace: microsoft.graph +++Send activity feed notifications to multiple users, in bulk. ++For more details about sending notifications and the requirements for doing so, see +[sending Teams activity notifications](/graph/teams-send-activityfeednotifications). ++## Permissions ++One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). ++| Permission type | Permissions (from least to most privileged) | +| :- | : | +| Delegated (work or school account) | TeamsActivity.Send | +| Delegated (personal Microsoft account) | Not Supported. | +| Application | TeamsActivity.Send | ++## HTTP request ++<!-- { + "blockType": "ignored" +} +--> ++``` http +POST /teamwork/sendActivityNotificationToRecipients +``` ++## Request headers ++| Name | Description | +| : | :-- | +| Authorization | Bearer {token}. Required. | +| Content-Type | application/json. Required. | ++## Request body ++In the request body, supply JSON representation of the parameters. ++The following table shows the parameters that can be used with this action. ++| Parameter | Type | Description | +| :-- | :-- | :-- | +| topic | [teamworkActivityTopic](../resources/teamworkactivitytopic.md) | Topic of the notification. Specifies the resource being talked about. | +| activityType | String | Activity type. This must be declared in the [Teams app manifest](/microsoftteams/platform/overview). | +| chainId | Int64 | Optional. Used to override a previous notification. Use the same `chainId` in subsequent requests to override the previous notification. | +| previewText | [itemBody](../resources/itembody.md) | Preview text for the notification. Microsoft Teams will only show first 150 characters. | +| templateParameters | [keyValuePair](../resources/keyvaluepair.md) collection | Values for template variables defined in the activity feed entry corresponding to `activityType` in [Teams app manifest](/microsoftteams/platform/overview). | +| teamsAppId | String | Optional. Teams app ID of the Teams app associated with the notification. Used to disambiguate installed apps when multiple apps with the same Azure AD app ID are installed for the same recipient user. | +| recipients | [teamworkNotificationRecipient](../resources/teamworknotificationrecipient.md) collection | Recipients of the notification. Only recipients of type [aadUserNotificationRecipient](../resources/aadusernotificationrecipient.md) are supported. There is an upper limit of 100 recipients in a single request. | ++The following resource is supported when setting the `source` value of the **topic** property to `entityUrl`: ++- [teamsCatalogApp](../resources/teamscatalogapp.md) ++## Response ++If successful, this action returns a `202 Accepted` response code. ++## Examples ++### Example 1: Notify multiple users about pending finance approval requests ++The following example shows how to send an activity feed notification to multiple users in bulk. This example notifies multiple stakeholders about pending finance approval requests. ++#### Request +++<!-- { + "blockType": "request", + "name": "teamwork_sendactivitynotificationtorecipients_1" +} +--> ++``` http +POST https://graph.microsoft.com/beta/teamwork/sendActivityNotificationToRecipients +Content-Type: application/json ++{ + "topic": { + "source": "entityUrl", + "value": "https://graph.microsoft.com/beta/appCatalogs/teamsApps/{teamsAppId}" + }, + "activityType": "pendingFinanceApprovalRequests", + "previewText": { + "content": "Internal spending team has a pending finance approval requests" + }, + "recipients": [ + { + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", + "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" + }, + { + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", + "userId": "ab88234e-0874-477c-9638-d144296ed04f" + }, + { + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", + "userId": "01c64f53-69aa-42c7-9b7f-9f75195d6bfc" + } + ], + "templateParameters": [ + { + "name": "pendingRequestCount", + "value": "5" + } + ] +} +``` ++#### Response ++<!-- { + "blockType": "response", + "truncated": false +} +--> ++``` http +HTTP/1.1 202 Accepted +``` ++### Example 2: Notify multiple users about an event using a custom topic ++If you want to link an aspect that is not represented by Microsoft Graph, or you want to customize the name, you can set the source of the `topic` to `text` and pass in a custom value for it. `webUrl` is required when using `topic` source as `text`. ++#### Request ++<!-- { + "blockType": "request", + "name": "teamwork_sendactivitynotificationtorecipients_2" +} +--> ++``` http +POST https://graph.microsoft.com/beta/teamwork/sendActivityNotificationToRecipients +Content-Type: application/json ++{ + "topic": { + "source": "text", + "value": "Deployment Approvals Channel", + "webUrl": "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" + }, + "activityType": "deploymentApprovalRequired", + "previewText": { + "content": "New deployment requires your approval" + }, + "templateParameters": [ + { + "name": "deploymentId", + "value": "6788662" + } + ], + "recipients": [ + { + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", + "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" + }, + { + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", + "userId": "ab88234e-0874-477c-9638-d144296ed04f" + }, + { + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", + "userId": "01c64f53-69aa-42c7-9b7f-9f75195d6bfc" + } + ] +} +``` +++++#### Response ++<!-- { + "blockType": "response", + "truncated": false +} +--> +++``` http +HTTP/1.1 202 Accepted +``` |
v1.0 | User Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/user-update.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/powershell/update-schemaextension-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Java](#tab/java) + |
v1.0 | Connectedorganization | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/connectedorganization.md | In [Azure AD entitlement management](entitlementmanagement-overview.md), a conne |modifiedBy|String|UPN of the user who last modified this resource. Read-only.| |modifiedDateTime|DateTimeOffset|The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Read-only.| |state|connectedOrganizationState|The state of a connected organization defines whether assignment policies with requestor scope type `AllConfiguredConnectedOrganizationSubjects` are applicable or not. Possible values are: `configured`, `proposed`.|-|identitySources|[identitySource](identitySource.md) collection| The identity sources in this connected organization, one of [azureActiveDirectoryTenant](azureactivedirectorytenant.md), [domainIdentitySource](domainidentitysource.md) or [externalDomainFederation](externaldomainfederation.md). Read-only. Nullable. Supports `$select` and `$filter`(`eq`). To filter by the derived types, you must declare the resource using its full OData cast, for example, `$filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f')`.| +|identitySources|[identitySource](identitySource.md) collection| The identity sources in this connected organization, one of [azureActiveDirectoryTenant](azureactivedirectorytenant.md), [crossCloudAzureActiveDirectoryTenant](crosscloudazureactivedirectorytenant.md), [domainIdentitySource](domainidentitysource.md) or [externalDomainFederation](externaldomainfederation.md). Read-only. Nullable. Supports `$select` and `$filter`(`eq`). To filter by the derived types, you must declare the resource using its full OData cast, for example, `$filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f')`.| ## Relationships |
v1.0 | Crosscloudazureactivedirectorytenant | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/crosscloudazureactivedirectorytenant.md | + + Title: "crossCloudAzureActiveDirectoryTenant resource type" +description: "The crossCloudAzureActiveDirectoryTenant type identifies another Azure Active Directory tenant in a different cloud as an identity source for a connected organization." +ms.localizationpriority: medium ++++# crossCloudAzureActiveDirectoryTenant resource type ++Namespace: microsoft.graph +++Used in the identity sources of a [connectedOrganization](connectedOrganization.md) object. The `@odata.type` value `#microsoft.graph.crossCloudAzureActiveDirectoryTenant` indicates that this type identifies another Azure AD tenant in a different cloud as an identity source for a connected organization. +++## Properties ++| Property | Type | Description | +| : | : | :- | +| cloudInstance | String | The ID of the cloud where the tenant is located, one of `microsoftonline.com`, `microsoftonline.us` or `partner.microsoftonline.cn`. Read only. | +| displayName |String | The name of the Azure Active Directory tenant. Read only. | +| tenantId |String | The ID of the Azure Active Directory tenant. Read only. | ++## Relationships ++None. ++## JSON representation ++The following is a JSON representation of the type. ++<!-- { + "blockType": "resource", + "optionalProperties": [ ++ ], + "@odata.type": "microsoft.graph.crossCloudAzureActiveDirectoryTenant", + "baseType": "microsoft.graph.identitySource" +}--> ++```json +{ + "tenantId": "String (identifier)", + "displayName": "String", + "cloudInstance": "String" +} +``` ++<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98 +2019-02-04 14:57:30 UTC --> +<!-- { + "type": "#page.annotation", + "description": "crossCloudAzureActiveDirectoryTenant resource type", + "keywords": "", + "section": "documentation", + "tocPath": "" +}--> ++ |
v1.0 | Entitlementmanagement Overview | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/entitlementmanagement-overview.md | The following table lists the methods that you can use to interact with entitlem - [approvalStep](approvalstep.md) - Used in [approval](approval.md) to distinguish the different approval steps. - [userSet](userset.md) subtypes [singleUser](singleuser.md), [groupMembers](groupmembers.md), [connectedOrganizationMembers](connectedorganizationmembers.md), [requestorManager](requestormanager.md), [internalSponsors](internalsponsors.md), and [externalSponsors](externalsponsors.md) - Used in [requestorSettings](requestorsettings.md), [approvalStage](approvalstage.md), [approvalStep](approvalstep.md) and [assignmentReviewSettings](assignmentreviewsettings.md). - [accessPackageSubject](accesspackagesubject.md) - Used in the [accessPackageAssignment](accesspackageassignment.md) as a subject user who has an access package assignment.-- [identitySource](identitysource.md) - used in the [connectedOrganization](connectedorganization.md), one of [azureActiveDirectoryTenant](azureactivedirectorytenant.md), [domainIdentitySource](domainidentitysource.md) or [externalDomainFederation](externaldomainfederation.md).+- [identitySource](identitysource.md) - used in the [connectedOrganization](connectedorganization.md), one of [azureActiveDirectoryTenant](azureactivedirectorytenant.md), [crossCloudAzureActiveDirectoryTenant](crosscloudazureactivedirectorytenant.md), [domainIdentitySource](domainidentitysource.md) or [externalDomainFederation](externaldomainfederation.md). ## See also |
v1.0 | Entitlementmanagement | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/entitlementmanagement.md | None. |accessPackageAssignmentPolicies|[accessPackageAssignmentPolicy](../resources/accesspackageassignmentpolicy.md) collection| Represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. | |accessPackageAssignmentRequests|[accessPackageAssignmentRequest](../resources/accesspackageassignmentrequest.md) collection|Represents access package assignment requests created by or on behalf of a user.| |accessPackageAssignmentResourceRoles|[accessPackageAssignmentResourceRole](../resources/accesspackageassignmentresourcerole.md) collection| Represents the resource-specific role which a subject has been assigned through an access package assignment.|-|accessPackageAssignments|[accessPackageAssignment](../resources/accesspackageassignment.md) collection|Represents the grant of an access package to a subject (user or group).| -|accessPackageCatalogs|[accessPackageCatalog](../resources/accesspackagecatalog.md) collection|Represents a group of access packages.| +|accessPackageAssignments|[accessPackageAssignment](../resources/accesspackageassignment.md) collection|The assignment of an access package to a subject for a period of time.| +|accessPackageCatalogs|[accessPackageCatalog](../resources/accesspackagecatalog.md) collection|A container of access packages.| |accessPackageResourceEnvironments|[accessPackageResourceEnvironment](../resources/accesspackageresourceenvironment.md) collection| A reference to the geolocation environment in which a resource is located.| |accessPackageResourceRequests|[accessPackageResourceRequest](../resources/accesspackageresourcerequest.md) collection|Represents a request to add or remove a resource to or from a catalog respectively. | |accessPackageResourceRoleScopes|[accessPackageResourceRoleScope](../resources/accesspackageresourcerolescope.md) collection| A reference to both a scope within a resource, and a role in that resource for that scope. | |
v1.0 | Identitysource | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/identitysource.md | Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] -The sub-types of this type, [azureActiveDirectoryTenant](azureactivedirectorytenant.md), [domainIdentitySource](domainidentitysource.md) and [externalDomainFederation](externaldomainfederation.md), are used in the identity sources of a [connectedOrganization](connectedOrganization.md). +The sub-types of this type, [azureActiveDirectoryTenant](azureactivedirectorytenant.md), [crossCloudAzureActiveDirectoryTenant](crosscloudazureactivedirectorytenant.md), [domainIdentitySource](domainidentitysource.md) and [externalDomainFederation](externaldomainfederation.md), are used in the identity sources of a [connectedOrganization](connectedOrganization.md). ## Properties |
v1.0 | Application Delete Owners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/application-delete-owners.md | DELETE https://graph.microsoft.com/v1.0/applications/{id}/owners/{id}/$ref [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Application Delete Tokenissuancepolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/application-delete-tokenissuancepolicies.md | DELETE https://graph.microsoft.com/v1.0/applications/{id}/tokenIssuancePolicies/ [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Application Delete Tokenlifetimepolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/application-delete-tokenlifetimepolicies.md | DELETE https://graph.microsoft.com/v1.0/applications/{id}/tokenLifetimePolicies/ [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Connectedorganization Delete Externalsponsors | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/connectedorganization-delete-externalsponsors.md | DELETE https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Device Delete Registeredowners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/device-delete-registeredowners.md | DELETE https://graph.microsoft.com/v1.0/devices/{id}/registeredOwners/{id}/$ref [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Device Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/device-update.md | HTTP/1.1 204 No Content #### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "update_device_extensionAttributes" Content-type: application/json } } ```+# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) +++ #### Response |
v1.0 | Directoryrole Delete Member | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directoryrole-delete-member.md | DELETE https://graph.microsoft.com/v1.0/directoryRoles/f8e85ed8-f66f-4058-b170-3 [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Educationassignment Delete Rubric | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignment-delete-rubric.md | DELETE https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Educationassignment Put Rubric | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignment-put-rubric.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Featurerolloutpolicy Delete Appliesto | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/featurerolloutpolicy-delete-appliesto.md | DELETE https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies/df85e4d9 [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Group Delete Members | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-delete-members.md | DELETE https://graph.microsoft.com/v1.0/groups/{group-id}/members/{directory-obj [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + In the request, specify the identifier of the group and the identifier of the directory object you want to remove. |
v1.0 | Group Delete Owners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-delete-owners.md | DELETE https://graph.microsoft.com/v1.0/groups/{id}/owners/{id}/$ref [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + In the request, specify the `id` of the directory object you want to remove after the $ref segment. |
v1.0 | Group Post Acceptedsenders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-post-acceptedsenders.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell)- [!INCLUDE [sample-code](../includes/snippets/powershell/create-acceptedsender-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Group Post Members | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-post-members.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell)- [!INCLUDE [sample-code](../includes/snippets/powershell/add-member-to-group-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Group Post Owners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-post-owners.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell)- [!INCLUDE [sample-code](../includes/snippets/powershell/create-owner-from-group-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Group Post Rejectedsenders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-post-rejectedsenders.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell)- [!INCLUDE [sample-code](../includes/snippets/powershell/create-rejectedsenders-from-group-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Printershare Delete Allowedgroup | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/printershare-delete-allowedgroup.md | DELETE https://graph.microsoft.com/v1.0/print/shares/{printerShareId}/allowedGro [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + ### Response |
v1.0 | Printershare Delete Alloweduser | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/printershare-delete-alloweduser.md | DELETE https://graph.microsoft.com/v1.0/print/shares/{printerShareId}/allowedUse [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Serviceprincipal Delete Claimsmappingpolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/serviceprincipal-delete-claimsmappingpolicies.md | DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{id}/claimsMappingPoli [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Serviceprincipal Delete Homerealmdiscoverypolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/serviceprincipal-delete-homerealmdiscoverypolicies.md | DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{id}/homeRealmDiscover [!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Go](#tab/go) + |
v1.0 | Subscription Post Subscriptions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/subscription-post-subscriptions.md | Some resources support the option to include encrypted resource data in change n Creating a subscription requires read scope to the resource. For example, to get change notifications on messages, your app needs the `Mail.Read` permission. -Depending on the resource and the permission type (delegated or application) requested, the permission specified in the following table is the least privileged required to call this API. To learn more, including [taking caution](/graph/auth/auth-concepts#best-practices-for-requesting-permissions) before choosing more privileged permissions, search for the following permissions in [Permissions](/graph/permissions-reference). +Depending on the resource and the permission type (delegated or application) requested, the permission specified in the following table is the least privileged required to call this API. To learn more, including [taking caution](/graph/auth/auth-concepts#best-practices-for-requesting-permissions) before choosing the permissions, search for the following permissions in [Permissions](/graph/permissions-reference). | Supported resource | Delegated (work or school account) | Delegated (personal Microsoft account) | Application | |:--|:--|:--|:--| Depending on the resource and the permission type (delegated or application) req |[security alert](../resources/alert.md) | SecurityEvents.ReadWrite.All | Not supported | SecurityEvents.ReadWrite.All | |[user](../resources/user.md) | User.Read.All | User.Read.All | User.Read.All | +We recommend that you use the permissions as documented in the previous table. Due to security restrictions, Microsoft Graph subscriptions will not support write access permissions when only read access permissions are needed. + > **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). [!INCLUDE [teams-subscription-notes](../../includes/teams-subscription-notes.md)] |
v1.0 | User Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/user-update.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/powershell/update-schemaextension-powershell-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [Java](#tab/java) + |
v1.0 | Entitlementmanagement | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/entitlementmanagement.md | None. ## Relationships |Relationship|Type|Description| |:|:|:|-|accessPackageAssignmentApprovals|[approval](../resources/approval.md) collection | Approval stages for assignment requests.| -|accessPackages|[accessPackage](../resources/accesspackage.md) collection|Represents access package objects.| -|assignmentPolicies|[accessPackageAssignmentPolicy](../resources/accesspackageassignmentpolicy.md) collection|Access package assignment policies.| -|assignmentRequests|[accessPackageAssignmentRequest](../resources/accesspackageassignmentrequest.md) collection|Represents access package assignment requests created by or on behalf of a user.| -|assignments|[accessPackageAssignment](../resources/accesspackageassignment.md) collection| Represents the grant of an access package to a subject (user or group).| -|catalogs|[accessPackageCatalog](../resources/accesspackagecatalog.md) collection| Represents a collection of access packages.| -|connectedOrganizations|[connectedOrganization](../resources/connectedorganization.md) collection|Represents references to a directory or domain of another organization whose users can request access.| -|settings|[entitlementManagementSettings](../resources/entitlementmanagementsettings.md)| Represents the settings that control the behavior of Azure AD entitlement management.| +|accessPackageAssignmentApprovals|[approval](../resources/approval.md) collection | Approval stages for decisions associated with access package assignment requests.| +|accessPackages|[accessPackage](../resources/accesspackage.md) collection|Access packages define the collection of resource roles and the policies for which subjects can request or be assigned access to those resources.| +|assignmentPolicies|[accessPackageAssignmentPolicy](../resources/accesspackageassignmentpolicy.md) collection|Access package assignment policies govern which subjects can request or be assigned an access package via an access package assignment.| +|assignmentRequests|[accessPackageAssignmentRequest](../resources/accesspackageassignmentrequest.md) collection|Access package assignment requests created by or on behalf of a subject.| +|assignments|[accessPackageAssignment](../resources/accesspackageassignment.md) collection| The assignment of an access package to a subject for a period of time.| +|catalogs|[accessPackageCatalog](../resources/accesspackagecatalog.md) collection|A container for access packages.| +|connectedOrganizations|[connectedOrganization](../resources/connectedorganization.md) collection|References to a directory or domain of another organization whose users can request access.| +|settings|[entitlementManagementSettings](../resources/entitlementmanagementsettings.md)| The settings that control the behavior of Azure AD entitlement management.| ## JSON representation The following is a JSON representation of the resource. |