getMeta method

Returns the bucket's metadata or an error.

Use this method to check:

  • If the bucket exists.
  • If the user has sufficient permissions to access the bucket.

Request

HEAD /{bucket} HTTP/1.1

Path parameters

Parameter Description
bucket Bucket name.

Headers

In a request, use only common request headers.

Response

Headers

A response can only contain common response headers.

Response codes

For a list of possible responses, see Responses.

A successful response does not contain any additional data and means that the bucket exists and the user has sufficient permissions to access it.