Query structured spec data via REST or MCP. Get exactly what your agent needs.
https://your-subdomain.okta.com
/api/v1/apps
Adds a new application to your Okta organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| activate | query | optional | boolean | Executes activation lifecycle operation when creating the app |
| OktaAccessGateway-Agent | header | optional | string | — |
application/json
Application
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| label | string | optional |
| _links | object | optional |
| status | string | optional |
| created | string | optional |
| profile | object | optional |
| features | array | optional |
| settings | object | optional |
| └ app | object | optional |
| └ url | string | optional |
| └ acsUrl | string | optional |
| └ orgName | string | optional |
| └ buttonField | string | optional |
| └ loginUrlRegex | string | optional |
| └ passwordField | string | optional |
| └ usernameField | string | optional |
| └ notes | object | optional |
| └ admin | string | optional |
| └ enduser | string | optional |
| └ inlineHookId | string | optional |
| └ notifications | object | optional |
| └ vpn | object | optional |
| └ helpUrl | string | optional |
| └ message | string | optional |
| └ network | object | optional |
| └ implicitAssignment | boolean | optional |
| _embedded | object | optional |
| licensing | object | optional |
| └ seatCount | integer | optional |
| signOnMode | string | optional |
| visibility | object | optional |
| └ hide | object | optional |
| └ iOS | boolean | optional |
| └ web | boolean | optional |
| └ appLinks | object | optional |
| └ autoLaunch | boolean | optional |
| └ autoSubmitToolbar | boolean | optional |
| credentials | object | optional |
| └ signing | object | optional |
| └ kid | string | optional |
| └ use | string | optional |
| └ lastRotated | string | optional |
| └ nextRotation | string | optional |
| └ rotationMode | string | optional |
| └ userNameTemplate | object | optional |
| └ type | string | optional |
| └ suffix | string | optional |
| └ template | string | optional |
| └ pushStatus | string | optional |
| lastUpdated | string | optional |
| accessibility | object | optional |
| └ selfService | boolean | optional |
| └ errorRedirectUrl | string | optional |
| └ loginRedirectUrl | string | optional |
Success
POST /api/v1/apps
/api/v1/apps/{appId}/connections/default
Set default Provisioning Connection for application
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
| activate | query | optional | boolean | — |
application/json
ProvisioningConnectionRequest
| Property | Type | Required |
|---|---|---|
| profile | object | optional |
| └ token | string | optional |
| └ authScheme | string | optional |
Created
Bad Request
Not Found
POST /api/v1/apps/{appId}/connections/default
/api/v1/apps/{appId}/connections/default/lifecycle/activate
Activates the default Provisioning Connection for an application.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
No Content
Not Found
POST /api/v1/apps/{appId}/connections/default/lifecycle/activate
/api/v1/apps/{appId}/connections/default/lifecycle/deactivate
Deactivates the default Provisioning Connection for an application.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
No Content
Not Found
POST /api/v1/apps/{appId}/connections/default/lifecycle/deactivate
/api/v1/apps/{appId}/credentials/csrs
Generates a new key pair and returns the Certificate Signing Request for it.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
application/json
CsrMetadata
Created
POST /api/v1/apps/{appId}/credentials/csrs
/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
| csrId | path | required | string | — |
Created
POST /api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish
/api/v1/apps/{appId}/credentials/keys/generate
Generates a new X.509 certificate for an application key credential
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
| validityYears | query | optional | integer | — |
Created
POST /api/v1/apps/{appId}/credentials/keys/generate
/api/v1/apps/{appId}/credentials/keys/{keyId}/clone
Clones a X.509 certificate for an application key credential from a source application to target application.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
| keyId | path | required | string | — |
| targetAid | query | required | string | Unique key of the target Application |
Created
POST /api/v1/apps/{appId}/credentials/keys/{keyId}/clone
/api/v1/apps/{appId}/credentials/secrets
Adds a new secret to the client’s collection of secrets.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
application/json
ClientSecretMetadata
Created
POST /api/v1/apps/{appId}/credentials/secrets
/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/activate
Activates a specific client secret by secretId
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
| secretId | path | required | string | — |
Success
POST /api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/activate
/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/deactivate
Deactivates a specific client secret by secretId
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
| secretId | path | required | string | — |
Success
POST /api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/deactivate
/api/v1/apps/{appId}/grants
Grants consent for the application to request an OAuth 2.0 Okta scope
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
application/json
OAuth2ScopeConsentGrant
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| _links | object | optional |
| issuer | string | optional |
| source | string | optional |
| status | string | optional |
| userId | string | optional |
| created | string | optional |
| scopeId | string | optional |
| clientId | string | optional |
| _embedded | object | optional |
| createdBy | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| lastUpdated | string | optional |
Created
POST /api/v1/apps/{appId}/grants
/api/v1/apps/{appId}/lifecycle/activate
Activates an inactive application.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
Success
POST /api/v1/apps/{appId}/lifecycle/activate
/api/v1/apps/{appId}/lifecycle/deactivate
Deactivates an active application.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
Success
POST /api/v1/apps/{appId}/lifecycle/deactivate
/api/v1/apps/{appId}/logo
Update the logo for an application.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
multipart/form-data
ApplicationUpdateLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
Created
Bad Request
Not Found
POST /api/v1/apps/{appId}/logo
/api/v1/apps/{appId}/users
Assigns an user to an application with credentials and an app-specific profile. Profile mappings defined for the application are first applied before applying any profile properties specified in the request.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
application/json
AppUser
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| scope | string | optional |
| _links | object | optional |
| status | string | optional |
| created | string | optional |
| profile | object | optional |
| lastSync | string | optional |
| _embedded | object | optional |
| syncState | string | optional |
| externalId | string | optional |
| credentials | object | optional |
| └ password | object | optional |
| └ value | string | optional |
| └ userName | string | optional |
| lastUpdated | string | optional |
| statusChanged | string | optional |
| passwordChanged | string | optional |
Success
POST /api/v1/apps/{appId}/users
/api/v1/apps/{appId}/users/{userId}
Updates a user’s profile for an application
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appId | path | required | string | — |
| userId | path | required | string | — |
application/json
AppUser
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| scope | string | optional |
| _links | object | optional |
| status | string | optional |
| created | string | optional |
| profile | object | optional |
| lastSync | string | optional |
| _embedded | object | optional |
| syncState | string | optional |
| externalId | string | optional |
| credentials | object | optional |
| └ password | object | optional |
| └ value | string | optional |
| └ userName | string | optional |
| lastUpdated | string | optional |
| statusChanged | string | optional |
| passwordChanged | string | optional |
Success
POST /api/v1/apps/{appId}/users/{userId}
/api/v1/authenticators
Create Authenticator
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| activate | query | optional | boolean | — |
application/json
Authenticator
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| key | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| status | string | optional |
| created | string | optional |
| provider | object | optional |
| └ type | string | optional |
| └ configuration | object | optional |
| └ host | string | optional |
| └ authPort | integer | optional |
| └ hostName | string | optional |
| └ secretKey | string | optional |
| └ instanceId | string | optional |
| └ sharedSecret | string | optional |
| └ integrationKey | string | optional |
| └ userNameTemplate | object | optional |
| └ template | string | optional |
| settings | object | optional |
| └ allowedFor | string | optional |
| └ compliance | object | optional |
| └ fips | string | optional |
| └ appInstanceId | string | optional |
| └ channelBinding | object | optional |
| └ style | string | optional |
| └ required | string | optional |
| └ userVerification | string | optional |
| └ tokenLifetimeInMinutes | integer | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/authenticators
/api/v1/authenticators/{authenticatorId}/lifecycle/activate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authenticatorId | path | required | string | — |
Success
POST /api/v1/authenticators/{authenticatorId}/lifecycle/activate
/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authenticatorId | path | required | string | — |
Success
POST /api/v1/authenticators/{authenticatorId}/lifecycle/deactivate
/api/v1/authorizationServers
Success
application/json
AuthorizationServer
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| _links | object | optional |
| issuer | string | optional |
| status | string | optional |
| created | string | optional |
| default | boolean | optional |
| audiences | array | optional |
| issuerMode | string | optional |
| credentials | object | optional |
| └ signing | object | optional |
| └ kid | string | optional |
| └ use | string | optional |
| └ lastRotated | string | optional |
| └ nextRotation | string | optional |
| └ rotationMode | string | optional |
| description | string | optional |
| lastUpdated | string | optional |
Success
Created
POST /api/v1/authorizationServers
/api/v1/authorizationServers/{authServerId}/claims
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
application/json
OAuth2Claim
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| value | string | optional |
| _links | object | optional |
| status | string | optional |
| system | boolean | optional |
| claimType | string | optional |
| valueType | string | optional |
| conditions | object | optional |
| └ scopes | array | optional |
| group_filter_type | string | optional |
| alwaysIncludeInToken | boolean | optional |
Created
Success
POST /api/v1/authorizationServers/{authServerId}/claims
/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
application/json
JwkUse
Success
POST /api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate
/api/v1/authorizationServers/{authServerId}/lifecycle/activate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
Success
POST /api/v1/authorizationServers/{authServerId}/lifecycle/activate
/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
Success
POST /api/v1/authorizationServers/{authServerId}/lifecycle/deactivate
/api/v1/authorizationServers/{authServerId}/policies
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
application/json
AuthorizationServerPolicy
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| status | string | optional |
| system | boolean | optional |
| created | string | optional |
| priority | integer | optional |
| _embedded | object | optional |
| conditions | object | optional |
| └ app | object | optional |
| └ exclude | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ include | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ apps | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ risk | object | optional |
| └ behaviors | array | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ inactivity | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ passwordExpiration | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ lifecycleExpiration | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ lifecycleStatus | string | optional |
| └ userLifecycleAttribute | object | optional |
| └ attributeName | string | optional |
| └ matchingValue | string | optional |
| └ device | object | optional |
| └ rooted | boolean | optional |
| └ migrated | boolean | optional |
| └ platform | object | optional |
| └ types | array | optional |
| └ supportedMDMFrameworks | array | optional |
| └ trustLevel | string | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ people | object | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ scopes | object | optional |
| └ include | array | optional |
| └ clients | object | optional |
| └ include | array | optional |
| └ context | object | optional |
| └ expression | string | optional |
| └ network | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ connection | string | optional |
| └ platform | object | optional |
| └ exclude | array | optional |
| └ os | object | optional |
| └ type | string | optional |
| └ include | array | optional |
| └ os | object | optional |
| └ type | string | optional |
| └ riskScore | object | optional |
| └ level | string | optional |
| └ grantTypes | object | optional |
| └ include | array | optional |
| └ userStatus | object | optional |
| └ value | string | optional |
| └ authContext | object | optional |
| └ authType | string | optional |
| └ authProvider | object | optional |
| └ include | array | optional |
| └ provider | string | optional |
| └ mdmEnrollment | object | optional |
| └ enrollment | string | optional |
| └ blockNonSafeAndroid | boolean | optional |
| └ userIdentifier | object | optional |
| └ type | string | optional |
| └ patterns | array | optional |
| └ value | string | optional |
| └ matchType | string | optional |
| └ attribute | string | optional |
| └ identityProvider | object | optional |
| └ idpIds | array | optional |
| └ provider | string | optional |
| └ …1 more | object | optional |
| description | string | optional |
| lastUpdated | string | optional |
Success
Created
POST /api/v1/authorizationServers/{authServerId}/policies
/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate
Activate Authorization Server Policy
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
| policyId | path | required | string | — |
Success
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate
/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate
Deactivate Authorization Server Policy
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
| policyId | path | required | string | — |
Success
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate
/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules
Creates a policy rule for the specified Custom Authorization Server and Policy.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
| policyId | path | required | string | — |
application/json
AuthorizationServerPolicyRule
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| status | string | optional |
| system | boolean | optional |
| actions | object | optional |
| └ token | object | optional |
| └ inlineHook | object | optional |
| └ id | string | optional |
| └ refreshTokenWindowMinutes | integer | optional |
| └ accessTokenLifetimeMinutes | integer | optional |
| └ refreshTokenLifetimeMinutes | integer | optional |
| created | string | optional |
| priority | integer | optional |
| conditions | object | optional |
| └ people | object | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ scopes | object | optional |
| └ include | array | optional |
| └ clients | object | optional |
| └ include | array | optional |
| └ grantTypes | object | optional |
| └ include | array | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules
/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate
Activate Authorization Server Policy Rule
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
| policyId | path | required | string | — |
| ruleId | path | required | string | — |
Success
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate
/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate
Deactivate Authorization Server Policy Rule
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
| policyId | path | required | string | — |
| ruleId | path | required | string | — |
Success
POST /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate
/api/v1/authorizationServers/{authServerId}/scopes
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| authServerId | path | required | string | — |
application/json
OAuth2Scope
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| system | boolean | optional |
| consent | string | optional |
| default | boolean | optional |
| description | string | optional |
| displayName | string | optional |
| metadataPublish | string | optional |
Success
Success
POST /api/v1/authorizationServers/{authServerId}/scopes
/api/v1/brands/{brandId}/templates/email/{templateName}/customizations
Create an email customization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
application/json
EmailTemplateCustomizationRequest
Success
Conflict
POST /api/v1/brands/{brandId}/templates/email/{templateName}/customizations
/api/v1/brands/{brandId}/templates/email/{templateName}/test
Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
application/json
EmailTemplateTestRequest
No Content
POST /api/v1/brands/{brandId}/templates/email/{templateName}/test
/api/v1/brands/{brandId}/themes/{themeId}/background-image
Updates the background image for your Theme
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
multipart/form-data
ApplicationUpdateLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
Created
Bad Request
Not Found
POST /api/v1/brands/{brandId}/themes/{themeId}/background-image
/api/v1/brands/{brandId}/themes/{themeId}/favicon
Updates the favicon for your theme
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
multipart/form-data
ApplicationUpdateLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
Created
Bad Request
Not Found
POST /api/v1/brands/{brandId}/themes/{themeId}/favicon
/api/v1/brands/{brandId}/themes/{themeId}/logo
Updates the logo for your Theme
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
multipart/form-data
ApplicationUpdateLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
Success
Bad Request
Not Found
POST /api/v1/brands/{brandId}/themes/{themeId}/logo
/api/v1/domains
Creates your domain.
application/json
Domain
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| domain | string | optional |
| dnsRecords | array | optional |
| └ fqdn | string | optional |
| └ values | array | optional |
| └ expiration | string | optional |
| └ recordType | string | optional |
| validationStatus | string | optional |
| publicCertificate | object | optional |
| └ subject | string | optional |
| └ expiration | string | optional |
| └ fingerprint | string | optional |
| certificateSourceType | string | optional |
Success
POST /api/v1/domains
/api/v1/domains/{domainId}/verify
Verifies the Domain by id.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| domainId | path | required | string | — |
Success
POST /api/v1/domains/{domainId}/verify
/api/v1/eventHooks
Success
application/json
EventHook
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| _links | object | optional |
| events | object | optional |
| └ type | string | optional |
| └ items | array | optional |
| status | string | optional |
| channel | object | optional |
| └ type | string | optional |
| └ config | object | optional |
| └ uri | string | optional |
| └ headers | array | optional |
| └ key | string | optional |
| └ value | string | optional |
| └ authScheme | object | optional |
| └ key | string | optional |
| └ type | string | optional |
| └ value | string | optional |
| └ version | string | optional |
| created | string | optional |
| createdBy | string | optional |
| lastUpdated | string | optional |
| verificationStatus | string | optional |
Success
POST /api/v1/eventHooks
/api/v1/eventHooks/{eventHookId}/lifecycle/activate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
Success
POST /api/v1/eventHooks/{eventHookId}/lifecycle/activate
/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
Success
POST /api/v1/eventHooks/{eventHookId}/lifecycle/deactivate
/api/v1/eventHooks/{eventHookId}/lifecycle/verify
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
Success
POST /api/v1/eventHooks/{eventHookId}/lifecycle/verify
/api/v1/features/{featureId}/{lifecycle}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| featureId | path | required | string | — |
| lifecycle | path | required | string | — |
| mode | query | optional | string | — |
Success
POST /api/v1/features/{featureId}/{lifecycle}
/api/v1/groups
Adds a new group with OKTA_GROUP type to your organization.
application/json
Group
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| type | string | optional |
| _links | object | optional |
| created | string | optional |
| profile | object | optional |
| └ name | string | optional |
| └ description | string | optional |
| _embedded | object | optional |
| lastUpdated | string | optional |
| objectClass | array | optional |
| lastMembershipUpdated | string | optional |
Success
POST /api/v1/groups
/api/v1/groups/rules
Creates a group rule to dynamically add users to the specified group if they match the condition
application/json
GroupRule
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| status | string | optional |
| actions | object | optional |
| └ assignUserToGroups | object | optional |
| └ groupIds | array | optional |
| created | string | optional |
| conditions | object | optional |
| └ people | object | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ expression | object | optional |
| └ type | string | optional |
| └ value | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/groups/rules
/api/v1/groups/rules/{ruleId}/lifecycle/activate
Activates a specific group rule by id from your organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ruleId | path | required | string | — |
No Content
POST /api/v1/groups/rules/{ruleId}/lifecycle/activate
/api/v1/groups/rules/{ruleId}/lifecycle/deactivate
Deactivates a specific group rule by id from your organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ruleId | path | required | string | — |
No Content
POST /api/v1/groups/rules/{ruleId}/lifecycle/deactivate
/api/v1/groups/{groupId}/roles
Assigns a Role to a Group
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| disableNotifications | query | optional | boolean | — |
application/json
AssignRoleRequest
Success
Success
POST /api/v1/groups/{groupId}/roles
/api/v1/meta/schemas/group/default
Updates, adds ore removes one or more custom Group Profile properties in the schema
application/json
GroupSchema
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| title | string | optional |
| _links | object | optional |
| $schema | string | optional |
| created | string | optional |
| properties | object | optional |
| └ profile | object | optional |
| └ allOf | array | optional |
| definitions | object | optional |
| └ base | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ required | array | optional |
| └ properties | object | optional |
| └ name | object | optional |
| └ description | object | optional |
| └ custom | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ required | array | optional |
| └ properties | object | optional |
| description | string | optional |
| lastUpdated | string | optional |
successful operation
POST /api/v1/meta/schemas/group/default
/api/v1/idps
Adds a new IdP to your organization.
application/json
IdentityProvider
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| policy | object | optional |
| └ subject | object | optional |
| └ filter | string | optional |
| └ format | array | optional |
| └ matchType | string | optional |
| └ matchAttribute | string | optional |
| └ userNameTemplate | object | optional |
| └ template | string | optional |
| └ accountLink | object | optional |
| └ action | string | optional |
| └ filter | object | optional |
| └ groups | object | optional |
| └ maxClockSkew | integer | optional |
| └ provisioning | object | optional |
| └ action | string | optional |
| └ groups | object | optional |
| └ action | string | optional |
| └ filter | array | optional |
| └ assignments | array | optional |
| └ sourceAttributeName | string | optional |
| └ conditions | object | optional |
| └ suspended | object | optional |
| └ deprovisioned | object | optional |
| └ profileMaster | boolean | optional |
| status | string | optional |
| created | string | optional |
| protocol | object | optional |
| └ type | string | optional |
| └ issuer | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ scopes | array | optional |
| └ settings | object | optional |
| └ nameFormat | string | optional |
| └ endpoints | object | optional |
| └ acs | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ slo | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ sso | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ jwks | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ token | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ metadata | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ userInfo | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ authorization | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ algorithms | object | optional |
| └ request | object | optional |
| └ signature | object | optional |
| └ response | object | optional |
| └ signature | object | optional |
| └ relayState | object | optional |
| └ format | string | optional |
| └ credentials | object | optional |
| └ trust | object | optional |
| └ kid | string | optional |
| └ issuer | string | optional |
| └ audience | string | optional |
| └ revocation | string | optional |
| └ revocationCacheLifetime | integer | optional |
| └ client | object | optional |
| └ client_id | string | optional |
| └ client_secret | string | optional |
| └ signing | object | optional |
| └ kid | string | optional |
| └ teamId | string | optional |
| └ privateKey | string | optional |
| issuerMode | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/idps
/api/v1/idps/credentials/keys
Adds a new X.509 certificate credential to the IdP key store.
application/json
JsonWebKey
| Property | Type | Required |
|---|---|---|
| e | string | optional |
| n | string | optional |
| alg | string | optional |
| kid | string | optional |
| kty | string | optional |
| use | string | optional |
| x5c | array | optional |
| x5t | string | optional |
| x5u | string | optional |
| _links | object | optional |
| status | string | optional |
| created | string | optional |
| key_ops | array | optional |
| x5t#S256 | string | optional |
| expiresAt | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/idps/credentials/keys
/api/v1/idps/{idpId}/credentials/csrs
Generates a new key pair and returns a Certificate Signing Request for it.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
application/json
CsrMetadata
Created
POST /api/v1/idps/{idpId}/credentials/csrs
/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish
Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| csrId | path | required | string | — |
Created
POST /api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish
/api/v1/idps/{idpId}/credentials/keys/generate
Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| validityYears | query | required | integer | expiry of the IdP Key Credential |
Success
POST /api/v1/idps/{idpId}/credentials/keys/generate
/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone
Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| keyId | path | required | string | — |
| targetIdpId | query | required | string | — |
Created
POST /api/v1/idps/{idpId}/credentials/keys/{keyId}/clone
/api/v1/idps/{idpId}/lifecycle/activate
Activates an inactive IdP.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
Success
POST /api/v1/idps/{idpId}/lifecycle/activate
/api/v1/idps/{idpId}/lifecycle/deactivate
Deactivates an active IdP.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
Success
POST /api/v1/idps/{idpId}/lifecycle/deactivate
/api/v1/idps/{idpId}/users/{userId}
Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| userId | path | required | string | — |
application/json
UserIdentityProviderLinkRequest
| Property | Type | Required |
|---|---|---|
| externalId | string | optional |
Success
POST /api/v1/idps/{idpId}/users/{userId}
/api/v1/inlineHooks
Success
application/json
InlineHook
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| status | string | optional |
| channel | object | optional |
| └ type | string | optional |
| └ config | object | optional |
| └ uri | string | optional |
| └ method | string | optional |
| └ headers | array | optional |
| └ key | string | optional |
| └ value | string | optional |
| └ authScheme | object | optional |
| └ key | string | optional |
| └ type | string | optional |
| └ value | string | optional |
| └ version | string | optional |
| created | string | optional |
| version | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/inlineHooks
/api/v1/inlineHooks/{inlineHookId}/execute
Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
application/json
InlineHookPayload
Success
POST /api/v1/inlineHooks/{inlineHookId}/execute
/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate
Activates the Inline Hook matching the provided id
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
Success
POST /api/v1/inlineHooks/{inlineHookId}/lifecycle/activate
/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate
Deactivates the Inline Hook matching the provided id
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
Success
POST /api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate
/api/v1/meta/schemas/user/linkedObjects
Success
application/json
LinkedObject
| Property | Type | Required |
|---|---|---|
| _links | object | optional |
| primary | object | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ title | string | optional |
| └ description | string | optional |
| associated | object | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ title | string | optional |
| └ description | string | optional |
Created
POST /api/v1/meta/schemas/user/linkedObjects
/api/v1/zones
Adds a new network zone to your Okta organization.
application/json
NetworkZone
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| asns | array | optional |
| name | string | optional |
| type | string | optional |
| usage | string | optional |
| _links | object | optional |
| status | string | optional |
| system | boolean | optional |
| created | string | optional |
| proxies | array | optional |
| └ type | string | optional |
| └ value | string | optional |
| gateways | array | optional |
| └ type | string | optional |
| └ value | string | optional |
| locations | array | optional |
| └ region | string | optional |
| └ country | string | optional |
| proxyType | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/zones
/api/v1/zones/{zoneId}/lifecycle/activate
Activate Network Zone
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| zoneId | path | required | string | — |
Success
POST /api/v1/zones/{zoneId}/lifecycle/activate
/api/v1/zones/{zoneId}/lifecycle/deactivate
Deactivates a network zone.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| zoneId | path | required | string | — |
Success
POST /api/v1/zones/{zoneId}/lifecycle/deactivate
/api/v1/org
Partial update settings of your organization.
application/json
OrgSetting
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| city | string | optional |
| state | string | optional |
| _links | object | optional |
| status | string | optional |
| country | string | optional |
| created | string | optional |
| website | string | optional |
| address1 | string | optional |
| address2 | string | optional |
| expiresAt | string | optional |
| subdomain | string | optional |
| postalCode | string | optional |
| companyName | string | optional |
| lastUpdated | string | optional |
| phoneNumber | string | optional |
| supportPhoneNumber | string | optional |
| endUserSupportHelpURL | string | optional |
Success
POST /api/v1/org
/api/v1/org/logo
Updates the logo for your organization.
multipart/form-data
ApplicationUpdateLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
Created
POST /api/v1/org/logo
/api/v1/org/preferences/hideEndUserFooter
Hide the Okta UI footer for all end users of your organization.
Success
POST /api/v1/org/preferences/hideEndUserFooter
/api/v1/org/preferences/showEndUserFooter
Makes the Okta UI footer visible for all end users of your organization.
Success
POST /api/v1/org/preferences/showEndUserFooter
/api/v1/org/privacy/oktaCommunication/optIn
Opts in all users of this org to Okta Communication emails.
Success
POST /api/v1/org/privacy/oktaCommunication/optIn
/api/v1/org/privacy/oktaCommunication/optOut
Opts out all users of this org from Okta Communication emails.
Success
POST /api/v1/org/privacy/oktaCommunication/optOut
/api/v1/org/privacy/oktaSupport/extend
Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.
Success
POST /api/v1/org/privacy/oktaSupport/extend
/api/v1/org/privacy/oktaSupport/grant
Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.
Success
POST /api/v1/org/privacy/oktaSupport/grant
/api/v1/org/privacy/oktaSupport/revoke
Revokes Okta Support access to your organization.
Success
POST /api/v1/org/privacy/oktaSupport/revoke
/api/v1/policies
Creates a policy.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| activate | query | optional | boolean | — |
application/json
Policy
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| status | string | optional |
| system | boolean | optional |
| created | string | optional |
| priority | integer | optional |
| _embedded | object | optional |
| conditions | object | optional |
| └ app | object | optional |
| └ exclude | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ include | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ apps | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ risk | object | optional |
| └ behaviors | array | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ inactivity | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ passwordExpiration | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ lifecycleExpiration | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ lifecycleStatus | string | optional |
| └ userLifecycleAttribute | object | optional |
| └ attributeName | string | optional |
| └ matchingValue | string | optional |
| └ device | object | optional |
| └ rooted | boolean | optional |
| └ migrated | boolean | optional |
| └ platform | object | optional |
| └ types | array | optional |
| └ supportedMDMFrameworks | array | optional |
| └ trustLevel | string | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ people | object | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ scopes | object | optional |
| └ include | array | optional |
| └ clients | object | optional |
| └ include | array | optional |
| └ context | object | optional |
| └ expression | string | optional |
| └ network | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ connection | string | optional |
| └ platform | object | optional |
| └ exclude | array | optional |
| └ os | object | optional |
| └ type | string | optional |
| └ include | array | optional |
| └ os | object | optional |
| └ type | string | optional |
| └ riskScore | object | optional |
| └ level | string | optional |
| └ grantTypes | object | optional |
| └ include | array | optional |
| └ userStatus | object | optional |
| └ value | string | optional |
| └ authContext | object | optional |
| └ authType | string | optional |
| └ authProvider | object | optional |
| └ include | array | optional |
| └ provider | string | optional |
| └ mdmEnrollment | object | optional |
| └ enrollment | string | optional |
| └ blockNonSafeAndroid | boolean | optional |
| └ userIdentifier | object | optional |
| └ type | string | optional |
| └ patterns | array | optional |
| └ value | string | optional |
| └ matchType | string | optional |
| └ attribute | string | optional |
| └ identityProvider | object | optional |
| └ idpIds | array | optional |
| └ provider | string | optional |
| └ …1 more | object | optional |
| description | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/policies
/api/v1/policies/{policyId}/lifecycle/activate
Activates a policy.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| policyId | path | required | string | — |
No Content
POST /api/v1/policies/{policyId}/lifecycle/activate
/api/v1/policies/{policyId}/lifecycle/deactivate
Deactivates a policy.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| policyId | path | required | string | — |
No Content
POST /api/v1/policies/{policyId}/lifecycle/deactivate
/api/v1/policies/{policyId}/rules
Creates a policy rule.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| policyId | path | required | string | — |
application/json
PolicyRule
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| status | string | optional |
| system | boolean | optional |
| actions | object | optional |
| └ idp | object | optional |
| └ providers | array | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ enroll | object | optional |
| └ self | string | optional |
| └ signon | object | optional |
| └ access | string | optional |
| └ session | object | optional |
| └ usePersistentCookie | boolean | optional |
| └ maxSessionIdleMinutes | integer | optional |
| └ maxSessionLifetimeMinutes | integer | optional |
| └ requireFactor | boolean | optional |
| └ factorLifetime | integer | optional |
| └ factorPromptMode | string | optional |
| └ rememberDeviceByDefault | boolean | optional |
| └ passwordChange | object | optional |
| └ access | string | optional |
| └ selfServiceUnlock | object | optional |
| └ access | string | optional |
| └ selfServicePasswordReset | object | optional |
| └ access | string | optional |
| created | string | optional |
| priority | integer | optional |
| conditions | object | optional |
| └ app | object | optional |
| └ exclude | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ include | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ apps | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ risk | object | optional |
| └ behaviors | array | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ inactivity | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ passwordExpiration | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ lifecycleExpiration | object | optional |
| └ unit | string | optional |
| └ number | integer | optional |
| └ lifecycleStatus | string | optional |
| └ userLifecycleAttribute | object | optional |
| └ attributeName | string | optional |
| └ matchingValue | string | optional |
| └ device | object | optional |
| └ rooted | boolean | optional |
| └ migrated | boolean | optional |
| └ platform | object | optional |
| └ types | array | optional |
| └ supportedMDMFrameworks | array | optional |
| └ trustLevel | string | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ people | object | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ scopes | object | optional |
| └ include | array | optional |
| └ clients | object | optional |
| └ include | array | optional |
| └ context | object | optional |
| └ expression | string | optional |
| └ network | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ connection | string | optional |
| └ platform | object | optional |
| └ exclude | array | optional |
| └ os | object | optional |
| └ type | string | optional |
| └ include | array | optional |
| └ os | object | optional |
| └ type | string | optional |
| └ riskScore | object | optional |
| └ level | string | optional |
| └ grantTypes | object | optional |
| └ include | array | optional |
| └ userStatus | object | optional |
| └ value | string | optional |
| └ authContext | object | optional |
| └ authType | string | optional |
| └ authProvider | object | optional |
| └ include | array | optional |
| └ provider | string | optional |
| └ mdmEnrollment | object | optional |
| └ enrollment | string | optional |
| └ blockNonSafeAndroid | boolean | optional |
| └ userIdentifier | object | optional |
| └ type | string | optional |
| └ patterns | array | optional |
| └ value | string | optional |
| └ matchType | string | optional |
| └ attribute | string | optional |
| └ identityProvider | object | optional |
| └ idpIds | array | optional |
| └ provider | string | optional |
| └ …1 more | object | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/policies/{policyId}/rules
/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate
Activates a policy rule.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| policyId | path | required | string | — |
| ruleId | path | required | string | — |
Success
POST /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate
/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate
Deactivates a policy rule.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| policyId | path | required | string | — |
| ruleId | path | required | string | — |
No Content
POST /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate
/api/v1/mappings/{mappingId}
Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| mappingId | path | required | string | — |
application/json
ProfileMapping
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| _links | object | optional |
| source | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ _links | object | optional |
| target | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ _links | object | optional |
| properties | object | optional |
Success
POST /api/v1/mappings/{mappingId}
/api/v1/sessions
Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.
application/json
CreateSessionRequest
| Property | Type | Required |
|---|---|---|
| sessionToken | string | optional |
Success
Bad Request
POST /api/v1/sessions
/api/v1/sessions/{sessionId}/lifecycle/refresh
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| sessionId | path | required | string | — |
Success
Not Found
POST /api/v1/sessions/{sessionId}/lifecycle/refresh
/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe
When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| roleTypeOrRoleId | path | required | string | — |
| notificationType | path | required | string | — |
Success
Not Found
POST /api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe
/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe
When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| roleTypeOrRoleId | path | required | string | — |
| notificationType | path | required | string | — |
Success
Not Found
POST /api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe
/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe
Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| notificationType | path | required | string | — |
Success
Not Found
POST /api/v1/users/{userId}/subscriptions/{notificationType}/subscribe
/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe
Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| notificationType | path | required | string | — |
Success
Not Found
POST /api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe
/api/v1/templates/sms
Adds a new custom SMS template to your organization.
application/json
SmsTemplate
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| created | string | optional |
| template | string | optional |
| lastUpdated | string | optional |
| translations | object | optional |
Success
POST /api/v1/templates/sms
/api/v1/templates/sms/{templateId}
Updates only some of the SMS template properties:
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| templateId | path | required | string | — |
application/json
SmsTemplate
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| created | string | optional |
| template | string | optional |
| lastUpdated | string | optional |
| translations | object | optional |
Success
POST /api/v1/templates/sms/{templateId}
/api/v1/threats/configuration
Updates ThreatInsight configuration
application/json
ThreatInsightConfiguration
Success
POST /api/v1/threats/configuration
/api/v1/trustedOrigins
Success
application/json
TrustedOrigin
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| _links | object | optional |
| origin | string | optional |
| scopes | array | optional |
| └ type | string | optional |
| └ stringValue | string | optional |
| └ allowedOktaApps | array | optional |
| status | string | optional |
| created | string | optional |
| createdBy | string | optional |
| lastUpdated | string | optional |
| lastUpdatedBy | string | optional |
Success
POST /api/v1/trustedOrigins
/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| trustedOriginId | path | required | string | — |
Success
POST /api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate
/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| trustedOriginId | path | required | string | — |
Success
POST /api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate
/api/v1/users
Creates a new user in your Okta organization with or without credentials.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| activate | query | optional | boolean | Executes activation lifecycle operation when creating the user |
| provider | query | optional | boolean | Indicates whether to create a user with a specified authentication provider |
| nextLogin | query | optional | string | With activate=true, set nextLogin to “changePassword” to have the password be EXPIRED, so user must change it the next time they log in. |
application/json
CreateUserRequest
| Property | Type | Required |
|---|---|---|
| type | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ _links | object | optional |
| └ created | string | optional |
| └ default | boolean | optional |
| └ createdBy | string | optional |
| └ description | string | optional |
| └ displayName | string | optional |
| └ lastUpdated | string | optional |
| └ lastUpdatedBy | string | optional |
| profile | object | optional |
| └ city | string | optional |
| string | optional | |
| └ login | string | optional |
| └ state | string | optional |
| └ title | string | optional |
| └ locale | string | optional |
| └ manager | string | optional |
| └ zipCode | string | optional |
| └ division | string | optional |
| └ lastName | string | optional |
| └ nickName | string | optional |
| └ timezone | string | optional |
| └ userType | string | optional |
| └ firstName | string | optional |
| └ managerId | string | optional |
| └ costCenter | string | optional |
| └ department | string | optional |
| └ middleName | string | optional |
| └ profileUrl | string | optional |
| └ countryCode | string | optional |
| └ …11 more | object | optional |
| groupIds | array | optional |
| credentials | object | optional |
| └ password | object | optional |
| └ hash | object | optional |
| └ salt | string | optional |
| └ value | string | optional |
| └ algorithm | string | optional |
| └ saltOrder | string | optional |
| └ workFactor | integer | optional |
| └ hook | object | optional |
| └ type | string | optional |
| └ value | string | optional |
| └ provider | object | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ recovery_question | object | optional |
| └ answer | string | optional |
| └ question | string | optional |
Success
POST /api/v1/users
/api/v1/users/{userId}
Update a user’s profile or credentials with partial update semantics.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| strict | query | optional | boolean | — |
application/json
User
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| type | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ _links | object | optional |
| └ created | string | optional |
| └ default | boolean | optional |
| └ createdBy | string | optional |
| └ description | string | optional |
| └ displayName | string | optional |
| └ lastUpdated | string | optional |
| └ lastUpdatedBy | string | optional |
| _links | object | optional |
| status | string | optional |
| created | string | optional |
| profile | object | optional |
| └ city | string | optional |
| string | optional | |
| └ login | string | optional |
| └ state | string | optional |
| └ title | string | optional |
| └ locale | string | optional |
| └ manager | string | optional |
| └ zipCode | string | optional |
| └ division | string | optional |
| └ lastName | string | optional |
| └ nickName | string | optional |
| └ timezone | string | optional |
| └ userType | string | optional |
| └ firstName | string | optional |
| └ managerId | string | optional |
| └ costCenter | string | optional |
| └ department | string | optional |
| └ middleName | string | optional |
| └ profileUrl | string | optional |
| └ countryCode | string | optional |
| └ …11 more | object | optional |
| _embedded | object | optional |
| activated | string | optional |
| lastLogin | string | optional |
| credentials | object | optional |
| └ password | object | optional |
| └ hash | object | optional |
| └ salt | string | optional |
| └ value | string | optional |
| └ algorithm | string | optional |
| └ saltOrder | string | optional |
| └ workFactor | integer | optional |
| └ hook | object | optional |
| └ type | string | optional |
| └ value | string | optional |
| └ provider | object | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ recovery_question | object | optional |
| └ answer | string | optional |
| └ question | string | optional |
| lastUpdated | string | optional |
| statusChanged | string | optional |
| passwordChanged | string | optional |
| transitioningToStatus | string | optional |
Success
POST /api/v1/users/{userId}
/api/v1/users/{userId}/credentials/change_password
Changes a user’s password by validating the user’s current password. This operation can only be performed on users in STAGED, ACTIVE, PASSWORD_EXPIRED, or RECOVERY status that have a valid password credential
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| strict | query | optional | boolean | — |
application/json
ChangePasswordRequest
| Property | Type | Required |
|---|---|---|
| newPassword | object | optional |
| └ hash | object | optional |
| └ salt | string | optional |
| └ value | string | optional |
| └ algorithm | string | optional |
| └ saltOrder | string | optional |
| └ workFactor | integer | optional |
| └ hook | object | optional |
| └ type | string | optional |
| └ value | string | optional |
| oldPassword | object | optional |
| └ hash | object | optional |
| └ salt | string | optional |
| └ value | string | optional |
| └ algorithm | string | optional |
| └ saltOrder | string | optional |
| └ workFactor | integer | optional |
| └ hook | object | optional |
| └ type | string | optional |
| └ value | string | optional |
Success
POST /api/v1/users/{userId}/credentials/change_password
/api/v1/users/{userId}/credentials/change_recovery_question
Changes a user’s recovery question & answer credential by validating the user’s current password. This operation can only be performed on users in STAGED, ACTIVE or RECOVERY status that have a valid password credential
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
application/json
UserCredentials
| Property | Type | Required |
|---|---|---|
| password | object | optional |
| └ hash | object | optional |
| └ salt | string | optional |
| └ value | string | optional |
| └ algorithm | string | optional |
| └ saltOrder | string | optional |
| └ workFactor | integer | optional |
| └ hook | object | optional |
| └ type | string | optional |
| └ value | string | optional |
| provider | object | optional |
| └ name | string | optional |
| └ type | string | optional |
| recovery_question | object | optional |
| └ answer | string | optional |
| └ question | string | optional |
Success
POST /api/v1/users/{userId}/credentials/change_recovery_question
/api/v1/users/{userId}/credentials/forgot_password
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
Success
POST /api/v1/users/{userId}/credentials/forgot_password
/api/v1/users/{userId}/lifecycle/activate
Activates a user. This operation can only be performed on users with a STAGED status. Activation of a user is an asynchronous operation. The user will have the transitioningToStatus property with a value of ACTIVE during activation to indicate that the user hasn’t completed the asynchronous operation. The user will have a status of ACTIVE when the activation process is complete.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| sendEmail | query | required | boolean | Sends an activation email to the user if true |
Success
POST /api/v1/users/{userId}/lifecycle/activate
/api/v1/users/{userId}/lifecycle/deactivate
Deactivates a user. This operation can only be performed on users that do not have a DEPROVISIONED status. While the asynchronous operation (triggered by HTTP header Prefer: respond-async) is proceeding the user’s transitioningToStatus property is DEPROVISIONED. The user’s status is DEPROVISIONED when the deactivation process is complete.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| sendEmail | query | optional | boolean | — |
OK
POST /api/v1/users/{userId}/lifecycle/deactivate
/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false
This operation transitions the user to the status of PASSWORD_EXPIRED so that the user is required to change their password at their next login.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
Success
POST /api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false
/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true
This operation transitions the user to the status of PASSWORD_EXPIRED and the user’s password is reset to a temporary password that is returned.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
Success
POST /api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true
/api/v1/users/{userId}/lifecycle/reactivate
Reactivates a user. This operation can only be performed on users with a PROVISIONED status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from Activate User.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| sendEmail | query | optional | boolean | Sends an activation email to the user if true |
Success
POST /api/v1/users/{userId}/lifecycle/reactivate
/api/v1/users/{userId}/lifecycle/reset_factors
This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user’s status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
OK
POST /api/v1/users/{userId}/lifecycle/reset_factors
/api/v1/users/{userId}/lifecycle/reset_password
Generates a one-time token (OTT) that can be used to reset a user’s password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| sendEmail | query | required | boolean | — |
Success
POST /api/v1/users/{userId}/lifecycle/reset_password
/api/v1/users/{userId}/lifecycle/suspend
Suspends a user. This operation can only be performed on users with an ACTIVE status. The user will have a status of SUSPENDED when the process is complete.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
OK
POST /api/v1/users/{userId}/lifecycle/suspend
/api/v1/users/{userId}/lifecycle/unlock
Unlocks a user with a LOCKED_OUT status and returns them to ACTIVE status. Users will be able to login with their current password.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
Success
POST /api/v1/users/{userId}/lifecycle/unlock
/api/v1/users/{userId}/lifecycle/unsuspend
Unsuspends a user and returns them to the ACTIVE state. This operation can only be performed on users that have a SUSPENDED status.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
Success
POST /api/v1/users/{userId}/lifecycle/unsuspend
/api/v1/users/{userId}/roles
Assigns a role to a user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| disableNotifications | query | optional | boolean | — |
application/json
AssignRoleRequest
Created
POST /api/v1/users/{userId}/roles
/api/v1/users/{userId}/factors
Enrolls a user with a supported factor.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| updatePhone | query | optional | boolean | — |
| templateId | query | optional | string | id of SMS template (only for SMS factor) |
| tokenLifetimeSeconds | query | optional | integer | — |
| activate | query | optional | boolean | — |
Factor
application/json
UserFactor
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| _links | object | optional |
| status | string | optional |
| verify | object | optional |
| └ answer | string | optional |
| └ passCode | string | optional |
| └ clientData | string | optional |
| └ stateToken | string | optional |
| └ attestation | string | optional |
| └ nextPassCode | string | optional |
| └ activationToken | string | optional |
| └ registrationData | string | optional |
| created | string | optional |
| provider | string | optional |
| _embedded | object | optional |
| factorType | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/users/{userId}/factors
/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate
The sms and token:software:totp factor types require activation to complete the enrollment process.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| factorId | path | required | string | — |
application/json
ActivateFactorRequest
Success
POST /api/v1/users/{userId}/factors/{factorId}/lifecycle/activate
/api/v1/users/{userId}/factors/{factorId}/verify
Verifies an OTP for a token or token:hardware factor
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userId | path | required | string | — |
| factorId | path | required | string | — |
| templateId | query | optional | string | — |
| tokenLifetimeSeconds | query | optional | integer | — |
| X-Forwarded-For | header | optional | string | — |
| User-Agent | header | optional | string | — |
| Accept-Language | header | optional | string | — |
application/json
VerifyFactorRequest
Success
POST /api/v1/users/{userId}/factors/{factorId}/verify
/api/v1/meta/schemas/apps/{appInstanceId}/default
Partial updates on the User Profile properties of the Application User Schema.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| appInstanceId | path | required | string | — |
application/json
UserSchema
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| title | string | optional |
| _links | object | optional |
| $schema | string | optional |
| created | string | optional |
| properties | object | optional |
| └ profile | object | optional |
| └ allOf | array | optional |
| definitions | object | optional |
| └ base | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ required | array | optional |
| └ properties | object | optional |
| └ city | object | optional |
| object | optional | |
| └ login | object | optional |
| └ state | object | optional |
| └ title | object | optional |
| └ locale | object | optional |
| └ manager | object | optional |
| └ zipCode | object | optional |
| └ division | object | optional |
| └ lastName | object | optional |
| └ nickName | object | optional |
| └ timezone | object | optional |
| └ userType | object | optional |
| └ firstName | object | optional |
| └ managerId | object | optional |
| └ costCenter | object | optional |
| └ department | object | optional |
| └ middleName | object | optional |
| └ profileUrl | object | optional |
| └ countryCode | object | optional |
| └ …11 more | object | optional |
| └ custom | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ required | array | optional |
| └ properties | object | optional |
| lastUpdated | string | optional |
successful operation
POST /api/v1/meta/schemas/apps/{appInstanceId}/default
/api/v1/meta/schemas/user/{schemaId}
Partial updates on the User Profile properties of the user schema.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| schemaId | path | required | string | — |
application/json
UserSchema
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| title | string | optional |
| _links | object | optional |
| $schema | string | optional |
| created | string | optional |
| properties | object | optional |
| └ profile | object | optional |
| └ allOf | array | optional |
| definitions | object | optional |
| └ base | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ required | array | optional |
| └ properties | object | optional |
| └ city | object | optional |
| object | optional | |
| └ login | object | optional |
| └ state | object | optional |
| └ title | object | optional |
| └ locale | object | optional |
| └ manager | object | optional |
| └ zipCode | object | optional |
| └ division | object | optional |
| └ lastName | object | optional |
| └ nickName | object | optional |
| └ timezone | object | optional |
| └ userType | object | optional |
| └ firstName | object | optional |
| └ managerId | object | optional |
| └ costCenter | object | optional |
| └ department | object | optional |
| └ middleName | object | optional |
| └ profileUrl | object | optional |
| └ countryCode | object | optional |
| └ …11 more | object | optional |
| └ custom | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ required | array | optional |
| └ properties | object | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/meta/schemas/user/{schemaId}
/api/v1/meta/types/user
Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.
application/json
UserType
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| _links | object | optional |
| created | string | optional |
| default | boolean | optional |
| createdBy | string | optional |
| description | string | optional |
| displayName | string | optional |
| lastUpdated | string | optional |
| lastUpdatedBy | string | optional |
Success
POST /api/v1/meta/types/user
/api/v1/meta/types/user/{typeId}
Updates an existing User Type
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| typeId | path | required | string | — |
application/json
UserType
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| _links | object | optional |
| created | string | optional |
| default | boolean | optional |
| createdBy | string | optional |
| description | string | optional |
| displayName | string | optional |
| lastUpdated | string | optional |
| lastUpdatedBy | string | optional |
Success
POST /api/v1/meta/types/user/{typeId}
AccessPolicy
{
"x-okta-tags": [
"Policy"
],
"x-okta-parent": "#/definitions/Policy"
}
AccessPolicyConstraint
{
"type": "object",
"properties": {
"types": {
"type": "array",
"items": {
"type": "string"
}
},
"methods": {
"type": "array",
"items": {
"type": "string"
}
},
"reauthenticateIn": {
"type": "string"
}
},
"x-okta-tags": [
"Policy"
]
}
AccessPolicyConstraints
{
"type": "object",
"properties": {
"knowledge": {
"$ref": "#/components/schemas/KnowledgeConstraint"
},
"possession": {
"$ref": "#/components/schemas/PossessionConstraint"
}
},
"x-okta-tags": [
"Policy"
]
}
AccessPolicyRule
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"actions": {
"$ref": "#/components/schemas/AccessPolicyRuleActions"
},
"conditions": {
"$ref": "#/components/schemas/AccessPolicyRuleConditions"
}
},
"x-okta-tags": [
"Policy"
],
"x-okta-parent": "#/definitions/PolicyRule"
}
AccessPolicyRuleActions
{
"type": "object",
"properties": {
"appSignOn": {
"$ref": "#/components/schemas/AccessPolicyRuleApplicationSignOn"
}
},
"x-okta-tags": [
"Policy"
],
"x-okta-parent": "#/definitions/PolicyRuleActions"
}
AccessPolicyRuleApplicationSignOn
{
"type": "object",
"properties": {
"access": {
"type": "string"
},
"verificationMethod": {
"$ref": "#/components/schemas/VerificationMethod"
}
},
"x-okta-tags": [
"Policy"
]
}
AccessPolicyRuleConditions
{
"properties": {
"device": {
"$ref": "#/components/schemas/DeviceAccessPolicyRuleCondition"
},
"userType": {
"$ref": "#/components/schemas/UserTypeCondition"
},
"elCondition": {
"$ref": "#/components/schemas/AccessPolicyRuleCustomCondition"
}
},
"x-okta-tags": [
"Policy"
],
"x-okta-parent": "#/definitions/PolicyRuleConditions"
}
AccessPolicyRuleCustomCondition
{
"properties": {
"condition": {
"type": "string"
}
},
"x-okta-tags": [
"Policy"
]
}
AcsEndpoint
{
"properties": {
"url": {
"type": "string"
},
"index": {
"type": "integer"
}
},
"x-okta-tags": [
"Application"
]
}
ActivateFactorRequest
{
"properties": {
"passCode": {
"type": "string"
},
"clientData": {
"type": "string"
},
"stateToken": {
"type": "string"
},
"attestation": {
"type": "string"
},
"registrationData": {
"type": "string"
}
},
"x-okta-tags": [
"UserFactor"
]
}
AllowedForEnum
{
"enum": [
"recovery",
"sso",
"any",
"none"
],
"type": "string",
"x-okta-tags": [
"Authenticator"
]
}
AppAndInstanceConditionEvaluatorAppOrInstance
{
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"name": {
"type": "string"
},
"type": {
"enum": [
"APP_TYPE",
"APP"
],
"type": "string"
}
},
"x-okta-tags": [
"Policy"
]
}
AppAndInstancePolicyRuleCondition
{
"type": "object",
"properties": {
"exclude": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AppAndInstanceConditionEvaluatorAppOrInstance"
}
},
"include": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AppAndInstanceConditionEvaluatorAppOrInstance"
}
}
},
"x-okta-tags": [
"Policy"
]
}
AppInstancePolicyRuleCondition
{
"type": "object",
"properties": {
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"include": {
"type": "array",
"items": {
"type": "string"
}
}
},
"x-okta-tags": [
"Policy"
]
}
AppLink
{
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"label": {
"type": "string",
"readOnly": true
},
"hidden": {
"type": "boolean",
"readOnly": true
},
"appName": {
"type": "string",
"readOnly": true
},
"linkUrl": {
"type": "string",
"readOnly": true
},
"logoUrl": {
"type": "string",
"readOnly": true
},
"sortOrder": {
"type": "integer",
"readOnly": true
},
"appInstanceId": {
"type": "string",
"readOnly": true
},
"appAssignmentId": {
"type": "string",
"readOnly": true
},
"credentialsSetup": {
"type": "boolean",
"readOnly": true
}
},
"x-okta-tags": [
"User"
]
}
AppUser
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"scope": {
"type": "string"
},
"_links": {
"type": "object",
"readOnly": true,
"additionalProperties": {
"type": "object"
}
},
"status": {
"type": "string",
"readOnly": true
},
"created": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"profile": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"lastSync": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"_embedded": {
"type": "object",
"readOnly": true,
"additionalProperties": {
"type": "object"
}
},
"syncState": {
"type": "string",
"readOnly": true
},
"externalId": {
"type": "string",
"readOnly": true
},
"credentials": {
"$ref": "#/components/schemas/AppUserCredentials"
},
"lastUpdated": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"statusChanged": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"passwordChanged": {
"type": "string",
"format": "date-time",
"readOnly": true
}
},
"x-okta-crud": [
{
"alias": "update",
"arguments": [
{
"dest": "appId",
"parentSrc": "appId"
},
{
"src": "id",
"dest": "userId"
},
{
"dest": "appUser",
"self": true
}
],
"operationId": "updateApplicationUser"
},
{
"alias": "delete",
"arguments": [
{
"dest": "appId",
"parentSrc": "appId"
},
{
"src": "id",
"dest": "userId"
}
],
"operationId": "deleteApplicationUser"
}
],
"x-okta-tags": [
"Application"
]
}
AppUserCredentials
{
"type": "object",
"properties": {
"password": {
"$ref": "#/components/schemas/AppUserPasswordCredential"
},
"userName": {
"type": "string"
}
},
"x-okta-tags": [
"Application"
]
}
AppUserPasswordCredential
{
"properties": {
"value": {
"type": "string",
"format": "password"
}
},
"x-okta-tags": [
"Application"
]
}
Application
{
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"name": {
"type": "string",
"readOnly": true
},
"label": {
"type": "string"
},
"_links": {
"type": "object",
"readOnly": true,
"additionalProperties": {
"type": "object"
}
},
"status": {
"enum": [
"ACTIVE",
"INACTIVE",
"DELETED"
],
"type": "string",
"readOnly": true
},
"created": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"profile": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"features": {
"type": "array",
"items": {
"type": "string"
}
},
"settings": {
"$ref": "#/components/schemas/ApplicationSettings"
},
"_embedded": {
"type": "object",
"readOnly": true,
"additionalProperties": {
"type": "object"
}
},
"licensing": {
"$ref": "#/components/schemas/ApplicationLicensing"
},
"signOnMode": {
"$ref": "#/components/schemas/ApplicationSignOnMode"
},
"visibility": {
"$ref": "#/components/schemas/ApplicationVisibility"
},
"credentials": {
"$ref": "#/components/schemas/ApplicationCredentials"
},
"lastUpdated": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"accessibility": {
"$ref": "#/components/schemas/ApplicationAccessibility"
}
},
"x-okta-crud": [
{
"alias": "read",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "getApplication"
},
{
"alias": "update",
"arguments": [
{
"src": "id",
"dest": "appId"
},
{
"dest": "application",
"self": true
}
],
"operationId": "updateApplication"
},
{
"alias": "delete",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "deleteApplication"
}
],
"x-okta-tags": [
"Application"
],
"x-okta-operations": [
{
"alias": "activate",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "activateApplication"
},
{
"alias": "deactivate",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "deactivateApplication"
},
{
"alias": "listApplicationUsers",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "listApplicationUsers"
},
{
"alias": "assignUserToApplication",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "assignUserToApplication"
},
{
"alias": "getApplicationUser",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "getApplicationUser"
},
{
"alias": "createApplicationGroupAssignment",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "createApplicationGroupAssignment"
},
{
"alias": "getApplicationGroupAssignment",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "getApplicationGroupAssignment"
},
{
"alias": "cloneApplicationKey",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "cloneApplicationKey"
},
{
"alias": "getApplicationKey",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "getApplicationKey"
},
{
"alias": "listGroupAssignments",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "listApplicationGroupAssignments"
},
{
"alias": "listKeys",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "listApplicationKeys"
},
{
"alias": "generateKey",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "generateApplicationKey"
},
{
"alias": "generateCsr",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "generateCsrForApplication"
},
{
"alias": "getCsr",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "getCsrForApplication"
},
{
"alias": "revokeCsr",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "revokeCsrFromApplication"
},
{
"alias": "listCsrs",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "listCsrsForApplication"
},
{
"alias": "publishCerCert",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "publishCerCert"
},
{
"alias": "publishBinaryCerCert",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "publishBinaryCerCert"
},
{
"alias": "publishDerCert",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "publishDerCert"
},
{
"alias": "publishBinaryDerCert",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "publishBinaryDerCert"
},
{
"alias": "publishBinaryPemCert",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "publishBinaryPemCert"
},
{
"alias": "listOAuth2Tokens",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "listOAuth2TokensForApplication"
},
{
"alias": "revokeOAuth2TokenForApplication",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "revokeOAuth2TokenForApplication"
},
{
"alias": "getOAuth2Token",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "getOAuth2TokenForApplication"
},
{
"alias": "revokeOAuth2Tokens",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "revokeOAuth2TokensForApplication"
},
{
"alias": "listScopeConsentGrants",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "listScopeConsentGrants"
},
{
"alias": "grantConsentToScope",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "grantConsentToScope"
},
{
"alias": "revokeScopeConsentGrant",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "revokeScopeConsentGrant"
},
{
"alias": "getScopeConsentGrant",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "getScopeConsentGrant"
},
{
"alias": "uploadApplicationLogo",
"operationId": "uploadApplicationLogo"
},
{
"alias": "getFeatureForApplication",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "getFeatureForApplication"
},
{
"alias": "updateFeatureForApplication",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "updateFeatureForApplication"
},
{
"alias": "updateApplicationPolicy",
"arguments": [
{
"src": "id",
"dest": "appId"
}
],
"operationId": "updateApplicationPolicy"
}
],
"x-openapi-v3-discriminator": {
"mapping": {
"BOOKMARK": "#/definitions/BookmarkApplication",
"SAML_1_1": "#/definitions/SamlApplication",
"SAML_2_0": "#/definitions/SamlApplication",
"AUTO_LOGIN": "#/definitions/AutoLoginApplication",
"BASIC_AUTH": "#/definitions/BasicAuthApplication",
"WS_FEDERATION": "#/definitions/WsFederationApplication",
"BROWSER_PLUGIN": "#/definitions/BrowserPluginApplication",
"OPENID_CONNECT": "#/definitions/OpenIdConnectApplication",
"SECURE_PASSWORD_STORE": "#/definitions/SecurePasswordStoreApplication"
},
"propertyName": "signOnMode"
}
}
ApplicationAccessibility
{
"type": "object",
"properties": {
"selfService": {
"type": "boolean"
},
"errorRedirectUrl": {
"type": "string"
},
"loginRedirectUrl": {
"type": "string"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationCredentials
{
"type": "object",
"properties": {
"signing": {
"$ref": "#/components/schemas/ApplicationCredentialsSigning"
},
"userNameTemplate": {
"$ref": "#/components/schemas/ApplicationCredentialsUsernameTemplate"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationCredentialsOAuthClient
{
"properties": {
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string"
},
"pkce_required": {
"type": "boolean"
},
"autoKeyRotation": {
"type": "boolean"
},
"token_endpoint_auth_method": {
"$ref": "#/components/schemas/OAuthEndpointAuthenticationMethod"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationCredentialsScheme
{
"enum": [
"SHARED_USERNAME_AND_PASSWORD",
"EXTERNAL_PASSWORD_SYNC",
"EDIT_USERNAME_AND_PASSWORD",
"EDIT_PASSWORD_ONLY",
"ADMIN_SETS_CREDENTIALS"
],
"type": "string",
"x-okta-tags": [
"Application"
]
}
ApplicationCredentialsSigning
{
"type": "object",
"properties": {
"kid": {
"type": "string"
},
"use": {
"$ref": "#/components/schemas/ApplicationCredentialsSigningUse"
},
"lastRotated": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"nextRotation": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"rotationMode": {
"type": "string"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationCredentialsSigningUse
{
"enum": [
"sig"
],
"type": "string",
"x-okta-tags": [
"AuthorizationServer"
]
}
ApplicationCredentialsUsernameTemplate
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"suffix": {
"type": "string"
},
"template": {
"type": "string"
},
"pushStatus": {
"type": "string"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationFeature
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"_links": {
"type": "object",
"readOnly": true,
"additionalProperties": {
"type": "object"
}
},
"status": {
"$ref": "#/components/schemas/EnabledStatus"
},
"description": {
"type": "string"
},
"capabilities": {
"$ref": "#/components/schemas/CapabilitiesObject"
}
},
"x-okta-tags": [
"Application"
],
"x-okta-operations": [
{
"alias": "listFeaturesForApplication",
"operationId": "listFeaturesForApplication"
}
]
}
ApplicationGroupAssignment
{
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"_links": {
"type": "object",
"readOnly": true,
"additionalProperties": {
"type": "object"
}
},
"profile": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"priority": {
"type": "integer"
},
"_embedded": {
"type": "object",
"readOnly": true,
"additionalProperties": {
"type": "object"
}
},
"lastUpdated": {
"type": "string",
"format": "date-time",
"readOnly": true
}
},
"x-okta-crud": [
{
"alias": "delete",
"arguments": [
{
"dest": "appId",
"parentSrc": "appId"
},
{
"src": "id",
"dest": "groupId"
}
],
"operationId": "deleteApplicationGroupAssignment"
}
],
"x-okta-tags": [
"Application"
]
}
ApplicationLicensing
{
"type": "object",
"properties": {
"seatCount": {
"type": "integer"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationListAppsResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/Application"
}
}
ApplicationListAssignedUsersResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/AppUser"
}
}
ApplicationListClientSecretsResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/ClientSecret"
}
}
ApplicationListCsrsForApplicationResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/Csr"
}
}
ApplicationListFeaturesResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/ApplicationFeature"
}
}
ApplicationListGroupsAssignedResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/ApplicationGroupAssignment"
}
}
ApplicationListKeyCredentialsResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/JsonWebKey"
}
}
ApplicationListScopeConsentGrantsResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/OAuth2ScopeConsentGrant"
}
}
ApplicationListTokensResponse
{
"type": "array",
"items": {
"$ref": "#/components/schemas/OAuth2Token"
}
}
ApplicationPreviewSamlAppMetadataResponse
{
"type": "object",
"properties": {
"EntityDescriptor": {
"type": "object",
"properties": {
"entityID": {
"xml": {
"attribute": true
},
"type": "string"
},
"IDPSSODescriptor": {
"type": "object",
"properties": {
"NameIDFormat": {
"type": "array",
"items": {
"type": "string"
}
},
"KeyDescriptor": {
"type": "object",
"properties": {
"use": {
"xml": {
"attribute": true
},
"type": "string"
},
"KeyInfo": {
"type": "object",
"properties": {
"X509Data": {
"type": "object",
"properties": {
"X509Certificate": {
"type": "string"
}
}
}
}
}
}
},
"SingleLogoutService": {
"type": "array",
"items": {
"type": "string"
},
"properties": {
"Binding": {
"xml": {
"attribute": true
},
"type": "string"
},
"Location": {
"xml": {
"attribute": true
},
"type": "string"
}
}
},
"SingleSignOnService": {
"type": "array",
"items": {
"type": "string"
},
"properties": {
"Binding": {
"xml": {
"attribute": true
},
"type": "string"
},
"Location": {
"xml": {
"attribute": true
},
"type": "string"
}
}
},
"WantAuthnRequestsSigned": {
"xml": {
"attribute": true
},
"type": "boolean"
},
"protocolSupportEnumeration": {
"xml": {
"attribute": true
},
"type": "string"
}
}
}
}
}
}
}
ApplicationSettings
{
"type": "object",
"properties": {
"app": {
"$ref": "#/components/schemas/ApplicationSettingsApplication"
},
"notes": {
"$ref": "#/components/schemas/ApplicationSettingsNotes"
},
"inlineHookId": {
"type": "string"
},
"notifications": {
"$ref": "#/components/schemas/ApplicationSettingsNotifications"
},
"implicitAssignment": {
"type": "boolean"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationSettingsApplication
{
"properties": {
"url": {
"type": "string"
},
"acsUrl": {
"type": "string"
},
"orgName": {
"type": "string"
},
"buttonField": {
"type": "string"
},
"loginUrlRegex": {
"type": "string"
},
"passwordField": {
"type": "string"
},
"usernameField": {
"type": "string"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationSettingsNotes
{
"type": "object",
"properties": {
"admin": {
"type": "string"
},
"enduser": {
"type": "string"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationSettingsNotifications
{
"type": "object",
"properties": {
"vpn": {
"$ref": "#/components/schemas/ApplicationSettingsNotificationsVpn"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationSettingsNotificationsVpn
{
"type": "object",
"properties": {
"helpUrl": {
"type": "string"
},
"message": {
"type": "string"
},
"network": {
"$ref": "#/components/schemas/ApplicationSettingsNotificationsVpnNetwork"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationSettingsNotificationsVpnNetwork
{
"type": "object",
"properties": {
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"include": {
"type": "array",
"items": {
"type": "string"
}
},
"connection": {
"type": "string"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationSignOnMode
{
"enum": [
"BOOKMARK",
"BASIC_AUTH",
"BROWSER_PLUGIN",
"SECURE_PASSWORD_STORE",
"AUTO_LOGIN",
"WS_FEDERATION",
"SAML_2_0",
"OPENID_CONNECT",
"SAML_1_1"
],
"type": "string",
"x-okta-tags": [
"Application"
]
}
ApplicationUpdateLogoRequest
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "string",
"format": "binary"
}
}
}
ApplicationVisibility
{
"type": "object",
"properties": {
"hide": {
"$ref": "#/components/schemas/ApplicationVisibilityHide"
},
"appLinks": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
"autoLaunch": {
"type": "boolean"
},
"autoSubmitToolbar": {
"type": "boolean"
}
},
"x-okta-tags": [
"Application"
]
}
ApplicationVisibilityHide
{
"type": "object",
"properties": {
"iOS": {
"type": "boolean"
},
"web": {
"type": "boolean"
}
},
"x-okta-tags": [
"Application"
]
}
AssignRoleRequest
{
"properties": {
"type": {
"$ref": "#/components/schemas/RoleType"
}
},
"x-okta-tags": [
"Role"
]
}
| Version | Endpoints | Schemas | Ingested | Status |
|---|---|---|---|---|
| 2.16.0 | 341 | 532 | 2026-05-25 | current |
| 2.16.0 | 341 | 532 | 2026-04-16 |