Skip to content

Delete a policy branch rule

Request

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

Deletes a rule from a policy branch. You can't delete a rule from a LIVE branch. If you need to delete a rule from a LIVE branch, use the Delete a policy rule endpoint instead.

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
DELETE
/api/v1/policies/{policyId}/branches/{branchId}/rules/{ruleId}
curl -i -X DELETE \
  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules/ruld3hJ7jZh4fn0st0g3

Responses

No Content

Response
No content