Check Whther Bucket Exists and Requester Has Permission to Access the Bucket
Last Updated:2021-09-13
Interface Description
This interface is used to check whether the bucket exists and the requester has permission to access this bucket. When the request returns “200 OK”, it indicates that the bucket exists and the requester has the permission to access this bucket.
Request URI
HEAD /v1/{bucketName}
Parameter Name | Parameter Type | Required | Description | Example Value | Parameter Position |
---|---|---|---|---|---|
bucketName | String | Yes | Bucket name | "bucketName_example" | Path |
Request Body Parameters
Instructions for Data Structure of Request Body Field
Response Body Parameters
Instructions for Data Structure of Response Body Field
Request Example
HEAD /v1/bucketName_example
Common Request Header
{ }
Response Example
HTTP/1.1 200 OK
<Common response header>
{ }
Error Code
Refer to the universal error code.