Delete Members
securityhub_delete_members | R Documentation |
Deletes the specified member accounts from Security Hub¶
Description¶
Deletes the specified member accounts from Security Hub.
You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.
Usage¶
Arguments¶
AccountIds
[required] The list of account IDs for the member accounts to delete.
Value¶
A list with the following syntax:
Request syntax¶
Examples¶
## Not run:
# The following example deletes the specified member account from Security
# Hub. This operation can be used to delete member accounts that are part
# of an organization or that were invited manually.
svc$delete_members(
AccountIds = list(
"123456789111",
"123456789222"
)
)
## End(Not run)