Okta actions & endpoints
Introduction
The Okta Integration with Rewst delivers a robust set of actions and endpoints for interacting with Okta. Below is a summary of each section, highlighting the diverse capabilities and opportunities provided through the Okta Integration:
Actions
Application
List Applications
GET
<example>.okta.com/api/v1/apps
Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.
Create Application
POST
<example>.okta.com/api/v1/apps
Adds a new application to your Okta organization.
Get Application
GET
<example>.okta.com/api/v1/apps/{appId}
Fetches an application from your Okta organization by `id`.
Update Application
PUT
<example>.okta.com/api/v1/apps/{appId}
Updates an application in your organization.
Delete Application
DELETE
<example>.okta.com/api/v1/apps/{appId}
Removes an inactive application.
Get Default Provisioning Connection For Application
GET
<example>.okta.com/api/v1/apps/{appId}/connections/default
Get default Provisioning Connection for application
Sets Default Provisioning Connection For Application
POST
<example>.okta.com/api/v1/apps/{appId}/connections/default
Set default Provisioning Connection for application
Activate Default Provisioning Connection For Application
POST
<example>.okta.com/api/v1/apps/{appId}/connections/default/lifecycle/activate
Activates the default Provisioning Connection for an application.
Deactivate Default Provisioning Connection For Application
POST
<example>.okta.com/api/v1/apps/{appId}/connections/default/lifecycle/deactivate
Deactivates the default Provisioning Connection for an application.
List Certificate Signing Requests For Application
GET
<example>.okta.com/api/v1/apps/{appId}/credentials/csrs
Enumerates Certificate Signing Requests for an application
Generate Certificate Signing Request For Application
POST
<example>.okta.com/api/v1/apps/{appId}/credentials/csrs
Generates a new key pair and returns the Certificate Signing Request for it.
Get CSR For Application
GET
<example>.okta.com/api/v1/apps/{appId}/credentials/csrs/{csrId}
Description coming soon...
Revoke CSR From Application
DELETE
<example>.okta.com/api/v1/apps/{appId}/credentials/csrs/{csrId}
Description coming soon...
Publish CSR Credential
POST
<example>.okta.com/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish
Description coming soon...
List Key Credentials For Application
GET
<example>.okta.com/api/v1/apps/{appId}/credentials/keys
Enumerates key credentials for an application
Generate Application Key
POST
<example>.okta.com/api/v1/apps/{appId}/credentials/keys/generate
Generates a new X.509 certificate for an application key credential
Get Key Credential For Application
GET
<example>.okta.com/api/v1/apps/{appId}/credentials/keys/{keyId}
Gets a specific application key credential by kid
Clone Application Key Credential
POST
<example>.okta.com/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.
List Client Secrets
GET
<example>.okta.com/api/v1/apps/{appId}/credentials/secrets
Enumerates the client's collection of secrets
Create New Client Secret
POST
<example>.okta.com/api/v1/apps/{appId}/credentials/secrets
Adds a new secret to the client's collection of secrets.
Get Client Secret
GET
<example>.okta.com/api/v1/apps/{appId}/credentials/secrets/{secretId}
Gets a specific client secret by secretId
Delete Client Secret For Application
DELETE
<example>.okta.com/api/v1/apps/{appId}/credentials/secrets/{secretId}
Removes a secret from the client's collection of secrets.
Activate A Client Secret
POST
<example>.okta.com/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/activate
Activates a specific client secret by secretId
Deactivate A Client Secret
POST
<example>.okta.com/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/deactivate
Deactivates a specific client secret by secretId
List Features for Application
GET
<example>.okta.com/api/v1/apps/{appId}/features
Description coming soon...
Get Application Feature
GET
<example>.okta.com/api/v1/apps/{appId}/features/{name}
Description coming soon...
Updates A Feature Object For An Application
PUT
<example>.okta.com/api/v1/apps/{appId}/features/{name}
Description coming soon...
List Scope Consent Grants
GET
<example>.okta.com/api/v1/apps/{appId}/grants
Lists all scope consent grants for the application
Grant Consent To Scope
POST
<example>.okta.com/api/v1/apps/{appId}/grants
Grants consent for the application to request an OAuth 2.0 Okta scope
Get Scope Consent Grant
GET
<example>.okta.com/api/v1/apps/{appId}/grants/{grantId}
Fetches a single scope consent grant for the application
Revoke Scope Consent Grant
DELETE
<example>.okta.com/api/v1/apps/{appId}/grants/{grantId}
Revokes permission for the application to request the given scope
List Groups Assigned To Application
GET
<example>.okta.com/api/v1/apps/{appId}/groups
Enumerates group assignments for an application.
Get Assigned Group For Application
GET
<example>.okta.com/api/v1/apps/{appId}/groups/{groupId}
Fetches an application group assignment
Assign Group To Application
PUT
<example>.okta.com/api/v1/apps/{appId}/groups/{groupId}
Assigns a group to an application
Remove Group From Application
DELETE
<example>.okta.com/api/v1/apps/{appId}/groups/{groupId}
Removes a group assignment from an application.
Activate Application
POST
<example>.okta.com/api/v1/apps/{appId}/lifecycle/activate
Activates an inactive application.
Deactivate Application
POST
<example>.okta.com/api/v1/apps/{appId}/lifecycle/deactivate
Deactivates an active application.
Update Application Policy
PUT
<example>.okta.com/api/v1/apps/{appId}/policies/{policyId}
Assign an application to a specific policy. This unassigns the application from its currently assigned policy.
Previewsaml App Metadata
GET
<example>.okta.com/api/v1/apps/{appId}/sso/saml/metadata
Previews SAML metadata based on a specific key credential for an application
Listoauth Tokensforapplication
GET
<example>.okta.com/api/v1/apps/{appId}/tokens
Lists all tokens for the application
Revokeoauth Tokensforapplication
DELETE
<example>.okta.com/api/v1/apps/{appId}/tokens
Revokes all tokens for the specified application
Getoauth Tokenforapplication
GET
<example>.okta.com/api/v1/apps/{appId}/tokens/{tokenId}
Gets a token for the specified application
Revokeoauth Tokenforapplication
DELETE
<example>.okta.com/api/v1/apps/{appId}/tokens/{tokenId}
Revokes the specified token for the specified application
List Users Assigned To Application
GET
<example>.okta.com/api/v1/apps/{appId}/users
Enumerates all assigned [application users](#application-user-model) for an application.
Assign User To Application For Sso Provisioning
POST
<example>.okta.com/api/v1/apps/{appId}/users
Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.
Get Assigned User For Application
GET
<example>.okta.com/api/v1/apps/{appId}/users/{userId}
Fetches a specific user assignment for application by `id`.
Update Application Profile For Assigned User
POST
<example>.okta.com/api/v1/apps/{appId}/users/{userId}
Updates a user's profile for an application
Remove User From Application
DELETE
<example>.okta.com/api/v1/apps/{appId}/users/{userId}
Removes an assignment for a user from an application.
Authenticator
List Authenticators
GET
<example>.okta.com/api/v1/authenticators
List Authenticators
Create An Authenticator
POST
<example>.okta.com/api/v1/authenticators
Create Authenticator
Get Authenticator
GET
<example>.okta.com/api/v1/authenticators/{authenticatorId}
Description coming soon...
Update Authenticator
PUT
<example>.okta.com/api/v1/authenticators/{authenticatorId}
Updates an authenticator
Activate Authenticator
POST
<example>.okta.com/api/v1/authenticators/{authenticatorId}/lifecycle/activate
Description coming soon...
Deactivate Authenticator
POST
<example>.okta.com/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate
Description coming soon...
Authorizationserver
List Authorization Servers
GET
<example>.okta.com/api/v1/authorizationServers
Description coming soon...
Create Authorization Server
POST
<example>.okta.com/api/v1/authorizationServers
Description coming soon...
Get Authorization Server
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}
Description coming soon...
Update Authorization Server
PUT
<example>.okta.com/api/v1/authorizationServers/{authServerId}
Description coming soon...
Delete Authorization Server
DELETE
<example>.okta.com/api/v1/authorizationServers/{authServerId}
Description coming soon...
List oAuth Claims
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/claims
Description coming soon...
Create oAuth Claim
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/claims
Description coming soon...
Get oAuth Claim
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/claims/{claimId}
Description coming soon...
Updateoauth Claim
PUT
<example>.okta.com/api/v1/authorizationServers/{authServerId}/claims/{claimId}
Description coming soon...
Deleteoauth Claim
DELETE
<example>.okta.com/api/v1/authorizationServers/{authServerId}/claims/{claimId}
Description coming soon...
Listoauth Clientsforauthorizationserver
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/clients
Description coming soon...
List Refresh Tokens For Authorization Server And Client
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens
Description coming soon...
Revoke Refresh Tokens For Authorization Server And Client
DELETE
<example>.okta.com/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens
Description coming soon...
Get Refresh Token For Authorization Server And Client
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}
Description coming soon...
Revoke Refresh Token For Authorization Server And Client
DELETE
<example>.okta.com/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}
Description coming soon...
List Authorization Server Keys
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/credentials/keys
Description coming soon...
Rotate Authorization Server Keys
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate
Description coming soon...
Activate Authorization Server
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/lifecycle/activate
Description coming soon...
Deactivate Authorization Server
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate
Description coming soon...
List Authorization Server Policies
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies
Description coming soon...
Create Authorization Server Policy
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies
Description coming soon...
Get Authorization Server Policy
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}
Description coming soon...
Update Authorization Server Policy
PUT
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}
Description coming soon...
Delete Authorization Server Policy
DELETE
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}
Description coming soon...
Activate Authorization Server Policy
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate
Description coming soon...
Deactivate Authorization Server Policy
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate
Description coming soon...
List Authorization Server Policy Rules
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules
Enumerates all policy rules for the specified Custom Authorization Server and Policy.
Create Authorization Server Policy Rule
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules
Creates a policy rule for the specified Custom Authorization Server and Policy.
Get Authorization Server Policy Rule
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}
Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.
Update Authorization Server Policy Rule
PUT
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}
Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.
Delete Authorization Server Policy Rule
DELETE
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}
Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.
Activate Authorization Server Policy Rule
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate
Description coming soon...
Deactivate Authorization Server Policy Rule
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate
Description coming soon...
Listoauth Scopes
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/scopes
Description coming soon...
Createoauth Scope
POST
<example>.okta.com/api/v1/authorizationServers/{authServerId}/scopes
Description coming soon...
Getoauth Scope
GET
<example>.okta.com/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}
Description coming soon...
Updateoauth Scope
PUT
<example>.okta.com/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}
Description coming soon...
Deleteoauth Scope
DELETE
<example>.okta.com/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}
Description coming soon...
Brand
List Brands
GET
<example>.okta.com/api/v1/brands
List all the brands in your org.
Get Brand
GET
<example>.okta.com/api/v1/brands/{brandId}
Fetches a brand by `brandId`
Update Brand
PUT
<example>.okta.com/api/v1/brands/{brandId}
Updates a brand by `brandId`
List Email Templates
GET
<example>.okta.com/api/v1/brands/{brandId}/templates/email
List email templates in your organization with pagination.
Get Email Template
GET
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}
Fetch an email template by templateName
List Email Template Customization
GET
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations
List all email customizations for an email template
Create Email Template Customization
POST
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations
Create an email customization
Delete Email Template Customization
DELETE
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations
Delete all customizations for an email template. Also known as “Reset to Default”.
Get Email Template Customization
GET
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
Fetch an email customization by id.
Update Email Customization
PUT
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
Update an email customization
Delete Email Customization
DELETE
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
Delete an email customization
Get Preview Content Of Email Customization
GET
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview
Get a preview of an email template customization.
Get Default Content Of Email Template
GET
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/default-content
Fetch the default content for an email template.
Get Preview Of Email Template Default Content
GET
<example>.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview
Fetch a preview of an email template's default content by populating velocity references with the current user's environment.
Get Preview Of Email Template Default Content
POST
<example>.okta.com/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.
Get Brand Themes
GET
<example>.okta.com/api/v1/brands/{brandId}/themes
List all the themes in your brand
Get A Theme For A Brand
GET
<example>.okta.com/api/v1/brands/{brandId}/themes/{themeId}
Fetches a theme for a brand
Update A Theme For A Brand
PUT
<example>.okta.com/api/v1/brands/{brandId}/themes/{themeId}
Updates a theme for a brand
Updates The Background Image For Your Theme
POST
<example>.okta.com/api/v1/brands/{brandId}/themes/{themeId}/background-image
Description coming soon...
Deletes A Theme Background Image
DELETE
<example>.okta.com/api/v1/brands/{brandId}/themes/{themeId}/background-image
Description coming soon...
Updates The Favicon For Your Theme
POST
<example>.okta.com/api/v1/brands/{brandId}/themes/{themeId}/favicon
Description coming soon...
Deletes A Theme Favicon The Org Then Uses The Okta Default Favicon
DELETE
<example>.okta.com/api/v1/brands/{brandId}/themes/{themeId}/favicon
Description coming soon...
Update A Themes Logo
POST
<example>.okta.com/api/v1/brands/{brandId}/themes/{themeId}/logo
Updates the logo for your Theme
Deletes A Theme Logo The Org Then Uses The Okta Default Logo
DELETE
<example>.okta.com/api/v1/brands/{brandId}/themes/{themeId}/logo
Description coming soon...
Domain
List Domains
GET
<example>.okta.com/api/v1/domains
List all verified custom Domains for the org.
Create Domain
POST
<example>.okta.com/api/v1/domains
Creates your domain.
Get Domain
GET
<example>.okta.com/api/v1/domains/{domainId}
Fetches a Domain by `id`.
Delete Domain
DELETE
<example>.okta.com/api/v1/domains/{domainId}
Deletes a Domain by `id`.
Create Certificate
PUT
<example>.okta.com/api/v1/domains/{domainId}/certificate
Creates the Certificate for the Domain.
Verify Domain
POST
<example>.okta.com/api/v1/domains/{domainId}/verify
Verifies the Domain by `id`.
Eventhook
List Event Hooks
GET
<example>.okta.com/api/v1/eventHooks
Description coming soon...
Create Event Hook
POST
<example>.okta.com/api/v1/eventHooks
Description coming soon...
Get Event Hook
GET
<example>.okta.com/api/v1/eventHooks/{eventHookId}
Description coming soon...
Update Event Hook
PUT
<example>.okta.com/api/v1/eventHooks/{eventHookId}
Description coming soon...
Delete Event Hook
DELETE
<example>.okta.com/api/v1/eventHooks/{eventHookId}
Description coming soon...