CmdID / aws / aws securityhub
aws securityhub delete-invitations
We recommend using Organizations instead of Security Hub CSPM invitations to manage your member accounts. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--account-idsThe list of member account IDs that received the invitations you want to delete.