Create Object storage
POST
/storage/buckets/{bucket_name}/Path parameters
bucket_namePathstringrequiredBucket Name
Query parameters
project_idQueryintegerrequiredProject ID Find your project id here
locationQuerystringrequiredLocation (Delhi and Chennai)
Request body
application/json
Set to true to enable object lock, or false to disable it.
example
falseSet to true to enable bucket versioning, or false to disable it.
example
trueSet to true to enable bucket encryption, or false to disable it.
example
falseResponses
200Successfully created a bucket
example
200example
Success412Bucket creation failed due to precondition error
example
412example
Bucket name is not available.example
Precondition Failed