OCI Organizations API — Governance ops (Tenant Manager Control Plane).
Two opt-in/opt-out actions on an organization's child tenancy, served by
the dedicated GovernanceClient:
add-governance — opt the tenancy in to organization governance rulesremove-governance — opt the tenancy out of organization governance rulesBoth are async (202 + opcWorkRequestId) and take no body. Path shape is
/organizations/{organizationId}/tenancies/{organizationTenancyId}/actions/<add|remove>Governance.
Region routing follows the rest of the Organizations namespace tree —
(:region opts) > organization OCID's region segment > singleton default.
OCI Organizations API — Governance ops (Tenant Manager Control Plane).
Two opt-in/opt-out actions on an organization's child tenancy, served by
the dedicated `GovernanceClient`:
- `add-governance` — opt the tenancy in to organization governance rules
- `remove-governance` — opt the tenancy out of organization governance rules
Both are async (202 + `opcWorkRequestId`) and take no body. Path shape is
`/organizations/{organizationId}/tenancies/{organizationTenancyId}/actions/<add|remove>Governance`.
Region routing follows the rest of the Organizations namespace tree —
`(:region opts)` > organization OCID's region segment > singleton default.(add-governance organization-id organization-tenancy-id)(add-governance organization-id organization-tenancy-id opts)Opts the child organization-tenancy-id into the organization's
governance rules (async).
Returns {:data {:opcWorkRequestId "..."}} or {:error ...}.
Options: :region — region-id or 3-letter code :if-match — etag for optimistic concurrency :opc-retry-token — idempotency token (expires after 24h)
Opts the child `organization-tenancy-id` into the organization's
governance rules (async).
Returns `{:data {:opcWorkRequestId "..."}}` or `{:error ...}`.
Options:
:region — region-id or 3-letter code
:if-match — etag for optimistic concurrency
:opc-retry-token — idempotency token (expires after 24h)(remove-governance organization-id organization-tenancy-id)(remove-governance organization-id organization-tenancy-id opts)Opts the child organization-tenancy-id out of the organization's
governance rules (async).
Returns {:data {:opcWorkRequestId "..."}} or {:error ...}.
Opts the child `organization-tenancy-id` out of the organization's
governance rules (async).
Returns `{:data {:opcWorkRequestId "..."}}` or `{:error ...}`.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |