检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
To delete historical tasks, go to the Task Management page, select the completed tasks that you no longer need, and delete them, as shown in Figure 1. Figure 1 Deleting completed tasks Parent topic: FAQs
DELETE Bucket website OBSDeleteBucketWebsiteRequest PUT Bucket versioning OBSSetBucketVersioningRequest GET Bucket versioning OBSGetBucketVersioningRequest PUT Bucket cors OBSSetBucketCORSRequest GET Bucket cors OBSGetBucketCORSRequest DELETE Bucket cors OBSDeleteBucketCORSRequest
DELETE Bucket website OBSDeleteBucketWebsiteRequest PUT Bucket versioning OBSSetBucketVersioningRequest GET Bucket versioning OBSGetBucketVersioningRequest PUT Bucket cors OBSSetBucketCORSRequest GET Bucket cors OBSGetBucketCORSRequest DELETE Bucket cors OBSDeleteBucketCORSRequest
You can specify a version ID to delete a specific object. If an object is deleted with no version ID specified, OBS creates a delete marker with a version ID of null and deletes the object whose version ID is null.
If an object is deleted with no version ID specified, the object is only attached with a delete marker whose version ID is null. Objects with version ID null are physically deleted. Except for delete markers, storage space occupied by objects with all version IDs is billed.
Sample Request 1 2 3 4 5 6 DELETE /?
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. DeleteMarkerVersionId string Explanation: Version ID of a delete marker to create or delete.
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.
You can call ObsClient.DeleteBucketTagging to delete bucket tags. Sample code is as follows: // Initialize configuration parameters. ObsConfig config = new ObsConfig(); config.Endpoint = "https://your-endpoint"; // Hard-coded or plaintext AK/SK are risky.
If an object is deleted with no version ID specified, the object is only attached with a delete marker whose version ID is null. Objects with version ID null are physically deleted. Except for delete markers, storage space occupied by objects with all version IDs is billed.
You can call ObsClient.DeleteBucketLifecycle to delete lifecycle rules. This example deletes the lifecycle configuration of bucket bucketname. The example code is as follows: // Initialize configuration parameters.
You can call ObsClient.DeleteBucketCors to delete CORS rules of a bucket. This example deletes the CORS rule of bucket bucketname. The example code is as follows: // Initialize configuration parameters.
You can call ObsClient.DeleteBucketWebsite to delete the hosting settings of a bucket. This example deletes the hosting configuration of bucket bucketname. The example code is as follows: // Initialize configuration parameters.
You can call ObsClient.DeleteBucket to delete a bucket. Sample code is as follows: // Initialize configuration parameters. ObsConfig config = new ObsConfig(); config.Endpoint = "https://your-endpoint"; // Hard-coded or plaintext AK/SK are risky.
GET tagging Yes No DELETE Bucket tagging DELETE tagging Yes No PUT Object PUT N/A Yes Yes GET Object GET N/A Yes Yes PUT Object - Copy PUT N/A Yes Yes DELETE Object DELETE N/A Yes Yes DELETE Objects POST delete Yes Yes Obtain Object Metadata HEAD N/A Yes Yes Configure Object ACL
If an object is deleted with no version ID specified, the object is only attached with a delete marker whose version ID is null. Objects with version ID null are physically deleted. Except for delete markers, storage space occupied by objects with all version IDs is billed.
/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
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.)
Sample Request DELETE /?
Sample Request DELETE /?