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