Skip to content

Accept Administrator Invitation

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

Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.

This operation is only used by member accounts that are not added through Organizations.

When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.

Usage

securityhub_accept_administrator_invitation(AdministratorId,
  InvitationId)

Arguments

AdministratorId

[required] The account ID of the Security Hub administrator account that sent the invitation.

InvitationId

[required] The identifier of the invitation sent from the Security Hub administrator account.

Value

An empty list.

Request syntax

svc$accept_administrator_invitation(
  AdministratorId = "string",
  InvitationId = "string"
)