CmdID

CmdID / aws / aws detective

aws detective delete-members

Removes the specified member accounts from the behavior graph. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To remove member accounts from a behavior graph

The following delete-members example removes two member accounts from the behavior graph arn:aws:detective:us-west-2:123456789111:graph:123412341234. To identify the accounts, the request provides the AWS account IDs.

aws detective delete-members --account-ids 123456789222 123456789012 --graph-arn arn:aws:detective:us-west-2:123456789111:graph:027c7c4610ea4aacaf0b883093cab899Identify
--account-idsThe list of Amazon Web Services account identifiers for the member accounts to remove from the behavior graph.
--graph-arnThe ARN of the behavior graph to remove members from.
Its output
{
    "AccountIds": [ "123456789222", "123456789012" ],
    "UnprocessedAccounts": [ ]
}

For more information, see Removing member accounts from a behavior graph in the Amazon Detective User Guide.

Options

2 in the AWS CLI reference
--account-idsThe list of Amazon Web Services account identifiers for the member accounts to remove from the behavior graph.
--graph-arnThe ARN of the behavior graph to remove members from.