Skip to content

Deactivate a policy rule

Request

OAuth 2.0 scope:
  • okta.policies.manage

Deactivates a policy rule identified by policyId and ruleId

Path
policyIdstringrequired

id of the policy

Example:00plrilJ7jZ66Gn0X0g3
ruleIdstringrequired

id of the policy rule

Example:ruld3hJ7jZh4fn0st0g3
curl -i -X POST \
  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/rules/ruld3hJ7jZh4fn0st0g3/lifecycle/deactivate

Responses

No Content

Response
No content