Okta Admin Management API
/Access Controls
/- Create a policy branch
Branch workflow
Policy Branching
List all policy branches
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
Restore a policy branch
List all rules in a policy history entry
Create a policy branch
Creates a new branch for a policy. It's created with a DRAFT status.
Each policy can only have one draft or staged branch at a time. This request fails with a 409 conflict error if a DRAFT or STAGED branch already exists for the policy.
Only applicable to ACCESS_POLICY type policies.
POST
curl -i -X POST \
https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches \
-H 'Content-Type: application/json' \
-d '{
"name": "Q3 Authentication Improvements",
"description": "Testing new authentication flow with enhanced verification"
}'Created
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": "rst4n0yza36jdLEp1wl2", "status": "ACTIVE", "name": "Q3 Authentication Improvements", "description": "Testing new authentication flow with enhanced verification", "priority": 1, "system": false, "type": "ACCESS_POLICY", "conditions": null, "created": "2026-05-06T12:30:00.000Z", "lastUpdated": "2026-05-06T12:30:00.000Z", "branchInformation": { "id": "rsb4n0yza36jdLEp1wl", "status": "DRAFT" }, "_links": { "self": { … }, "rules": { … }, "stage": { … }, "promote": { … } } }