HeadBucket

This action is useful to determine whether a bucket exists and if you have permission to access it.

A 200 OK is returned if the bucket exists and you have permission to access it.

If the bucket does not exist or you do not have permission to access it, the HEAD request returns a generic 403 Forbidden code. A message body is not included, so you cannot determine the exception beyond these error codes.

You must have Read ACL to be able to call this action.

The following operations are related to HeadBucket:

Request Syntax

1HEAD / HTTP/1.1
2Host: <BUCKET>.s3.tebi.io

The request uses the following URI parameters:

  • <BUCKET>: Bucket name. Required.

The request does not have a request body.

Response Syntax

1HTTP/1.1 200

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

See Also

Refer here for more information.