delete-access-point

Updated at:

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 the oss:DeleteAccessPoint permission. For more information, see Grant a custom policy.

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
  • 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