Delete an item from a list

Removes an item from a list.

Permissions

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

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Sites.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application Sites.ReadWrite.All

HTTP request

DELETE /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 /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