Skip to content

Delete Invitations

securityhub_delete_invitations R Documentation

We recommend using Organizations instead of Security Hub invitations to manage your member accounts

Description

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For information, see Managing Security Hub administrator and member accounts with Organizations in the Security Hub User Guide.

Deletes invitations to become a Security Hub member account.

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

This operation is only used to delete invitations that are sent to prospective member accounts that aren't part of an Amazon Web Services 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"
  )
)