The delete-access-point command is used to delete access points associated with Object Storage Service (OSS) buckets.
Usage notes
By default, an Alibaba Cloud account has permissions to delete access points associated with OSS buckets. Deleting access points as a RAM user or by using Security Token Service (STS) requires oss:DeleteAccessPoint
permissions. For more information, see Attach a custom policy to a RAM user.
Syntax
ossutil api delete-access-point --bucket value --access-point-name value [flags]
Parameter | Type | Description |
--bucket | string | Name of the bucket. |
--access-point-name | string | Name of the access point. |
The delete-access-point command corresponds to the DeleteAccessPoint operation. For more information about the parameters within, see DeleteAccessPoint.
For more information about supported global command-line options, see Command-line options.
Example
Delete the access point named 'ap-01
' associated with examplebucket
.
ossutil api delete-access-point --bucket examplebucket --access-point-name ap-01