DeleteBucket
Interface description
When deleting the specified storage container (bucket), the files in this storage container will also be deleted.
Note: Only the owner of the storage container has permission to delete it.
Request Syntax
Request Header
Don't forget to add your identity signature to the header.
Response
Response format: application/json
Status code | Message | Response description |
---|---|---|
200 | Block hash | Delete the block hash generated by the bucket |
400 | InvalidHead.MissToken | The access key is empty |
400 | InvalidHead.Token | Access key error |
400 | InvalidParameter.Name | Bucket name error |
403 | NoPermission | Access key verification failed |
500 | InternalError | Server internal error |
Request example
Request to delete a bucket named samplebucket
Last updated