organizations_deregister_delegated_administrator: Removes the specified member AWS account as a delegated...

Description Usage Arguments Value Request syntax

View source: R/organizations_operations.R

Description

Removes the specified member AWS account as a delegated administrator for the specified AWS service.

Deregistering a delegated administrator can have unintended impacts on the functionality of the enabled AWS service. See the documentation for the enabled service before you deregister a delegated administrator so that you understand any potential impacts.

You can run this action only for AWS services that support this feature. For a current list of services that support it, see the column Supports Delegated Administrator in the table at AWS Services that you can use with AWS Organizations in the AWS Organizations User Guide.

This operation can be called only from the organization's management account.

Usage

1
2

Arguments

AccountId

[required] The account ID number of the member account in the organization that you want to deregister as a delegated administrator.

ServicePrincipal

[required] The service principal name of an AWS service for which the account is a delegated administrator.

Delegated administrator privileges are revoked for only the specified AWS service from the member account. If the specified service is the only service for which the member account is a delegated administrator, the operation also revokes Organizations read action permissions.

Value

An empty list.

Request syntax

1
2
3
4
svc$deregister_delegated_administrator(
  AccountId = "string",
  ServicePrincipal = "string"
)

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