Skip to content

Delete Access Grant

s3control_delete_access_grant R Documentation

Deletes the access grant from the S3 Access Grants instance

Description

Deletes the access grant from the S3 Access Grants instance. You cannot undo an access grant deletion and the grantee will no longer have access to the S3 data.

Permissions

You must have the s3:DeleteAccessGrant permission to use this operation.

Usage

s3control_delete_access_grant(AccountId, AccessGrantId)

Arguments

AccountId

[required] The ID of the Amazon Web Services account that is making this request.

AccessGrantId

[required] The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.

Value

An empty list.

Request syntax

svc$delete_access_grant(
  AccountId = "string",
  AccessGrantId = "string"
)