Create Bucket Using PUT

Create Bucket Using PUT

API code: S3_CREATE_BUCKET Pre-authorized role(s): TENANT_USER

Request
URI
PUT
https://{api_host}//localhost/api/v1/s3/{bucketName}
COPY
Path Parameters
string
bucketName
Required

The bucket name. It must be URL encoded.

Header Parameters
string
x-amz-acl
Optional

The ACL of the bucket using the specified canned ACL. Valid Values: private | public-read | public-read-write | authenticated-read.

string
x-amz-bucket-object-lock-enabled
Optional

Specifies whether you want S3 Object Lock to be enabled for the new bucket.

string
x-amz-grant-full-control
Optional

Allows grantee the READ, WRITE, READ_ACP, and WRITE_ACP permissions on the bucket.

string
x-amz-grant-read
Optional

Allows the specified grantee(s) to list the objects in the bucket.

string
x-amz-grant-read-acp
Optional

Allows the specified grantee(s) to read the bucket ACL.

string
x-amz-grant-write
Optional

Allows the specified grantee(s) to create, overwrite, and delete any object in the bucket.

string
x-amz-grant-write-acp
Optional

Allows the specified grantee(s) to write the ACL for the applicable bucket.


Request Body

config

CreateBucketConfiguration of type(s) application/json
Optional
{
    "locationConstraint": "string"
}
string
locationConstraint
Optional

locationConstraint

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

Bucket Management Operations
PUT
Create Bucket Using PUT
DELETE
Delete Bucket Cors Using DELETE
DELETE
Delete Bucket Encryption Using DELETE
DELETE
Delete Bucket Lifecycle Using DELETE
DELETE
Delete Bucket Policy Using DELETE
DELETE
Delete Bucket Replication Using DELETE
DELETE
Delete Bucket Tagging Using DELETE
DELETE
Delete Bucket Using DELETE
DELETE
Delete Bucket Website Using DELETE
DELETE
Delete Public Access Block Using DELETE
GET
Get Bucket Acl Using GET
GET
Get Bucket Cors Using GET
GET
Get Bucket Encryption Using GET
GET
Get Bucket Lifecycle Using GET
GET
Get Bucket Location Using GET
GET
Get Bucket Logging Using GET
GET
Get Bucket Notification Configuration Using GET
GET
Get Bucket Policy Status Using GET
GET
Get Bucket Policy Using GET
GET
Get Bucket Replication Using GET
GET
Get Bucket Request Payment Using GET
GET
Get Buckets Using GET 1
GET
Get Bucket Tagging Using GET
GET
Get Bucket Using GET
GET
Get Bucket Versioning Using GET
GET
Get Bucket Website Using GET
GET
Get Object Lock Configuration Using GET
GET
Get Public Access Block Using GET
GET
List Uploads Using GET
GET
List Versions Using GET
PUT
Set Bucke Policy Using PUT
PUT
Set Bucket Acl Using PUT
PUT
Set Bucke Tagging Using PUT
PUT
Set Bucket Cors Using PUT
PUT
Set Bucket Encryption Using PUT
PUT
Set Bucket Lifecycle Using PUT
PUT
Set Bucket Logging Using PUT
PUT
Set Bucket Notification Configuration Using PUT
PUT
Set Bucket Replication Using PUT
PUT
Set Bucket Request Payment Using PUT
PUT
Set Bucket Versioning Using PUT
PUT
Set Bucket Website Using PUT
PUT
Set Object Lock Configuration Using PUT
PUT
Set Public Access Block Using PUT