Skip to main content

governance_bundles

Creates, updates, deletes, gets or lists a governance_bundles resource.

Overview

Namegovernance_bundles
TypeResource
Idokta.iam.governance_bundles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
_links
bundlesarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_governance_bundlesselectsubdomainafter, limitLists all Governance Bundles for the Admin Console in your org
get_governance_bundleselectsubdomainRetrieves a Governance Bundle from RAMP
create_governance_bundleinsertsubdomainCreates a Governance Bundle for the Admin Console in RAMP
replace_governance_bundlereplacesubdomainReplaces a Governance Bundle in RAMP
delete_governance_bundledeletesubdomainDeletes a Governance Bundle from RAMP

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subdomainstringThe domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org)
afterstringThe cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination.
limitintegerA limit on the number of objects to return

SELECT examples

Lists all Governance Bundles for the Admin Console in your org

SELECT
_links,
bundles
FROM okta.iam.governance_bundles
WHERE subdomain = '{{ subdomain }}' -- required
AND after = '{{ after }}'
AND limit = '{{ limit }}'
;

INSERT examples

Creates a Governance Bundle for the Admin Console in RAMP

INSERT INTO okta.iam.governance_bundles (
data__description,
data__entitlements,
data__name,
subdomain
)
SELECT
'{{ description }}',
'{{ entitlements }}',
'{{ name }}',
'{{ subdomain }}'
RETURNING
id,
name,
_links,
description,
orn,
status
;

REPLACE examples

Replaces a Governance Bundle in RAMP

REPLACE okta.iam.governance_bundles
SET
data__description = '{{ description }}',
data__entitlements = '{{ entitlements }}',
data__name = '{{ name }}'
WHERE
subdomain = '{{ subdomain }}' --required
RETURNING
id,
name,
_links,
description,
orn,
status
;

DELETE examples

Deletes a Governance Bundle from RAMP

DELETE FROM okta.iam.governance_bundles
WHERE subdomain = '{{ subdomain }}' --required
;