Delete a redundancy type conversion task from a bucket.
Prerequisites
Before you begin, ensure that you have:
By default, an Alibaba Cloud account has the permissions to delete redundancy type conversion tasks. Deleting conversion tasks as a RAM user or by using Security Token Service (STS) requires the
oss:DeleteBucketDataRedundancyTransitionpermission. To grant this permission, see Attach a custom policy to a RAM userA redundancy type conversion task ID to delete
Syntax
ossutil api delete-bucket-data-redundancy-transition
--bucket <value>
--redundancy-transition-taskid <value>
[flags]For a full list of available flags, see Command-line options.
Options
--bucket (string) [required]
The name of the bucket.
--redundancy-transition-taskid (string) [required]
The ID of the redundancy type conversion task to delete.
Limitations
Note: Tasks in the Processing state cannot be deleted. Wait until the task completes before deleting it.
Example
Delete task 123 from examplebucket:
ossutil api delete-bucket-data-redundancy-transition --bucket examplebucket --redundancy-transition-taskid 123What's next
For the corresponding API operation, see DeleteBucketDataRedundancyTransition.