| title | tenantReference: removePersonalData |
|---|---|
| description | Create a request to remove the personal data for an outboundSharedUserProfile. |
| author | yyuank |
| ms.reviewer | mapamu, iamut |
| ms.localizationpriority | medium |
| ms.subservice | entra-sign-in |
| doc_type | apiPageType |
| ms.date | 05/16/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Create a request to remove the personal data for an outboundSharedUserProfile.
[!INCLUDE national-cloud-support]
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]
POST /directory/outboundSharedUserProfiles/{userId}/tenants/{tenantId}/removePersonalData| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this action returns a 204 No Content response code.
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]
The following example shows the response.
HTTP/1.1 204 No Content