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 37 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.2.0, 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.2.0
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
List policies
listPolicies 3 params → 200
POST
/api/v1/policies
Create policy
createPolicy 1 param body → 200
GET
/api/v1/policies/{policyId}
Get policy
getPolicy 2 params → 200
PUT
/api/v1/policies/{policyId}
Update policy
updatePolicy 1 param body → 200
DELETE
/api/v1/policies/{policyId}
Delete policy
deletePolicy 1 param → 200
POST
/api/v1/policies/{policyId}/lifecycle/activate
Activate policy
activatePolicy 1 param → 204
POST
/api/v1/policies/{policyId}/lifecycle/deactivate
Deactivate policy
deactivatePolicy 1 param → 204
GET
/api/v1/policies/{policyId}/rules
List policy rules
listPolicyRules 1 param → 200
POST
/api/v1/policies/{policyId}/rules
Create policy rule
createPolicyRule 1 param body → 200
GET
/api/v1/policies/{policyId}/rules/{ruleId}
Get policy rule
getPolicyRule 2 params → 200
PUT
/api/v1/policies/{policyId}/rules/{ruleId}
Update policy rule
updatePolicyRule 2 params body → 200
DELETE
/api/v1/policies/{policyId}/rules/{ruleId}
Delete policy rule
deletePolicyRule 2 params → 204
POST
/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate
Activate policy rule
activatePolicyRule 2 params → 200
POST
/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate
Deactivate 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.

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