Get bucket

Retrieve the properties and relationships of bucket object.

Prerequisites

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

Group.Read.All, Group.ReadWrite.All

HTTP request

GET /buckets/{id}

Optional query parameters

None

Request headers

Name Type Description
Authorization string Value should be set to "Bearer (access-token)"

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and bucket object in the response body.

Example

Request

Here is an example of the request.

GET https://graph.microsoft.com/beta/buckets/{id}
Response

Here is an example of the response.

HTTP/1.1 200 OK
Content-type: application/json
Content-length: 108
ETag: W/"JzEtMDAwMDAwMDAwMDAwMDAwOC8yMDE1LTEwLTIyVDE4OjExOjU2LjExMzU1NDYrMDA6MDAn"

{
  "name": "name-value",
  "planId": "planId-value",
  "orderHint": "orderHint-value",
  "id": "id-value"
}