Skip to content

Update a feature

Request

OAuth 2.0 scope:
  • okta.apps.manage

Updates a Feature object for an app

Note: This endpoint supports partial updates.

Path
appIdstringrequired

Application ID

Example:0oafxqCAJWWGELFTYASJ
featureNamestring(ApplicationFeatureType)required

Name of the Feature

Enum:"USER_PROVISIONING""INBOUND_PROVISIONING"
Example:USER_PROVISIONING
Bodyapplication/jsonrequired
One of:

Defines the configurations for the USER_PROVISIONING feature

createobject(CapabilitiesCreateObject)

Determines whether Okta assigns a new app account to each user managed by Okta.

Okta doesn't create a new account if it detects that the username specified in Okta already exists in the app. The user's Okta username is assigned by default.

updateobject(CapabilitiesUpdateObject)

Determines whether updates to a user's profile are pushed to the app

curl -i -X PUT \
  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/features/USER_PROVISIONING \
  -H 'Content-Type: application/json' \
  -d '{
    "create": {
      "lifecycleCreate": {
        "status": "ENABLED"
      }
    },
    "update": {
      "lifecycleDeactivate": {
        "status": "ENABLED"
      },
      "profile": {
        "status": "ENABLED"
      },
      "password": {
        "status": "ENABLED",
        "seed": "RANDOM",
        "change": "CHANGE"
      }
    }
  }'

Responses

Success

Bodyapplication/json
descriptionstringread-only

Description of the feature

Example:"Settings for provisioning users from Okta to a downstream app"
namestring(ApplicationFeatureType)

Key name of the feature

Feature nameDescription
USER_PROVISIONINGUser profiles are pushed from Okta to the third-party app. Represents the To App provisioning feature setting in the Admin Console.
INBOUND_PROVISIONINGUser 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:

Enum:"USER_PROVISIONING""INBOUND_PROVISIONING"
Example:"USER_PROVISIONING"
Discriminator
statusstring(EnabledStatus)read-only

Setting status

Default:"DISABLED"
Enum:"DISABLED""ENABLED"
Example:"ENABLED"
capabilitiesobject(USER_PROVISIONING)

Defines the configurations for the USER_PROVISIONING feature

Response
{ "name": "USER_PROVISIONING", "status": "ENABLED", "description": "User provisioning settings from Okta to a downstream application", "capabilities": { "create": { … }, "update": { … } }, "_links": { "self": { … } } }