Deleting Links to Invited Child Tenancies
Use the link termination workflow to remove an invited child tenancy.
As a parent tenancy, you can remove an invited child tenancy from the organization. Only invited child tenancies can be removed.
Removing an invited child tenancy unlinks the tenancy from the organization so that the parent doesn't have cost or governance access. For created child tenancies, you can transfer the tenancy to another organization by using the CLI. For more information about using the oci organizations organization-tenancy approve-organization-tenancy-for-transfer and oci organizations organization-tenancy unapprove-organization-tenancy-for-transfer commands, see Approving a Created Child Tenancy for Transfer.
By removing the invited child tenancy, the parent tenancy can no longer manage it. The parent tenancy can't view the invited child tenancy's future cost and usage information, nor manage its subscription mapping. If you want the child tenancy to consume from another subscription that's within the organization, you don't need to remove the tenancy. Instead, you can use subscription mapping to map the tenancy to another subscription.
To remove an invited child tenancy, you first need to remove it from organization governance, use the Subscription Mapping page to assign the tenancy back to its original subscription, and then remove the tenancy from the Tenancies page after the tenancy has been remapped to its original subscription.
To remove an invited child tenancy, follow these steps:
The child tenancy is removed from the organization with its original subscription. Because you mapped the child tenancy back to its original subscription, the tenancy now consumes from its own subscription, and is responsible for paying for the subscription usage. Furthermore, because the tenancy has been removed from the organization, it now becomes a standalone parent tenancy of its own, which is indicated on the removed tenancy's own Tenancies page (under Tenancy name, Parent tenancy is indicated).
Use the oci organizations link delete command and required parameters to start a link termination workflow:
oci organizations link delete --link-id [test] [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the DeleteLink operation to start a link termination workflow.