How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Okta Policy API

The Policy API from Okta — 8 operation(s) for policy.

Okta Policy API is one of 28 APIs that Okta publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Policy. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, authentication docs, rate-limit docs, a JSON-LD context, and 4 JSON Schemas.

This API exposes 14 operations across 8 paths, and defines 47 schemas. It is described by OpenAPI 3.0.1, at version 2.16.0.

Requests are made against a single base URL, https://your-subdomain.okta.com/.

14 operations 8 paths 47 schemas 2 DELETE4 GET6 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
2.16.0
Base URL
https://your-subdomain.okta.com
Authentication
API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Okta Policy API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (api_token).

  • api_token — SSWS {API Token}

Paths & Operations 14

Across 8 paths, the API surfaces 14 operations — 2 DELETE, 4 GET, 6 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Policy 14
GET
/api/v1/policies
Gets all policies with the specified type.
listPolicies 3 params → 200
POST
/api/v1/policies
Creates a policy.
createPolicy 1 param body → 200
GET
/api/v1/policies/{policyId}
Gets a policy.
getPolicy 2 params → 200
PUT
/api/v1/policies/{policyId}
Updates a policy.
updatePolicy 1 param body → 200
DELETE
/api/v1/policies/{policyId}
Removes a policy.
deletePolicy 1 param → 200
POST
/api/v1/policies/{policyId}/lifecycle/activate
Activates a policy.
activatePolicy 1 param → 204
POST
/api/v1/policies/{policyId}/lifecycle/deactivate
Deactivates a policy.
deactivatePolicy 1 param → 204
GET
/api/v1/policies/{policyId}/rules
Enumerates all policy rules.
listPolicyRules 1 param → 200
POST
/api/v1/policies/{policyId}/rules
Creates a policy rule.
createPolicyRule 1 param body → 200
GET
/api/v1/policies/{policyId}/rules/{ruleId}
Gets a policy rule.
getPolicyRule 2 params → 200
PUT
/api/v1/policies/{policyId}/rules/{ruleId}
Updates a policy rule.
updatePolicyRule 2 params body → 200
DELETE
/api/v1/policies/{policyId}/rules/{ruleId}
Removes a policy rule.
deletePolicyRule 2 params → 204
POST
/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate
Activates a policy rule.
activatePolicyRule 2 params → 200
POST
/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate
Deactivates a policy rule.
deactivatePolicyRule 2 params → 204

Schemas 47

The contract defines 47 schemas that model the data the API accepts and returns. The most detailed are PolicyRuleConditions (21 properties), Policy (12 properties), PolicyRule (10 properties), OktaSignOnPolicyRuleSignonActions (6 properties). Each schema is shown below with its type and property counts.

InactivityPolicyRuleCondition
object
2 properties
MDMEnrollmentPolicyRuleCondition
object
2 properties
PolicyRule
object
10 properties
BeforeScheduledActionPolicyRuleCondition
object
2 properties
OktaSignOnPolicyRuleSignonSessionActions
object
3 properties
GroupCondition
object
2 properties
PolicyRuleActionsEnroll
object
1 property
DevicePolicyRuleCondition
object
4 properties
PasswordPolicyAuthenticationProviderCondition
object
2 properties
AppAndInstanceConditionEvaluatorAppOrInstance
object
3 properties
ScheduledUserLifecycleAction
object
1 property
PolicyNetworkCondition
object
3 properties
PlatformConditionEvaluatorPlatformOperatingSystem
object
3 properties
UserLifecycleAttributePolicyRuleCondition
object
2 properties
Duration
object
2 properties
PlatformConditionEvaluatorPlatformOperatingSystemVersion
object
2 properties
IdentityProviderPolicyRuleCondition
object
2 properties
PolicyRuleActionsEnrollSelf
string
AppAndInstancePolicyRuleCondition
object
2 properties
PlatformConditionEvaluatorPlatform
object
2 properties
AppInstancePolicyRuleCondition
object
2 properties
UserIdentifierPolicyRuleCondition
object
3 properties
RiskPolicyRuleCondition
object
1 property
PolicyType
string
UserPolicyRuleCondition
object
6 properties
RiskScorePolicyRuleCondition
object
1 property
PolicyRuleAuthContextCondition
object
1 property
ContextPolicyRuleCondition
object
1 property
GrantTypePolicyRuleCondition
object
1 property
OAuth2ScopesMediationPolicyRuleCondition
object
1 property
LifecycleExpirationPolicyRuleCondition
object
3 properties
IdpPolicyRuleAction
object
1 property
OktaSignOnPolicyRuleSignonActions
object
6 properties
GroupPolicyRuleCondition
object
2 properties
ClientPolicyCondition
object
1 property
PolicyRuleActions
object
6 properties
Policy
object
12 properties
UserStatusPolicyRuleCondition
object
1 property
DevicePolicyRuleConditionPlatform
object
2 properties
IdpPolicyRuleActionProvider
object
2 properties
UserIdentifierConditionEvaluatorPattern
object
2 properties
PasswordPolicyRuleAction
object
1 property
UserCondition
object
2 properties
PolicyPeopleCondition
object
2 properties
PlatformPolicyRuleCondition
object
2 properties
PasswordExpirationPolicyRuleCondition
object
2 properties
PolicyRuleConditions
object
21 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

okta-policy-api-openapi.yml Raw ↑

Other APIs Okta publishes across the network.

Cross-App Access (XAA)
Okta for AI Agents
Okta Application API
Okta Authenticator API
Okta AuthorizationServer API
Okta Brand API
Okta Domain API
Okta EventHook API
Okta Feature API
Okta Group API
Okta GroupSchema API
Okta IdentityProvider API
Where this information came from

This is an independent, third-party profile of Okta Policy API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.