Skip to content

Activate a policy branch rule

Request

Early AccessIdentity Engine
OAuth 2.0 scope:
  • okta.policies.manage

Activates a rule in a policy branch. Active rules are evaluated during branch monitoring and enforced when the branch is promoted to LIVE.

Only applicable to ACCESS_POLICY type policies.

Path
policyIdstringrequired

id of the ACCESS_POLICY

Example:rst1d7xus97faIAgmti0
branchIdstringrequired

id of the policy branch

Example:rsb1d7xus97faIAgmti
ruleIdstringrequired

id of the policy rule

Example:ruld3hJ7jZh4fn0st0g3
POST
/api/v1/policies/{policyId}/branches/{branchId}/rules/{ruleId}/lifecycle/activate
curl -i -X POST \
  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules/ruld3hJ7jZh4fn0st0g3/lifecycle/activate

Responses

No Content

Response
No content