- Promote a policy branch
Promotes a DRAFT or STAGED branch to LIVE status, replacing the existing live branch. You can only have one LIVE branch for a policy at a time.
If the current LIVE branch has been modified since this branch was created, the request returns a 409 conflict error. Use the ignoreConflict=true query parameter to promote anyway and overwrite those changes.
Only applicable to ACCESS_POLICY type policies.
curl -i -X POST \
'https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/lifecycle/promote?ignoreConflict=false' \
-H 'Content-Type: application/json' \
-d '{
"comments": "Promoting Q2 security updates to production after successful staging"
}'Success
status
Policy conditions aren't supported for ACCESS_POLICY. Conditions are applied at the rule level.
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.
Policy type. Branching is only supported for ACCESS_POLICY policies.
{ "id": "rst2k8pqr14hbJCnzuj0", "status": "ACTIVE", "name": "Q2 Security Updates - Final", "description": "Ready for production deployment after successful testing", "priority": 1, "system": false, "type": "ACCESS_POLICY", "conditions": null, "created": "2026-04-01T10:15:30.000Z", "lastUpdated": "2026-05-06T14:00:00.000Z", "branchInformation": { "id": "rsb2k8pqr14hbJCnzuj", "status": "LIVE", "comments": "Promoting Q2 security updates to production after successful staging" }, "_links": { "self": { … }, "rules": { … } } }