PutBucket
Last updated
Last updated
Call the PutBucket interface to create a storage container (Bucket).
Note: By creating a storage container, you become the owner of the bucket.
Response format: application/json
200
Block hash
Block hash generated when bucket is created
400
InvalidHead.MissingToken
The access key is empty, or the permissions are insufficient
400
InvalidHead.Token
Access key error
400
InvalidParameter.Name
Wrong bucket name
403
NoPermission
Access key verification failed
500
InternalError
Server internal error
Request to create a bucket named “bucketname”