Skip to content

Latest commit

 

History

History
115 lines (83 loc) · 4.28 KB

tenantreference-removepersonaldata.md

File metadata and controls

115 lines (83 loc) · 4.28 KB
title description author ms.reviewer ms.localizationpriority ms.subservice doc_type
tenantReference: removePersonalData
Create a request to remove the personal data for an outboundSharedUserProfile.
yyuank
mapamu, iamut
medium
entra-sign-in
apiPageType

tenantReference: removePersonalData

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Create a request to remove the personal data for an outboundSharedUserProfile.

[!INCLUDE national-cloud-support]

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]

A user can create a request to remove their own personal data when the app is granted the CrossTenantUserProfileSharing.ReadWrite delegated permission on their behalf.

[!INCLUDE rbac-cross-tenant-access-shared-user-profiles-apis-write]

HTTP request

POST /directory/outboundSharedUserProfiles/{userId}/tenants/{tenantId}/removePersonalData

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 action returns a 204 No Content response code.

Examples

Request

The following example shows a request.

POST https://graph.microsoft.com/beta/directory/outboundSharedUserProfiles/c228b2ae-c4fb-4eda-9620-7e73dddd1cac/tenants/62bfb458-9474-4c44-896b-b30942d055f0/removePersonalData

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

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

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

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

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

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

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

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


Response

The following example shows the response.

HTTP/1.1 204 No Content