| 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 |
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]
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]
DELETE /directory/externalUserProfiles/{id}| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns 204 No Content response code.
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]
The following example shows the response.
HTTP/1.1 204 No Content