删除Bucket-DeleteBucket

删除Bucket

Request Parameters

Parameter nameTypeDescriptionRequired
BucketNamestring待删除Bucket的名称Yes
ProjectIdstring项目IDNo

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
BucketNamestringBucket的名称No
BucketIdstringBucket的IDNo

Request Example

http(s)://api.ucloud.cn/?Action=DeleteBucket
?BucketName=blue

Response Example

{
    "Action": "DeleteBucketResponse",
    "Retcode": 0,
    "BucketName": "blue",
    "BucketId": "ufile-qs20fr"
}