Deletes an access point associated with an OSS bucket.
Usage notes
Alibaba Cloud accounts have permission to delete access points by default. RAM users and Security Token Service (STS) credentials require the oss:DeleteAccessPoint permission. For details, 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 |
Note
This command maps to the DeleteAccessPoint API operation. For supported global flags, see Command-line options.
Example
The following example deletes the access point ap-01 from examplebucket. Before running this command, replace the bucket name and access point name with your own values.
ossutil api delete-access-point --bucket examplebucket --access-point-name ap-01