检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Sample Request DELETE /?
Value range: true: Expired delete markers are removed. false: Expired delete markers are not removed. Default value: N/A Transition Used to transition objects between storage classes Days (Use either Days or Date.)
DeleteObject: Delete objects. DeleteObjectVersion: Delete objects and their versions. Each API requires an operation permission. Users can call these APIs directly or through SDKs.
Restore the system environment variable: Delete the path of obsutil that is set in the /etc/profile file. If the /etc/profile file contains line export PATH=$PATH:/obsutil, delete the line.
Bucket policy DELETE policy Yes No PUT Bucket lifecycle PUT lifecycle Yes No GET Bucket lifecycle GET lifecycle Yes No DELETE Bucket lifecycle DELETE lifecycle Yes No PUT Bucket website PUT website Yes No GET Bucket website GET website Yes No DELETE Bucket website DELETE website
ObsClient obsClient = new ObsClient(ak, sk, endPoint); // Delete a bucket. obsClient.deleteBucket("bucketname"); Only empty buckets (without objects and part fragments) can be deleted.
/obsutil rm obs://bucket-test -f command to delete bucket bucket-test. ./obsutil rm obs://bucket-test -f Delete bucket [bucket-test] successfully! Parent topic: Getting Started
SpecialParamEnum.APPEND Yes Yes Get Object HttpMethodEnum.GET N/A Yes Yes Copy Object HttpMethodEnum.PUT N/A Yes Yes Delete Object HttpMethodEnum.DELETE N/A Yes Yes Delete Objects HttpMethodEnum.POST SpecialParamEnum.DELETE Yes Yes Get Object Metadata HttpMethodEnum.HEAD N/A Yes
Table 7 DeleteObjectResponse Parameter Type Description deleteMarker bool Explanation: Whether the deleted object is a delete marker Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker.
Bucket: "examplebucket" }; // Delete the bucket tag configuration. const result = await obsClient.deleteBucketTagging(params); if (result.CommonMsg.Status <= 300) { console.log("Delete bucket(%s)'s tagging configuration successful!"
If you can view the object list and can download objects, but you cannot upload or delete objects or perform any other operations, the Tenant Guest permission is in effect. Parent Topic: Configuring IAM Permissions
You do not need to create the bucket again. 409 Conflict BucketNotEmpty The bucket that you tried to delete is not empty. Delete the objects in the bucket and then delete the bucket. 409 Conflict InvalidBucketState Invalid bucket status.
You do not need to create the bucket again. 409 Conflict BucketNotEmpty The bucket that you tried to delete is not empty. Delete the objects in the bucket and then delete the bucket. 409 Conflict InvalidBucketState Invalid bucket status.
You do not need to create the bucket again. 409 Conflict BucketNotEmpty The bucket that you tried to delete is not empty. Delete the objects in the bucket and then delete the bucket. 409 Conflict InvalidBucketState Invalid bucket status.
Delete an object from the source bucket without specifying a version. The object copy will be deleted synchronously from the destination bucket. Delete a specified version of an object from the source bucket.
You can call ObsClient->deleteBucket to delete a bucket.
Except for delete markers, storage space occupied by objects with all version IDs is billed. VersionStatusEnum.Suspended Sample code: // Initialize configuration parameters.
Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker.
You can call ObsClient.deleteBucket to delete a bucket. Sample code is as follows: // Create an instance of ObsClient. var obsClient = new ObsClient({ // Hard-coded or plaintext AK/SK are risky.
Sample Request DELETE /?