Okta Admin Management API
/Access Controls
/- Replace a policy branch
Branch workflow
Policy Branching
List all policy branches
Create a policy branch
Retrieve 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
Restore a policy branch
List all rules in a policy history entry
Replace a policy branch
Replaces the name, description, or comments of a policy branch.
You can update the monitoring time period of STAGED branches with this endpoint.
Only applicable to ACCESS_POLICY type policies.
Description of the policy branch
Example:"Testing stricter authentication requirements for Q2"
PUT
curl -i -X PUT \
https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti \
-H 'Content-Type: application/json' \
-d '{
"name": "Q2 Security Updates - Final",
"description": "Ready for production deployment after successful testing",
"branchInformation": {
"id": "rsb2k8pqr14hbJCnzuj",
"status": "STAGED",
"comments": "Approved by security team for staging",
"settings": {
"monitoring": {
"expiry": "2026-08-15T00:00:00.000Z"
}
}
}
}'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": "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-06T13:45:00.000Z", "branchInformation": { "id": "rsb2k8pqr14hbJCnzuj", "status": "STAGED", "comments": "Approved by security team for staging", "settings": { … } }, "_links": { "self": { … }, "rules": { … }, "promote": { … } } }