Permanently delete item
APIs under the
/beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.
Permanently deletes an item from deleted items.
Currently, deleted items functionality is only supported for the group and user resources. You can permanently delete an item from deleted items. But, once an item is permanently deleted, it cannot be restored.
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
- For users: User.ReadWrite.All, Directory.AccessAsUser.All
- For groups: Group.ReadWrite.All, Directory.AccessAsUser.All
|Authorization||Bearer <code> Required|
Do not supply a request body for this method.
If successful, this method returns
204 No Content response code. It does not return anything in the response body.
Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
HTTP/1.1 204 No Content
SDK sample code
GraphServiceClient graphClient = new GraphServiceClient( authProvider ); await graphClient.Directory.DeletedItems["46cc6179-19d0-473e-97ad-6ff84347bbbb"] .Request() .DeleteAsync();
Send feedback about: