capabilities.work

Create Policy with Rule and Activate

A 3-step recipe with Okta. We can help you get access.

Recipe · 3 steps

Create Policy with Rule and Activate

with Okta · Identity & Access Management

Create a policy, attach a rule, and activate it.

  1. Create a policy of the supplied type without activating it yet.
  2. Create a rule under the newly created policy to define its behavior.
  3. Activate the policy now that it has a rule, so it begins taking effect.
What you'll need to have ready
  • oktaApiToken: Okta API token used for the SSWS Authorization header.
  • policyType: The policy type (e.g. OKTA_SIGN_ON, PASSWORD, ACCESS_POLICY, MFA_ENROLL).
  • policyName: The display name of the policy.
  • policyDescription: An optional description for the policy.
  • ruleName: The display name of the rule to attach to the policy.
For your developer

Arazzo workflow okta:create-policy-with-rule, 3 operations: createPolicy → createPolicyRule → activatePolicy. Specs on APIs.io.