GetMeta method
Written by
Updated at March 19, 2025
Returns the bucket metadata or an error.
Use this method to check:
- Whether the bucket exists.
- Whether the user has permissions to access the bucket.
For more information on getting started with the API and the general request format, see How to use the S3 API.
Request
HEAD /{bucket} HTTP/2
Path parameters
Parameter | Description |
---|---|
bucket |
Bucket name. |
Headers
Use only common headers in your requests.
Response
Headers
Responses can only contain common 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 permissions to access it.