Skip to content

Delete Invitations

securityhub_delete_invitations R Documentation

Deletes invitations received by the Amazon Web Services account to become a member account

Description

Deletes invitations received by the Amazon Web Services account to become a member account.

A Security Hub administrator account can use this operation to delete invitations sent to one or more member accounts.

This operation is only used to delete invitations that are sent to member accounts that aren't part of an organization. Organization accounts don't receive invitations.

Usage

securityhub_delete_invitations(AccountIds)

Arguments

AccountIds

[required] The list of member account IDs that received the invitations you want to delete.

Value

A list with the following syntax:

list(
  UnprocessedAccounts = list(
    list(
      AccountId = "string",
      ProcessingResult = "string"
    )
  )
)

Request syntax

svc$delete_invitations(
  AccountIds = list(
    "string"
  )
)

Examples

## Not run: 
# The following example deletes an invitation sent by the Security Hub
# administrator account to a prospective member account. This operation is
# used only for invitations sent to accounts that aren't part of an
# organization. Organization accounts don't receive invitations.
svc$delete_invitations(
  AccountIds = list(
    "123456789012"
  )
)

## End(Not run)