Skip to main content

features

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

Overview​

Namefeatures
TypeResource
Idokta.apps.features

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringKey name of the feature | Feature name | Description | | --------- | ------------- | | USER_PROVISIONING | User profiles are pushed from Okta to the third-party app. Represents the To App provisioning feature setting in the Admin Console. | | INBOUND_PROVISIONING | User profiles are imported from the third-party app into Okta. This feature represents the To Okta provisioning feature setting in the Admin Console. | Select the feature: (USER_PROVISIONING, INBOUND_PROVISIONING) (example: USER_PROVISIONING)
_linksobjectSpecifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
descriptionstringDescription of the feature (example: Settings for provisioning users from Okta to a downstream app)
statusstringSetting status (DISABLED, ENABLED) (default: DISABLED, example: ENABLED)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_feature_for_applicationselectappId, featureName, subdomainRetrieves a Feature object for an app
list_features_for_applicationselectappId, subdomainLists all features for an app
> Note: This request returns an error if provisioning isn't enabled for the app.
> To set up provisioning, see Update the default provisioning connection.
update_feature_for_applicationreplaceappId, featureName, subdomain, importSettings, importRulesUpdates a Feature object for an app
> Note: This endpoint supports partial updates.

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
appIdstringApplication ID
featureNamestringName of the Feature
subdomainstring(default: my-org)

SELECT examples​

Retrieves a Feature object for an app

SELECT
name,
_links,
description,
status
FROM okta.apps.features
WHERE appId = '{{ appId }}' -- required
AND featureName = '{{ featureName }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;

REPLACE examples​

Updates a Feature object for an app
> Note: This endpoint supports partial updates.

REPLACE okta.apps.features
SET
create = '{{ create }}',
update = '{{ update }}',
importRules = '{{ importRules }}',
importSettings = '{{ importSettings }}'
WHERE
appId = '{{ appId }}' --required
AND featureName = '{{ featureName }}' --required
AND subdomain = '{{ subdomain }}' --required
AND importSettings = '{{ importSettings }}' --required
AND importRules = '{{ importRules }}' --required
RETURNING
name,
_links,
description,
status;