Skip to content

Delete Members

securityhub_delete_members R Documentation

Deletes the specified member accounts from Security Hub CSPM

Description

Deletes the specified member accounts from Security Hub CSPM.

You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.

Usage

securityhub_delete_members(AccountIds)

Arguments

AccountIds

[required] The list of account IDs for the member accounts to delete.

Value

A list with the following syntax:

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

Request syntax

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