organizations_remove_account_from_organization: Removes the specified account from the organization

Description Usage Arguments Value Request syntax Examples

View source: R/organizations_operations.R

Description

Removes the specified account from the organization.

The removed account becomes a standalone account that isn't a member of any organization. It's no longer subject to any policies and is responsible for its own bill payments. The organization's management account is no longer charged for any expenses accrued by the member account after it's removed from the organization.

This operation can be called only from the organization's management account. Member accounts can remove themselves with leave_organization instead.

Usage

1

Arguments

AccountId

[required] The unique identifier (ID) of the member account that you want to remove from the organization.

The regex pattern for an account ID string requires exactly 12 digits.

Value

An empty list.

Request syntax

1
2
3
svc$remove_account_from_organization(
  AccountId = "string"
)

Examples

1
2
3
4
5
6
7
8
## Not run: 
# The following example shows you how to remove an account from an
# organization:
svc$remove_account_from_organization(
  AccountId = "333333333333"
)

## End(Not run)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.