Skip to content

Delete Access Point Scope

s3control_delete_access_point_scope R Documentation

Deletes an existing access point scope for a directory bucket

Description

Deletes an existing access point scope for a directory bucket.

When you delete the scope of an access point, all prefixes and permissions are deleted.

To use this operation, you must have the permission to perform the s3express:DeleteAccessPointScope action.

For information about REST API errors, see REST error responses.

Usage

s3control_delete_access_point_scope(AccountId, Name)

Arguments

AccountId

[required] The Amazon Web Services account ID that owns the access point with the scope that you want to delete.

Name

[required] The name of the access point with the scope that you want to delete.

Value

An empty list.

Request syntax

svc$delete_access_point_scope(
  AccountId = "string",
  Name = "string"
)