/AWS1/IF_ORG=>DEREGDELEGATEDADMINISTRATOR()
¶
About DeregisterDelegatedAdministrator¶
Removes the specified member Amazon Web Services account as a delegated administrator for the specified Amazon Web Services service.
Deregistering a delegated administrator can have unintended impacts on the functionality of the enabled Amazon Web Services 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 Amazon Web Services services that support this feature. For a current list of services that support it, see the column Supports Delegated Administrator in the table at Amazon Web Services Services that you can use with Organizations in the Organizations User Guide.
This operation can be called only from the organization's management account.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_accountid
TYPE /AWS1/ORGACCOUNTID
/AWS1/ORGACCOUNTID
¶
The account ID number of the member account in the organization that you want to deregister as a delegated administrator.
iv_serviceprincipal
TYPE /AWS1/ORGSERVICEPRINCIPAL
/AWS1/ORGSERVICEPRINCIPAL
¶
The service principal name of an Amazon Web Services service for which the account is a delegated administrator.
Delegated administrator privileges are revoked for only the specified Amazon Web Services 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.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->/aws1/if_org~deregdelegatedadministrator(
iv_accountid = |string|
iv_serviceprincipal = |string|
).