Skip to content

Latest commit

 

History

History
120 lines (84 loc) · 4.14 KB

directory-delete-pendingexternaluserprofiles.md

File metadata and controls

120 lines (84 loc) · 4.14 KB
title description ms.localizationpriority doc_type author ms.reviewer ms.subservice
Delete pendingExternalUserProfile
Delete a pendingExternalUserProfile object.
medium
apiPageType
jkdouglas
mapamu
entra-directory-management

Delete pendingExternalUserProfile

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Delete a pendingExternalUserProfile object.

Note: To permanently delete the pendingExternalUserProfile, follow permanently delete an item. To restore a pendingExternalUserProfile, 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/pendingExternalUserProfiles/{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/pendingExternalUserProfiles/{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]

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


Response

The following example shows the response.

HTTP/1.1 204 No Content