Skip to content

Deactivate a policy branch rule

Request

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

Deactivates a rule in a policy branch. Inactive rules are excluded from monitoring evaluation and won't be enforced if 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/deactivate
curl -i -X POST \
  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules/ruld3hJ7jZh4fn0st0g3/lifecycle/deactivate

Responses

No Content

Response
No content