Skip to content

Delete Members

guardduty_delete_members R Documentation

Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs

Description

Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.

With autoEnableOrganizationMembers configuration for your organization set to ALL, you'll receive an error if you attempt to disable GuardDuty for a member account in your organization.

Usage

guardduty_delete_members(DetectorId, AccountIds)

Arguments

DetectorId

[required] The unique ID of the detector of the GuardDuty account whose members you want to delete.

AccountIds

[required] A list of account IDs of the GuardDuty member accounts that you want to delete.

Value

A list with the following syntax:

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

Request syntax

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