Bucket API

Bucket API

DeleteBucket

Deletes a bucket. The bucket must be empty for it to be deleted.

SecuritybearerAuth
Request
path Parameters
bucketName
required
string

The name of the bucket.

Responses
204

Success

delete/{bucketName}
Request samples

HeadBucket

Determines if a bucket exists and you have permission to access it.

SecuritybearerAuth
Request
path Parameters
bucketName
required
string

The name of the bucket.

Responses
200

Success

404

NoSuchBucket

head/{bucketName}
Request samples

CreateBucket

SecuritybearerAuth
Request
path Parameters
bucketName
required
string [ 4 .. 64 ] characters

The name of the bucket.

Example: mybucket
Request Body schema: text/xml
LocationConstraint
string
Responses
200

Success

409

BucketAlreadyExists

Response Schema: text/xml
string
put/{bucketName}
Request samples