Skip to content

Delete a policy branch

Request

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

Deletes a policy branch.

You can't delete a policy branch that has a LIVE status. If you need to delete a LIVE app sign-in policy, use the Delete a policy 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
DELETE
/api/v1/policies/{policyId}/branches/{branchId}
curl -i -X DELETE \
  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti

Responses

No Content

Response
No content