检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Sample Request 1 2 3 4 5 6 DELETE /?
Sample Request 1 2 3 4 5 6 DELETE /?
Scenarios where data can be deleted or overwritten: Use OBS Console, API, SDKs, OBS Browser+, obsutil, or obsfs to delete objects. For details, see Deleting an Object.
Run the obsutil bucketpolicy obs://bucket -method=delete command to delete a bucket policy. obsutil bucketpolicy obs://bucket -method=delete Start at 2024-09-30 08:09:29.6396262 +0000 UTC Delete bucketPolicy succeed, requestId is [04050000016836C5DA6FB21F14A2A0C0] Parameter Description
Sample Request 1 2 3 4 DELETE /?
The Delete function can delete only local task data. Parent topic: Task Management
a delete marker in a bucket with versioning enabled.
Sample Request 1 2 3 4 5 6 DELETE /?
Deleting All Multipart Upload Tasks in a Bucket All commands in this section use the Linux operating system as an example to describe how to delete all multipart upload tasks in a bucket.
Figure 1 Completed task list (Optional) Select one or more tasks and click Delete (). You are advised to periodically delete the completed tasks from the list. For details, see Why Does the Task Processing Speed Slow After the Number of Tasks Exceeds a Million?
Sample Request 1 2 3 4 5 6 DELETE /?
Click Delete in the Operation column to delete the bucket. Ensure that the bucket does not exist in the list. You are billed one hour after the resource usage is calculated, so a bill may still be generated after a pay-per-use resource is deleted.
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.
Configuration Precautions After finishing the configuration, the IAM user can use APIs or SDKs to delete buckets. However, if they log in to OBS Console or OBS Browser+ to delete buckets, an error will be reported indicating that they do not have required permissions.
If it was, those other users can delete objects from the bucket. If you have enabled logging, you can check the logs to find out who deleted the objects. Parent topic: OBS Basics
Deleting a file or folder does not delete it permanently. The deleted file or folder will be retained in the Deleted Objects list and marked with the Delete Marker. If you want to delete the file or folder permanently, you need to delete it from the Deleted Objects list.
If you want to encrypt existing objects, delete them and upload them again. Parent topic: Server-Side Encryption
Default value: None deleteMarker boolean 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. Default value: false objectKey String Explanation: Object name.
VersionId: 'G001117FCE89978B0000401205D5DC9A' }; // Delete a version of an object. const result = await obsClient.deleteObject(params); if (result.CommonMsg.Status <= 300) { console.log("Delete object(%s) under the bucket(%s) successful!"
Default value: None deleteMarker boolean 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. Default value: false objectKey String Explanation: Object name.