Delete bucket

Delete bucket.

Prerequisites

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

Group.ReadWrite.All

HTTP request

DELETE /buckets/{id}

Request headers

Name Type Description
Authorization string Value should be set to "Bearer (access-token)"
If-Match string Value should be set to the ETag of the object

Request body

Do not supply a request body for this method.

Response

If successful, this method returns 204, No Content response code. It does not return anything in the response body.

Example

Request

Here is an example of the request.

DELETE https://graph.microsoft.com/beta/buckets/{id}
If-Match: W/"JzEtMDAwMDAwMDAwMDAwMDAwOC8yMDE1LTEwLTIyVDE4OjExOjU2LjExMzU1NDYrMDA6MDAn"

Response

Here is an example of the response.

HTTP/1.1 204 No Content