Delete an item from a list

Removes an item from a list.

Prerequisites

To delete an item, the user must have granted the application write access to the item to be deleted.

One of the following scopes is required to execute this request:

  • Sites.ReadWrite.All

HTTP request

DELETE https://graph.microsoft.com/beta/sites/{site-id}/lists/{list-id}/items/{item-id}

Optional request headers

Name Value Description
if-match etag If this request header is included and the eTag provided does not match the current tag on the item, a 412 Precondition Failed response is returned and the item will not be deleted.

Request body

Do not supply a request body with this method.

Example

DELETE https://graph.microsoft.com/beta/sites/{site-id}/lists/{list-id}/items/{item-id}

Response

If successful, this call returns a 204 No Content response to indicate that resource was deleted and there was nothing to return.

HTTP/1.1 204 No Content