Okta Admin Management API
/Access Controls
/- Restore a policy branch
Branch workflow
Policy Branching
List all policy branches
Create a policy branch
Retrieve a policy branch
Replace a policy branch
Delete a policy branch
Promote a policy branch
Preview a policy branch promotion
Stage a policy branch
List all policy branch rules
Create a policy branch rule
Retrieve a policy branch rule
Replace a policy branch rule
Delete a policy branch rule
Activate a policy branch rule
Deactivate a policy branch rule
List the policy's branch history
Retrieve a policy history entry
List all rules in a policy history entry
Restore a policy branch
Restores a previously live branch from the policy's branch history back to LIVE status, replacing the current LIVE branch.
Only applicable to ACCESS_POLICY type policies.
POST
curl -i -X POST \
https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/history/rsb1d7xus97faIAgmti/lifecycle/rollback \
-H 'Content-Type: application/json' \
-d '{
"comments": "Rolling back due to performance issues identified in production"
}'Success
status
Policy conditions aren't supported for ACCESS_POLICY. Conditions are applied at the rule level.
Default:null
Specifies the order in which this policy is evaluated in relation to the other policies
Whether or not the policy is active. Use the activate query parameter to set the status of a policy.
Enum:"ACTIVE""INACTIVE"
Policy type. Branching is only supported for ACCESS_POLICY policies.
Value:"ACCESS_POLICY"
Response
{ "id": "rst3m9wxy25icKDo0vk1", "status": "ACTIVE", "name": "MFA Pilot Test", "description": "Testing enhanced MFA requirements for pilot users", "priority": 1, "system": false, "type": "ACCESS_POLICY", "conditions": null, "created": "2026-03-10T09:00:00.000Z", "lastUpdated": "2026-05-06T15:30:00.000Z", "branchInformation": { "id": "rsb3m9wxy25icKDo0vk", "status": "LIVE", "comments": "Rolling back due to performance issues identified in production" }, "_links": { "self": { … }, "rules": { … } } }