Skip to content

Decline Invitations

securityhub_decline_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.

Declines invitations to become a Security Hub member account.

A prospective member account uses this operation to decline an invitation to become a member.

Only member accounts that aren't part of an Amazon Web Services organization should use this operation. Organization accounts don't receive invitations.

Usage

securityhub_decline_invitations(AccountIds)

Arguments

AccountIds

[required] The list of prospective member account IDs for which to decline an invitation.

Value

A list with the following syntax:

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

Request syntax

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