Skip to content

Latest commit

 

History

History
113 lines (77 loc) · 3.8 KB

File metadata and controls

113 lines (77 loc) · 3.8 KB
title Delete externalUserProfile
description Delete an externalUserProfile object.
ms.localizationpriority medium
doc_type apiPageType
author jkdouglas
ms.subservice entra-directory-management
ms.date 10/11/2024

Delete externalUserProfile

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Delete an externalUserProfile object.

Note: To permanently delete the externalUserProfile, follow permanently delete an item. To restore an externalUserProfile, follow restore a deleted item.

[!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]

[!INCLUDE rbac-externaluserprofiles-apis-write]

HTTP request

DELETE /directory/externalUserProfiles/{id}

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

Example

Request

The following example shows a request.

DELETE https://graph.microsoft.com/beta/directory/externalUserProfiles/{id}

[!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