- Update an app instance's password rotation strategy
- resource_admin
Updates the password rotation strategy for the app instance. Returns the updated app instance.
Notes: Each app instance supports only one password rotation strategy. Don't change this strategy unless you fully understand the consequences. If you misconfigure it, you make accounts inaccessible that require manual recovery. For most deployments,
USING_ADMINis the recommended default. UseUSING_EXISTING_PASSWORDonly for on-premise apps managed by the Okta Provisioning Agent that explicitly require the previous password to set a new one.
- Production serverhttps://{org_name}.pam.okta.com/v1/teams/{team_name}/connections/saas_apps/{saas_app_instance_id}
curl -i -X PATCH \
'https://{org_name}.pam.okta.com/v1/teams/{team_name}/connections/saas_apps/{saas_app_instance_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"password_rotation_strategy": "USING_ADMIN"
}'OK
The URL of the logo for the global app that the instance belongs to. This URL is obtained from the app definition in the OIN catalog.
A timestamp indicating when the app instance was created
Name of the global app that the instance belongs to. This name is obtained from the app definition in the OIN catalog.
Determines the method to use for rotating a password for a SaaS app instance
| Enum Value | Description |
|---|---|
| USING_ADMIN | Rotate using an admin account |
| USING_EXISTING_PASSWORD | Rotate using the account's current password |
{ "app_instance_id": "string", "app_instance_name": "string", "app_instance_orn": "string", "app_login_url": "string", "app_logo_url": "string", "created_at": "2019-08-24T14:15:22Z", "global_app_name": "string", "password_rotation_strategy": "USING_ADMIN", "team_id": "string", "updated_at": "2019-08-24T14:15:22Z" }