getMeta method
Written by
Updated at January 25, 2023
Returns the bucket's metadata or an error.
Use this method to check:
- Whether the bucket exists.
- Whether the user has sufficient permissions to access the bucket.
Request
HEAD /{bucket} HTTP/2
Path parameters
Parameter | Description |
---|---|
bucket |
Bucket name. |
Headers
Use only common request headers in requests.
Response
Headers
Responses 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.