CmdID / aws / aws guardduty
aws guardduty delete-members
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--account-idsA list of account IDs of the GuardDuty member accounts that you want to delete.--detector-idThe unique ID of the detector of the GuardDuty account whose members you want to delete.