CoolFace
Datasetpublic

enigmare/v2-crawler

sourceHugging Faceupdated 28d agoView on Hugging Face
1likes904downloads
developer_okta_com.jsonl1215 linesDownload Raw Back to documentation
1{"id":"doc-understand_authenticator_enrollment_policy_api_c-973f334a","source":"documentation","title":"Understand authenticator enrollment policy API changes after the upgrade | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-mfa-enroll-policy/main/","text":"Example:\n```json\n\"settings\": {\n  \"type\": \"AUTHENTICATORS\",\n  \"authenticators\": [\n    {\n      \"key\": \"security_question\",\n      \"enroll\": {\n        \"self\": \"OPTIONAL\"\n      }\n    },\n    {\n      \"key\": \"phone_number\",\n      \"enroll\": {\n        \"self\": \"REQUIRED\"\n      }\n    }\n  ]\n}\n```\n\nExample:\n```json\n\"settings\": {\n  \"factors\": {\n    \"okta_question\": {\n      \"enroll\": {\n        \"self\": \"OPTIONAL\"\n      },\n      \"consent\": {\n        \"type\": \"NONE\"\n      }\n    },\n    \"okta_sms\": {\n      \"enroll\": {\n        \"self\": \"REQUIRED\"\n      },\n      \"consent\": {\n        \"type\": \"NONE\"\n      }\n    }\n  }\n}\n```\n\nExample:\n```json\n\"settings\": {\n    \"factors\": {\n        \"okta_question\": {\n            \"enroll\": {\n                \"self\": \"OPTIONAL\"\n            },\n            \"consent\": {\n                \"type\": \"NONE\"\n            }\n        },\n        \"okta_otp\": {\n            \"enroll\": {\n                \"self\": \"OPTIONAL\"\n            },\n            \"consent\": {\n                \"type\": \"NONE\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n\"settings\": {\n    \"type\": \"AUTHENTICATORS\",\n    \"authenticators\": [\n        {\n            \"key\": \"security_question\",\n            \"enroll\": {\n                \"self\": \"OPTIONAL\"\n            }\n        },\n        {\n            \"key\": \"okta_verify\",\n            \"enroll\": {\n                \"self\": \"OPTIONAL\"\n            }\n        }\n    ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.631Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":91,"estimatedTokens":349}}2{"id":"doc-update_your_event_hooks_for_identity_engine_okta-eaa03e22","source":"documentation","title":"Update your event hooks for Identity Engine | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-event-hooks/main/","text":"Example:\n```json\n\"target\": [\n  {\n    \"id\": \"mbl3p075rwLbODqXZ0g7\",\n    \"type\": \"MobilePhone\",\n    \"alternateId\": \"+14xxxxxxxxx\"\n  }\n]\n```\n\nExample:\n```json\n\"debugContext\": {\n  \"debugData\": {\n    \"phoneNumber\": \"+14xxxxxxxxx\",\n    \"countryCallingCode\": \"1\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.633Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":70}}3{"id":"doc-upgrade_the_okta_sign_in_widget_okta_developer-09ac3673","source":"documentation","title":"Upgrade the Okta Sign-In Widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-sign-in-widget/main/","text":"Example:\n```html\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```javascript\nvar config = {\n  issuer: '{{authServerUri}}',\n  clientId: '{{oidcAppClientId}}',\n  redirectUri: '{{oidcAppRedirectUri}}',\n  useInteractionCodeFlow: true\n}\n```\n\nExample:\n```javascript\nvar config = {\n  issuer: '{{authServerUri}}',\n  clientId: '{{oidcAppClientId}}',\n  redirectUri: '{{oidcAppRedirectUri}}',\n  useClassicEngine: true\n}\n```\n\nExample:\n```javascript\nvar signIn = new OktaSignIn({\n  baseUrl: 'https://{yourOktaDomain}',\n  registration: {\n    preSubmit: (postData, onSuccess, onFailure) => {\n        // handle preSubmit callback\n        onSuccess(postData);\n    },\n    postSubmit: (response, onSuccess, onFailure) => {\n        // handle postsubmit callback\n        onSuccess(response);\n    }\n  },\n  features: {\n    // Used to enable registration feature on the Sign-In Widget\n    // https://github.com/okta/okta-signin-widget#feature-flags\n    registration: true\n  }\n})\n```\n\nExample:\n```javascript\nfeatures: {\n  idpDiscovery: true\n}\n```\n\nExample:\n```javascript\nidps: [\n  { type: 'GOOGLE', id: '0oagjkh' },\n  { type: 'FACEBOOK', id: '0oagjkh' },\n    ...\n]\n```\n\nExample:\n```javascript\nrecoveryToken: 'x0whAcR02i0leKtWMZVc'\n```\n\nExample:\n```javascript\nfunction success(res) {\n  if (res.status === 'SUCCESS') {\n    res.session.setCookieAndRedirect('https://{yourOktaDomain}/app/UserHome');\n  }\n};\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.633Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":79,"estimatedTokens":403}}4{"id":"doc-deprecated_javascript_methods_in_the_widget_okta-bb2fe1db","source":"documentation","title":"Deprecated JavaScript methods in the widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-sign-in-widget-deprecated-methods/main/","text":"Example:\n```javascript\nvar oktaSignIn = new OktaSignIn({\n   // Assumes there's an empty element on the page with an ID of 'osw-container'\n   el: '#osw-container',\n   clientId: '{clientId of your OIDC app integration}',\n   redirectUri: '{redirectUri configured in your OIDC app integration}',\n   baseUrl: 'https://{yourOktaDomain}',\n   authParams: {\n      issuer: 'https://{yourOktaDomain}/oauth2/default'\n   }\n});\n\n// Search for URL Parameters to see if a user is being routed to the app to recover password\nvar searchParams = new URL(window.location.href).searchParams;\noktaSignIn.otp = searchParams.get('otp');\noktaSignIn.state = searchParams.get('state');\n\noktaSignIn.showSignIn().then((res) => {\n   oktaSignIn.authClient.handleLoginRedirect(res.tokens);\n})\n.catch(function(error) {\n   // This function causes errors from which the widget can't recover.\n   // Known errors: CONFIG_ERROR, UNSUPPORTED_BROWSER_ERROR\n   console.log('login error', error);\n});\n```\n\nExample:\n```javascript\nif (authClient.isLoginRedirect()) {\n  const res = await authClient.token.parseFromUrl();\n  authClient.tokenManager.setTokens(res.tokens);\n}\n```\n\nExample:\n```javascript\nif (authClient.isLoginRedirect()) {\n  if (authClient.isInteractionRequired()) {\n    return showWidget(); // render the widget to continue the flow\n  }\n  const res = await authClient.token.parseFromUrl();\n  authClient.tokenManager.setTokens(res.tokens);\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.633Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":48,"estimatedTokens":357}}5{"id":"doc-upgrade_registration_inline_hooks_to_identity_en-6f979ef9","source":"documentation","title":"Upgrade registration inline hooks to Identity Engine | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-registration-inline-hook/main/","text":"Example:\n```json\n{\n    \"eventType\": \"com.okta.user.pre-registration\",\n    \"eventTypeVersion\": \"1.0\",\n    \"contentType\": \"application/json\",\n    \"cloudEventVersion\": \"0.1\",\n    \"source\": \"regt4qeBKU29vSoPz0g3\",\n    \"requestType\": \"self.service.registration\",\n    \"data\": {\n        \"context\": {\n            \"request\": {\n                \"method\": \"POST\",\n                \"ipAddress\": \"127.0.0.1\",\n                \"id\": \"123dummyId456\",\n                \"url\": {\n                    \"value\": \"/idp/idx/enroll/new\"\n                }\n            }\n        },\n        \"userProfile\": {\n            \"firstName\": \"Jessie\",\n            \"lastName\": \"Smith\",\n            \"login\": \"jessie.smith@example.com\",\n            \"email\": \"jessie.smith@example.com\"\n        },\n        \"action\": \"ALLOW\"\n    }\n}\n```\n\nExample:\n```json\n{\n    \"eventType\": \"com.okta.user.pre-registration\",\n    \"eventTypeVersion\": \"1.0\",\n    \"contentType\": \"application/json\",\n    \"cloudEventVersion\": \"0.1\",\n    \"source\": \"regt4qeBKU29vS\",\n    \"requestType\": \"progressive.profile\",\n    \"data\": {\n        \"context\": {\n            \"request\": {\n                \"method\": \"POST\",\n                \"ipAddress\": \"127.0.0.1\",\n                \"id\": \"123dummyId456\",\n                \"url\": {\n                    \"value\": \"/idp/idx/enroll/update\"\n                }\n            },\n            \"user\": {\n                \"profile\": {\n                    \"firstName\": \"Jessie\",\n                    \"lastName\": \"Smith\",\n                    \"login\": \"jessie.smith@example.com\",\n                    \"locale\": \"en_US\"\n                },\n                \"id\": \"00u48gwcu01WxvNo\"\n            }\n        },\n        \"action\": \"ALLOW\",\n        \"userProfileUpdate\": {\n            \"employeeNumber\": \"1234\"\n        }\n    }\n}\n```\n\nExample:\n```javascript\n// Classic Engine: a single registration flow, no requestType\napp.post('/registrationHook', async (request, response) => {\n  const emailRegistration = request.body.data.userProfile['email'];\n  let returnValue = {};\n\n  if (emailRegistration.includes('example.com')) {\n    returnValue = {\n      commands: [\n        { type: 'com.okta.action.update', value: { registration: 'ALLOW' } }\n      ]\n    };\n  } else {\n    returnValue = {\n      commands: [\n        { type: 'com.okta.action.update', value: { registration: 'DENY' } }\n      ],\n      error: {\n        errorSummary: 'Incorrect email address. Please contact your admin.'\n      }\n    };\n  }\n\n  response.send(JSON.stringify(returnValue));\n});\n```\n\nExample:\n```javascript\n// Identity Engine: branch on requestType\napp.post('/registrationHook', async (request, response) => {\n  let returnValue = {};\n\n  if (request.body.requestType === 'self.service.registration') {\n    // Equivalent to the Classic Engine self-service registration flow\n    const emailRegistration = request.body.data.userProfile['email'].split('@');\n    if (emailRegistration[1].includes('example.com')) {\n      returnValue = {\n        commands: [\n          { type: 'com.okta.action.update', value: { registration: 'ALLOW' } }\n        ]\n      };\n    } else {\n      returnValue = {\n        commands: [\n          { type: 'com.okta.action.update', value: { registration: 'DENY' } }\n        ],\n        error: {\n          errorSummary: 'Incorrect email address. Please contact your admin.'\n        }\n      };\n    }\n  } else if (request.body.requestType === 'progressive.profile') {\n    // New in Identity Engine: read the submitted update from data.userProfileUpdate\n    const employeeNumber = request.body.data.userProfileUpdate['employeeNumber'];\n    if (employeeNumber && employeeNumber.length === 4) {\n      returnValue = {\n        commands: [\n          {\n            type: 'com.okta.user.progressive.profile.update',\n            value: { employeeNumber: employeeNumber }\n          }\n        ]\n      };\n    } else {\n      returnValue = {\n        commands: [],\n        error: {\n          errorSummary: 'Enter an employee number with 4 digits.'\n        }\n      };\n    }\n  }\n\n  response.status(200).send(JSON.stringify(returnValue));\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.634Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":148,"estimatedTokens":1012}}6{"id":"doc-configure_direct_authentication_okta_developer-31f8e8be","source":"documentation","title":"Configure Direct Authentication | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-direct-auth-grants/bmfaotp/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid%20profile&grant_type=password&username={testuser%40example.com}&password={userpassword}'\n```\n\nExample:\n```json\n{\n        \"error\": \"mfa_required\",\n        \"error_description\": \"Verify with an additional authenticator to complete the sign-in process.\",\n        \"mfa_token\": \"F5snZpk1UBRKHYR6N7Mh\"\n    }\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid profile&grant_type=http://auth0.com/oauth/grant-type/mfa-otp&otp={otp_value}&mfa_token={mfa_token_value}'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJEaW5ORllJVDRle[.....]WzUu9KNQ\",\n    \"scope\": \"openid profile\",\n    \"id_token\": \"eyJraWQiOiJFVkRZM0JsS[.....]lSXMvLzbcgumA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.636Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":285}}7{"id":"doc-configure_direct_authentication_okta_developer-e65c5ee4","source":"documentation","title":"Configure Direct Authentication | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-direct-auth-grants/dmfaoobov/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid%20profile&grant_type=password&username={testuser%40example.com}&password={userpassword}'\n```\n\nExample:\n```json\n{\n        \"error\": \"mfa_required\",\n        \"error_description\": \"Verify with an additional authenticator to complete the sign-in process.\",\n        \"mfa_token\": \"fCRU9lDO0rMHQ_FIADFL\"\n    }\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/challenge \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&mfa_token=fCRU9lDO0rMHQ_FIADFL&challenge_types_supported=http://auth0.com/oauth/grant-type/mfa-oob&channel_hint=push'\n```\n\nExample:\n```json\n{\n    \"challenge_type\": \"http://auth0.com/oauth/grant-type/mfa-oob\",\n    \"oob_code\": \"ftyP7pAi17dEc-zQFsBFjXVKw4HzH0yIMn\",\n    \"expires_in\": 300,\n    \"interval\": 5,\n    \"channel\": \"push\",\n    \"binding_method\": \"none\"\n  }\n```\n\nExample:\n```json\n{\n    \"challenge_type\": \"http://auth0.com/oauth/grant-type/mfa-oob\",\n    \"oob_code\": \"ftyP7pAi17dEc-zQFsBFjXVKw4HzH0yIMn\",\n    \"expires_in\": 300,\n    \"interval\": 5,\n    \"channel\": \"push\",\n    \"binding_method\": \"transfer\",\n    \"binding_code\": \"95\"\n  }\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid profile&grant_type=http://auth0.com/oauth/grant-type/mfa-oob&oob_code=ftqmhFRXHxOVo-4t4JoQhtbsqww3XTMCp2&mfa_token=fCRU9lDO0rMHQ_FIADFL'\n```\n\nExample:\n```json\n{\n    \"error\": \"authorization_pending\",\n    \"error_description\": \"No user response received on the out-of-band authenticator yet. Continue polling to wait for a response.\"\n  }\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiO[.....]Zpx4fch2n-cdQ\",\n    \"scope\": \"openid profile\",\n    \"id_token\": \"eyJraWQiOiJFVkRZ[.....]GKwhgZa3TdIfCXA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.636Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":81,"estimatedTokens":556}}8{"id":"doc-configure_direct_authentication_okta_developer-bc059aea","source":"documentation","title":"Configure Direct Authentication | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-direct-auth-grants/fmfaoobsv/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid%20profile&grant_type=password&username={testuser%40example.com}&password={userpassword}'\n```\n\nExample:\n```json\n{\n        \"error\": \"mfa_required\",\n        \"error_description\": \"Verify with an additional authenticator to complete the sign-in process.\",\n        \"mfa_token\": \"fCRU9lDO0rMHQ_FIADFL\"\n    }\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/challenge \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&mfa_token=fCRU9lDO0rMHQ_FIADFL&challenge_types_supported=http://auth0.com/oauth/grant-type/mfa-oob&channel_hint=push'\n```\n\nExample:\n```json\n{\n    \"challenge_type\": \"http://auth0.com/oauth/grant-type/mfa-oob\",\n    \"oob_code\": \"ftXV6pXUNEKgBF8MyPy5EPANPVxfiajMDx\",\n    \"expires_in\": 300,\n    \"channel\": \"sms\",\n    \"binding_method\": \"prompt\"\n}\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid%20profile&grant_type=http://auth0.com/oauth/grant-type/mfa-oob&oob_code=ftXV6pXUNEKgBF8MyPy5EPANPVxfiajMDx&binding_code=436575'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiO[.....]Zpx4fch2n-cdQ\",\n    \"scope\": \"openid profile\",\n    \"id_token\": \"eyJraWQiOiJFVkRZ[.....]GKwhgZa3TdIfCXA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.639Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":431}}9{"id":"doc-sign_users_in_to_your_spa_using_the_redirect_mod-af6ee0f9","source":"documentation","title":"Sign users in to your SPA using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-spa-redirect/angular/main/","text":"Example:\n```shell\nnpx @angular/cli@22 new okta-angular-sample --ssr=false\n```\n\nExample:\n```shell\ncd okta-angular-sample\nnpm install @okta/okta-angular@8.0 @okta/okta-auth-js@8.0\n```\n\nExample:\n```ts\nimport { provideOktaAuth, withOktaConfig } from '@okta/okta-angular';\nimport { OktaAuth } from '@okta/okta-auth-js';\n```\n\nExample:\n```ts\nconst oktaAuth = new OktaAuth({\n  issuer: 'https://{yourOktaDomain}',\n  clientId: '{yourClientID}',\n  redirectUri: window.location.origin + '/login/callback',\n  scopes: ['openid', 'profile', 'offline_access']\n});\n```\n\nExample:\n```ts\nexport const appConfig: ApplicationConfig = {\n providers: [\n   // other providers as required\n   provideOktaAuth(\n     withOktaConfig({ oktaAuth })\n   ),\n ]\n};\n```\n\nExample:\n```html\n@if (isAuthenticated$ | async) {\n  <button (click)=\"signOut()\">Sign out</button>\n} @else {\n  <button (click)=\"signIn()\"> Sign in </button>\n}\n```\n\nExample:\n```ts\nimport { AsyncPipe } from '@angular/common';\nimport { Component, inject } from '@angular/core';\nimport { RouterLink, RouterOutlet } from '@angular/router';\nimport { OktaAuthStateService, OKTA_AUTH } from '@okta/okta-angular';\nimport { AuthState } from '@okta/okta-auth-js';\nimport { filter, map } from 'rxjs';\n\n@Component({\n   selector: 'app-root',\n   imports: [AsyncPipe, RouterLink, RouterOutlet],\n   templateUrl: './app.component.html',\n   styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n  private oktaStateService = inject(OktaAuthStateService);\n  private oktaAuth = inject(OKTA_AUTH);\n\n  public isAuthenticated$ = this.oktaStateService.authState$.pipe(\n     filter((s: AuthState) => !!s),\n     map((s: AuthState) => s.isAuthenticated ?? false)\n  );\n\n  public async signIn() : Promise<void> {\n    await this.oktaAuth.signInWithRedirect();\n  }\n\n  public async signOut(): Promise<void> {\n    await this.oktaAuth.signOut();\n  }\n}\n```\n\nExample:\n```ts\nimport { OktaCallbackComponent } from '@okta/okta-angular';\n```\n\nExample:\n```ts\n{ path: 'login/callback', component: OktaCallbackComponent }\n```\n\nExample:\n```ts\nimport { Component, inject } from '@angular/core';\nimport { OKTA_AUTH } from '@okta/okta-auth-js';\n\n@Component({\n  selector: 'app-profile',\n  imports: [],\n  template: `\n     <table>\n       <thead>\n         <tr>\n           <th>Claim</th>\n           <th>Value</th>\n         </tr>\n       </thead>\n       <tbody>\n         @for (claim of claims; track claim.name) {\n           <tr>\n             <td>{{ claim.name }}</td>\n             <td>{{ claim.value }}</td>\n           </tr>\n         }\n       </tbody>\n     </table>\n  `\n})\nexport class ProfileComponent {\n  private oktaAuth = inject(OKTA_AUTH);\n\n  get claims() {\n    const idToken = this.oktaAuth.authStateManager.getAuthState()?.idToken;\n    return Object.entries(idToken?.claims ?? {}).map(([name, value]) => ({ name, value }));\n  }\n}\n```\n\nExample:\n```typescript\nimport { ProfileComponent } from './profile/profile.component';\n```\n\nExample:\n```typescript\n{ path: 'profile', component: ProfileComponent }\n```\n\nExample:\n```shell\nng serve\n```\n\nExample:\n```ts\nimport { canActivateAuthGuard, OktaCallbackComponent } from '@okta/okta-angular';\n```\n\nExample:\n```ts\n{\n  path: 'protected',\n  loadChildren: () => import('./protected/routes').then(m => m.PROTECTED_FEATURE_ROUTES), canActivate: [canActivateAuthGuard]\n},\n```\n\nExample:\n```ts\nimport { Route } from '@angular/router';\nimport { ProtectedComponent } from './protected.component';\n\nexport const PROTECTED_FEATURE_ROUTES: Route[] = [\n   { path: '', component: ProtectedComponent }\n];\n```\n\nExample:\n```ts\n{ path: 'profile', component: ProfileComponent, canActivate: [canActivateAuthGuard] }\n```\n\nExample:\n```http\nAuthorization: Bearer {token}\n```\n\nExample:\n```ts\nimport { provideHttpClient, withInterceptors } from '@angular/common/http';\nimport { authInterceptor } from './auth.interceptor';\n```\n\nExample:\n```ts\nprovideHttpClient(withInterceptors([\n   authInterceptor\n ]))\n```\n\nExample:\n```ts\nimport { inject } from '@angular/core';\nimport { HttpInterceptorFn } from '@angular/common/http';\nimport { OKTA_AUTH } from '@okta/okta-angular';\n\nexport const authInterceptor: HttpInterceptorFn = (req, next, oktaAuth = inject(OKTA_AUTH)) => {\n   let request = req;\n   const allowedOrigins = ['http://localhost'];\n   const accessToken = oktaAuth.getAccessToken();\n   if (accessToken && !!allowedOrigins.find(origin => request.url.includes(origin))) {\n      request = req.clone({ setHeaders: { 'Authorization': `Bearer {accessToken}` } });\n    }\n\n   return next(request);\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.642Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":209,"estimatedTokens":1131}}10{"id":"doc-oauth_2_0_claims_and_scopes_okta_developer-f7b08b8c","source":"documentation","title":"OAuth 2.0 claims and scopes | Okta Developer","url":"https://developer.okta.com/docs/concepts/oauth-claims/","text":"Example:\n```json\n{\n  \"ver\": 1,\n  \"jti\": \"AT.0mP4JKAZX1iACIT4vbEDF7LpvDVjxypPMf0D7uX39RE\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n  \"aud\": \"https://api.example.com\",\n  \"sub\": \"00ujmkLgagxeRrAg20g3\",\n  \"iat\": 1467145094,\n  \"exp\": 1467148694,\n  \"cid\": \"nmdP1fcyvdVO11AL7ECm\",\n  \"uid\": \"00ujmkLgagxeRrAg20g3\",\n  \"scp\": [\n    \"openid\",\n    \"email\",\n  ],\n  \"auth_time\": 1467142021,\n}\n```\n\nExample:\n```json\n{\n  \"sub\": \"user123\",\n  \"email\": \"user@example.com\",\n  \"phone_number\": \"+1234567890\",\n  \"name\": \"John Doe\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.642Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":139}}11{"id":"doc-configure_oauth_2_0_demonstrating_proof_of_posse-7f016e52","source":"documentation","title":"Configure OAuth 2.0 Demonstrating Proof-of-Possession | Okta Developer","url":"https://developer.okta.com/docs/guides/dpop/nonoktaresourceserver/main/","text":"Example:\n```json\n{\n    \"typ\": \"dpop+jwt\",\n    \"alg\": \"RS256\",\n    \"jwk\": {\n      \"kty\": \"RSA\",\n      \"e\": \"AQAB\",\n      \"use\": \"sig\",\n      \"kid\": \"XUl71vpgPXgxSTCYHbvbEHDrtj-adpVcxXH3TKjKe7w\",\n      \"alg\": \"RS256\",\n      \"n\": \"4LuWNeMa7.....zLvDWaJsF0\"\n    }\n  }\n```\n\nExample:\n```bash\nHTTP/ 1.1 400 Bad Request\nCache-Control: no-cache, no-store\nPragma: no-cache\nContent-Type: application/json\nServer: nginx\nDate: Tue, 07 Mar 2023 23:43:13 GMT\ndpop-nonce: 8NLZUUhVawx1ns8AjrC4F6j8D2phvaw7\n\n  {\n    \"error\": \"use_dpop_nonce\",\n    \"error_description\": \"Authorization server requires nonce in DPoP proof.\"\n  }\n```\n\nExample:\n```json\n{\n    \"htm\": \"POST\",\n    \"htu\": \"https://{yourOktaDomain}/oauth2/default/v1/token\",\n    \"iat\": 1516239022,\n    \"nonce\": \"dsGuZVkXzEdbNb8yxI3Fi-cnuzkH_E0k\",\n    \"jti\": \"123456788\"\n    }\n```\n\nExample:\n```json\n{\n      \"token_type\": \"DPoP\",\n      \"expires_in\": 3600,\n      \"access_token\": \"eyJraWQiOiJRVX.....wt7oSakPDUg\",\n      \"scope\": \"openid offline_access\",\n      \"refresh_token\": \"3CEz0Zvjs0eG9mu4w36n-c2g6YIqRfyRSsJzFAqEyzw\",\n      \"id_token\": \"eyJraWQiOiJRVXlG.....m5h5-NAtVFdwD1bg2JprEJQ\"\n  }\n```\n\nExample:\n```json\n{\n      \"ver\": 1,\n      \"jti\": \"AT.pKoLFoM7X4P4DrJBRvXaJzj9g0-naK1ChGH_oTbStYE\",\n      \"iss\": \"https://{yourOktaDomain}/oauth2/default\",\n      \"aud\": \"api://default\",\n      \"iat\": 1677530933,\n      \"exp\": 1677534533,\n      \"cnf\": {\n        \"jkt\": \"2HR2BW5-tan1aI6yIPHVOHwirAy4kQGWULoQHKUO0s4\"\n        },\n      \"cid\": \"0oa4dr9kzkykPrLhq0g7\",\n      \"uid\": \"00u47ijy7sRLaeSdC0g7\",\n      \"scp\": [\n        \"openid\"\n      ],\n      \"auth_time\": 1677521913,\n      \"sub\": \"user@example.com\"\n    }\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n  --header 'Accept: application/json' \\\n  --header 'Content-Type: application/json' \\\n  --header 'Authorization: DPoP eyJraWQiOiJRVX.....wt7oSakPDUg' \\\n  --header 'DPoP: eyJ0eXAiOiJkcG9w.....H8-u9gaK2-oIj8ipg' \\\n  \"https://resource.example.org\"\n```\n\nExample:\n```bash\ncurl --request POST\n  --url 'https://{yourOktaDomain}/oauth2/default/v1/token' \\\n  --header 'Accept: application/json' \\\n  --header 'DPoP: eyJ0eXAiOiJkcG9w.....H8-u9gaK2-oIj8ipg' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data 'grant_type=refresh_token' \\\n  --data 'redirect_uri={redirectUri}' \\\n  --data 'client_id={clientId}' \\\n  --data 'scope=offline_access openid' \\\n  --data 'refresh_token=3CEz0Zvjs0eG9mu4w36n-c2g6YIqRfyRSsJzFAqEyzw'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"DPoP\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJRVXlGdjB.....RxDhLJievVVN5WQrAZlw\",\n    \"scope\": \"offline_access openid\",\n    \"refresh_token\": \"3CEz0Zvjs0eG9mu4w36n-c2g6YIqRfyRSsJzFAqEyzw\",\n    \"id_token\": \"eyJraWQiOiJRVX.....3SA6LTm7mA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.643Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":114,"estimatedTokens":681}}12{"id":"doc-customize_domain_and_email_address_okta_develope-b91b52e7","source":"documentation","title":"Customize domain and email address | Okta Developer","url":"https://developer.okta.com/docs/guides/custom-url-domain/main/","text":"Example:\n```text\nhttps://<id.domain.name>/oauth2/default/.well-known/openid-configuration\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.645Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":27}}13{"id":"doc-style_the_sign_in_page_okta_developer-37c66cc8","source":"documentation","title":"Style the sign-in page | Okta Developer","url":"https://developer.okta.com/docs/guides/custom-widget/main/","text":"Example:\n```text\nhttps://{yourOktaDomain}/login/default\n```\n\nExample:\n```html\n<title>{{pageTitle}}</title>\n```\n\nExample:\n```html\n<style>\n  #login-bg-image-id {\n    background-image: {{bgImageUrl}}\n  }\n</style>\n```\n\nExample:\n```html\n{{#useSiwGen3}}\n    <style nonce=\"{{nonceValue}}\">\n        #okta-login-container {\n            background-color: red !important;\n        }\n    </style>\n{{/useSiwGen3}}\n```\n\nExample:\n```json\n{\n  \"app\": {\n    \"type\": \"object\",\n    \"value\": {\n      \"name\": \"sample_client\",\n      \"label\": \"Demo App\",\n      \"id\": \"0oadday782XUlHyp90h3\"\n    }\n  },\n  \"authentication\": {\n    \"type\": \"object\",\n    \"value\": {\n      \"request\": {\n        \"max_age\": -1,\n        \"scope\": \"openid\",\n        \"display\": \"page\",\n        \"response_type\": \"code\",\n        \"redirect_uri\": \"https://example.com/enduser/callback\",\n        \"state\": \"VqpCUgGCSYkbwuCfnqHLSehAJvI5En1XxtywWxfiGSXQ0bVeSNKMh4gscswtUhPa\",\n        \"code_challenge_method\": \"S256\",\n        \"nonce\": \"i2Q3rgA3fPGx3f9yfuglKc0PdzZRB8tODSoJFWMZSccH6Hi4dhIXGl6PNFj0pyUo\",\n        \"code_challenge\": \"C0bfLXeyH61AWEyznLh-JsZP55uJTJqxGAhXBcH-lO8\",\n        \"response_mode\": \"query\"\n      },\n      \"protocol\": {},\n      \"issuer\": {\n        \"name\": \"default\",\n        \"uri\": \"https://{yourOktaDomain}/oauth2/default\"\n      }\n    }\n  }\n}\n```\n\nExample:\n```json\n{\n  \"target\": {\n    \"clientId\": \"0oadday782XUlHyp90h3\",\n    \"name\": \"sample_client\",\n    \"label\": \"Demo App\"\n  },\n  \"authentication\": {\n    \"request\": {\n      \"scope\": \"openid\",\n      \"response_type\": \"code\",\n      \"redirect_uri\": \"https://example.com/debug\",\n      \"state\": \"asdf\",\n      \"response_mode\": \"form_post\"\n    },\n    \"client\": {\n      \"name\": \"Demo App\",\n      \"id\": \"0oadday782XUlHyp90h3\"\n    },\n    \"issuer\": {\n      \"name\": \"default\",\n      \"id\": \"ausblkmh242Vtu5430h2\",\n      \"uri\": \"https://{yourOktaDomain}/oauth2/default\"\n    }\n  }\n}\n```\n\nExample:\n```javascript\n// Identity Engine\nOktaUtil.getRequestContext().app.value.id\n// Classic\nOktaUtil.getRequestContext().target.clientId\n```\n\nExample:\n```html\n<link href=\"{{themedStylesUrl}}\" rel=\"stylesheet\" type=\"text/css\">\n```\n\nExample:\n```html\n<link rel=\"shortcut icon\" href=\"{{faviconUrl}}\" type=\"image/x-icon\"/>\n```\n\nExample:\n```html\n<style> #okta-login-container{ opacity:0; transition-delay:200ms; transition:opacity 500ms; -webkit-transition:opacity 500ms; /* Safari */ }</style>\n```\n\nExample:\n```javascript\nvar myContext = {\n    isLoginHidden: true,\n}\n```\n\nExample:\n```javascript\n// Get the login container.\nvar loginContainer = document.getElementById(\"okta-login-container\")\n\n// Utility: Get a Query String Parameters\nvar urlParams = new URLSearchParams(window.location.search);\n\n// Detect the IDP param\nif (urlParams.has(\"idp\")) {\n    console.log(urlParams.get('idp')); // just to capture... if more logic needed\n    // Let the Default opacity remain;\n} else {\n    // Allow the login container to be seen;\n    loginContainer.style.opacity = 1;\n    myContext.isLoginHidden = false; // (OPTIONAL - if more Logic needed (would not set opacity)\n}\n```\n\nExample:\n```javascript\nif (myContext.isLoginHidden) {\n    // Make sure the login is displayed by default\n    console.log('show the login!'); // Indicate login should not be hidden just in case it renders again.\n    myContext.isLoginHidden = false; // Show the login container;\n    loginContainer.style.opacity = 1;\n}\n```\n\nExample:\n```javascript\nvar config = {\n  ...\n  logo: '/path/to/logo.png',\n  ...\n};\n\nvar signIn = new OktaSignIn(config);\n```\n\nExample:\n```javascript\nvar config = {\n  ...\n  customButtons: [\n    {\n      title: 'Click Me 1',\n      className: 'btn-customAuth',\n      click: function() {\n          // clicking on the button navigates to another page\n          window.location.href = 'http://www.example1.com';\n        }\n    },\n    {\n      title: 'Click Me 2',\n      className: 'btn-customAuth',\n      click: function() {\n          // clicking on the button navigates to another page\n          window.location.href = 'http://www.example2.com';\n      }\n    }\n  ],\n  ...\n};\n```\n\nExample:\n```javascript\nvar config = {\n  ...\n  helpLinks: {\n    help: 'https://example.com/help',\n    forgotPassword: 'https://example.com/forgot-password',\n    unlock: 'https://example.com/unlock-account',\n    custom: [\n      {\n        text: 'What is Okta?',\n        href: 'https://example.com/what-is-okta'\n      },\n      {\n        text: 'Example Portal',\n        href: 'https://example.com'\n      }\n    ]\n  },\n  ...\n};\n```\n\nExample:\n```css\n#okta-sign-in.auth-container.main-container {\n  background-color: red;\n}\n\n#okta-sign-in .beacon-blank {\n  background-color: red;\n}\n```\n\nExample:\n```css\n#okta-sign-in.auth-container.main-container {\n  border-color: red;\n}\n\n#okta-sign-in.auth-container .okta-sign-in-header {\n  border-bottom-color: red;\n}\n```\n\nExample:\n```css\n#okta-sign-in * {\n  color: red;\n}\n```\n\nExample:\n```css\n#okta-sign-in.auth-container .o-form-head {\n  color: red;\n}\n```\n\nExample:\n```css\n#okta-sign-in.auth-container a.link:link {\n  color: red;\n}\n```\n\nExample:\n```css\n#okta-sign-in {\n  width: 600px;\n}\n```\n\nExample:\n```css\n#okta-sign-in {\n  margin: 100px auto 8px;\n}\n```\n\nExample:\n```css\n#okta-sign-in.auth-container .custom-style {\n  background: url(logo.png) no-repeat 10px, linear-gradient(90deg, hotpink 50px, lightpink 0);\n}\n```\n\nExample:\n```javascript\nvar config = {\n  ...\n  i18n: {\n      en: {\n        // Labels\n        'primaryauth.title': 'ExampleApp Login',\n        'primaryauth.username.placeholder': 'ExampleApp ID',\n        'primaryauth.username.tooltip': 'Enter your ExampleApp ID',\n        'primaryauth.password.placeholder': 'Password',\n        'primaryauth.password.tooltip': 'Super secret password',\n        // Errors\n        'error.username.required': 'Please enter an ExampleApp ID',\n        'error.password.required': 'Please enter a password',\n        'errors.E0000004': 'Sign in failed!'\n      }\n  }\n  ...\n};\n```\n\nExample:\n```javascript\nlang: {\n  'key': 'value'\n}\n```\n\nExample:\n```javascript\nvar config = {\n  baseUrl: 'https://{yourOktaDomain}',\n  ...\n  i18n: {\n    'en': {\n      'primaryauth.title': 'Sign in to ExampleApp'\n    },\n    'es': {\n      'primaryauth.title': 'Iniciar sesión en ExampleApp'\n    },\n    'zh-CN': {\n      'primaryauth.title': '登录 ExampleApp'\n    },\n    'zh-TW': {\n      'primaryauth.title': '登錄入 ExampleApp'\n    }\n  },\n  ...\n};\n```\n\nExample:\n```javascript\nvar config = {\n  baseUrl: 'https://{yourOktaDomain}',\n  assets: {\n    baseUrl: 'https://acme.com/assets/dist',\n    languages: ['en', 'ja', 'fr'],\n  },\n};\n\nvar signIn = new OktaSignIn(config);\n```\n\nExample:\n```html\n<head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <meta name=\"robots\" content=\"none\" />\n    <title>{{pageTitle}}</title>\n    {{{SignInWidgetResources}}}\n\n    <!-- Custom styles for your sign-in page -->\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"http://example.com/yourCustomStyleSheet.css\">\n</head>\n...\n```\n\nExample:\n```html\n<head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <meta name=\"robots\" content=\"none\" />\n    <title>{{pageTitle}}</title>\n    {{{SignInWidgetResources}}}\n\n    <!-- Add your scripts here -->\n    <script src=\"https://example.com/yourCustomScript.js\"></script>\n\n    <!-- Or, inline scripts -->\n    <script>\n      // Do something\n    </script>\n</head>\n...\n```\n\nExample:\n```html\n// Identity Engine\n<script>\n  function getAppId() {\n    if (!OktaUtil) return undefined;\n\n    var requestContext = OktaUtil.getRequestContext();\n    if (requestContext && requestContext.app && requestContext.app.value.id) {\n      return requestContext.app.value.id;\n    }\n  }\n</script>\n\n// Classic\n<script>\n  function getAppId() {\n    if (!OktaUtil) return undefined;\n\n    var requestContext = OktaUtil.getRequestContext();\n\n    // OIDC Apps\n    if (requestContext && requestContext.target && requestContext.target.clientId) {\n      return requestContext.target.clientId;\n    }\n\n    // SAML Apps\n    if (requestContext && requestContext.authentication && requestContext.authentication.issuer.id){\n      return requestContext.authentication.issuer.id;\n    }\n  }\n</script>\n```\n\nExample:\n```html\n<script>\n  var appId = getAppId();\n\n  if (appId === '00exampleclientid'){\n    // add application-specific CSS\n    var head = document.head;\n    var link = document.createElement('link');\n\n    link.type = 'text/css';\n    link.rel = 'stylesheet';\n    link.href = 'https://example.com/styles/' + appId + '.css';\n    head.appendChild(link);\n  }\n</script>\n```\n\nExample:\n```javascript\nvar config = OktaUtil.getSignInWidgetConfig();\nconfig['features.registration'] = true;\n// or: config.features.registration = true;\n// Then pass config to OktaSignIn as usual\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.647Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":439,"estimatedTokens":2214}}14{"id":"doc-style_the_sign_in_widget_third_generation_okta_d-77722619","source":"documentation","title":"Style the Sign-In Widget (third generation) | Okta Developer","url":"https://developer.okta.com/docs/guides/custom-widget-gen3/main/","text":"Example:\n```javascript\nnew OktaSignIn({\n  theme: {\n    tokens: {\n      PalettePrimaryMain: '#D11DCA',\n      TypographyColorBody: '#00297A',\n      TypographyColorHeading: '#00297A',\n      TypographyFamilyHeading: 'Helvetica',\n      TypographyFamilyBody: 'Helvetica',\n      TypographyWeightHeading: 600,\n      BorderRadiusMain: '24px',\n      Spacing5: '2.85714286rem',\n    }\n  }\n});\n```\n\nExample:\n```json\n{\n  \"BorderColorDisplay\": \"#e1e1e1\",\n  \"BorderColorDisabled\": \"#e1e1e1\",\n  \"BorderColorDangerLight\": \"#fe8f7a\",\n  \"BorderColorDangerControl\": \"#e72500\",\n  \"BorderColorDangerDark\": \"#951800\",\n  \"BorderColorPrimaryControl\": \"#546be7\",\n  \"BorderColorPrimaryDark\": \"#2e40a5\",\n  \"BorderRadiusTight\": \"4px\",\n  \"BorderRadiusMain\": \"6px\",\n  \"BorderStyleMain\": \"solid\",\n  \"BorderWidthMain\": \"1px\",\n  \"FocusOutlineColorPrimary\": \"#546be7\",\n  \"FocusOutlineOffsetMain\": \"2px\",\n  \"FocusOutlineOffsetTight\": \"0\",\n  \"FocusOutlineStyle\": \"solid\",\n  \"FocusOutlineWidthMain\": \"2px\",\n  \"FocusOutlineWidthTight\": \"1px\",\n  \"HueNeutral50\": \"#f4f4f4\",\n  \"HueNeutral100\": \"#ededed\",\n  \"HueNeutral200\": \"#e1e1e1\",\n  \"HueNeutral300\": \"#cbcbcb\",\n  \"HueNeutral400\": \"#aeaeae\",\n  \"HueNeutral500\": \"#8d8d8d\",\n  \"HueNeutral600\": \"#6e6e6e\",\n  \"HueNeutral700\": \"#4b4b4b\",\n  \"HueNeutral800\": \"#383838\",\n  \"HueNeutral900\": \"#272727\",\n  \"HueNeutralWhite\": \"#ffffff\",\n  \"HueBlue50\": \"#f2f3fd\",\n  \"HueBlue100\": \"#dbe0fa\",\n  \"HueBlue200\": \"#c1c9f6\",\n  \"HueBlue300\": \"#9daaf1\",\n  \"HueBlue400\": \"#7286eb\",\n  \"HueBlue500\": \"#546be7\",\n  \"HueBlue600\": \"#4c64e1\",\n  \"HueBlue700\": \"#2e40a5\",\n  \"HueBlue800\": \"#22307c\",\n  \"HueBlue900\": \"#182257\",\n  \"HueGreen50\": \"#defae7\",\n  \"HueGreen100\": \"#94f5b3\",\n  \"HueGreen200\": \"#7be09e\",\n  \"HueGreen300\": \"#59c282\",\n  \"HueGreen400\": \"#31a061\",\n  \"HueGreen500\": \"#16884a\",\n  \"HueGreen600\": \"#197f48\",\n  \"HueGreen700\": \"#0e562f\",\n  \"HueGreen800\": \"#0a4023\",\n  \"HueGreen900\": \"#072e19\",\n  \"HueRed50\": \"#fff0ee\",\n  \"HueRed100\": \"#ffd8d1\",\n  \"HueRed200\": \"#febbae\",\n  \"HueRed300\": \"#fe8f7a\",\n  \"HueRed400\": \"#fd4e2d\",\n  \"HueRed500\": \"#e72500\",\n  \"HueRed600\": \"#d92300\",\n  \"HueRed700\": \"#951800\",\n  \"HueRed800\": \"#711200\",\n  \"HueRed900\": \"#500d00\",\n  \"HueYellow50\": \"#fcf6ac\",\n  \"HueYellow100\": \"#fce101\",\n  \"HueYellow200\": \"#f9c503\",\n  \"HueYellow300\": \"#eb9e05\",\n  \"HueYellow400\": \"#bf8004\",\n  \"HueYellow500\": \"#a16c03\",\n  \"HueYellow600\": \"#966603\",\n  \"HueYellow700\": \"#664402\",\n  \"HueYellow800\": \"#4c3302\",\n  \"HueYellow900\": \"#352401\",\n  \"PalettePrimaryLighter\": \"#f2f3fd\",\n  \"PalettePrimaryLight\": \"#9daaf1\",\n  \"PalettePrimaryMain\": \"#546be7\",\n  \"PalettePrimaryDark\": \"#2e40a5\",\n  \"PalettePrimaryDarker\": \"#22307c\",\n  \"PalettePrimaryText\": \"#4c64e1\",\n  \"PalettePrimaryHeading\": \"#182257\",\n  \"PalettePrimaryHighlight\": \"#dbe0fa\",\n  \"PaletteDangerLighter\": \"#fff0ee\",\n  \"PaletteDangerLight\": \"#fe8f7a\",\n  \"PaletteDangerMain\": \"#e72500\",\n  \"PaletteDangerDark\": \"#951800\",\n  \"PaletteDangerDarker\": \"#711200\",\n  \"PaletteDangerText\": \"#d92300\",\n  \"PaletteDangerHeading\": \"#500d00\",\n  \"PaletteDangerHighlight\": \"#ffd8d1\",\n  \"PaletteWarningLighter\": \"#fcf6ac\",\n  \"PaletteWarningLight\": \"#eb9e05\",\n  \"PaletteWarningMain\": \"#a16c03\",\n  \"PaletteWarningDark\": \"#664402\",\n  \"PaletteWarningDarker\": \"#4c3302\",\n  \"PaletteWarningText\": \"#966603\",\n  \"PaletteWarningHeading\": \"#352401\",\n  \"PaletteWarningHighlight\": \"#fce101\",\n  \"PaletteSuccessLighter\": \"#defae7\",\n  \"PaletteSuccessLight\": \"#59c282\",\n  \"PaletteSuccessMain\": \"#16884a\",\n  \"PaletteSuccessDark\": \"#0e562f\",\n  \"PaletteSuccessDarker\": \"#0a4023\",\n  \"PaletteSuccessText\": \"#197f48\",\n  \"PaletteSuccessHeading\": \"#072e19\",\n  \"PaletteSuccessHighlight\": \"#94f5b3\",\n  \"Spacing0\": \"0\",\n  \"Spacing1\": \"0.28571429rem\",\n  \"Spacing2\": \"0.57142857rem\",\n  \"Spacing3\": \"0.85714286rem\",\n  \"Spacing4\": \"1.14285714rem\",\n  \"Spacing5\": \"1.71428571rem\",\n  \"Spacing6\": \"2.28571429rem\",\n  \"Spacing7\": \"2.85714286rem\",\n  \"Spacing8\": \"3.42857143rem\",\n  \"Spacing9\": \"4rem\",\n  \"TransitionDurationMain\": \"100ms\",\n  \"TypographyColorBody\": \"#272727\",\n  \"TypographyColorHeading\": \"#272727\",\n  \"TypographyColorInverse\": \"#ffffff\",\n  \"TypographyColorSupport\": \"#4b4b4b\",\n  \"TypographyColorSubordinate\": \"#6e6e6e\",\n  \"TypographyColorDisabled\": \"#aeaeae\",\n  \"TypographyColorAction\": \"#4c64e1\",\n  \"TypographyColorDanger\": \"#d92300\",\n  \"TypographyColorSuccess\": \"#197f48\",\n  \"TypographyColorWarning\": \"#966603\",\n  \"TypographyFamilyBody\": \"'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif\",\n  \"TypographyFamilyHeading\": \"'Aeonik', 'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif\",\n  \"TypographyFamilyButton\": \"'Aeonik', 'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif\",\n  \"TypographySizeSubordinate\": \"0.857rem\",\n  \"TypographySizeBody\": \"1rem\",\n  \"TypographySizeHeading6\": \"1.143rem\",\n  \"TypographySizeHeading5\": \"1.286rem\",\n  \"TypographySizeHeading4\": \"1.571rem\",\n  \"TypographySizeHeading3\": \"2rem\",\n  \"TypographySizeHeading2\": \"2.286rem\",\n  \"TypographySizeHeading1\": \"2.571rem\",\n  \"TypographyWeightBody\": \"400\",\n  \"TypographyWeightBodyBold\": \"600\",\n  \"TypographyWeightHeading\": \"500\",\n  \"TypographyWeightHeadingBold\": \"700\",\n  \"TypographyLineHeightBody\": 1.5,\n  \"TypographyLineHeightUi\": 1.2,\n  \"TypographyLineHeightOverline\": 1.3,\n  \"TypographyLineHeightHeading6\": 1.3,\n  \"TypographyLineHeightHeading5\": 1.3,\n  \"TypographyLineHeightHeading4\": 1.25,\n  \"TypographyLineHeightHeading3\": 1.25,\n  \"TypographyLineHeightHeading2\": 1.2,\n  \"TypographyLineHeightHeading1\": 1.2,\n  \"TypographyLineLengthMax\": \"55ch\"\n}\n```\n\nExample:\n```javascript\nnew OktaSignIn({\n  // Simple string form\n  language: 'ja',\n\n  // Or use a callback to choose dynamically\n  language: (supportedLanguages, userLanguages) => {\n    // supportedLanguages: array of codes the widget supports, e.g. ['en', 'ja', 'fr', ...]\n    // userLanguages: array of codes from the user's browser preferences\n    return supportedLanguages.find(lang => userLanguages.includes(lang)) || 'en';\n  }\n});\n```\n\nExample:\n```javascript\nnew OktaSignIn({\n  i18n: {\n    en: {\n      'primaryauth.title': 'Sign in to Acme',\n      'primaryauth.username.placeholder': 'Your Acme ID',\n    },\n    ja: {\n      'primaryauth.title': 'Acme にサインイン',\n    }\n  }\n});\n```\n\nExample:\n```javascript\nnew OktaSignIn({\n  assets: {\n    baseUrl: 'https://acme.com/assets/dist',\n    languages: ['en', 'ja', 'fr'],\n  }\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.647Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":211,"estimatedTokens":1623}}15{"id":"doc-multibrand_architecture_okta_developer-646fb5b1","source":"documentation","title":"Multibrand architecture | Okta Developer","url":"https://developer.okta.com/docs/concepts/multibrand-architecture/","text":"Example:\n```javascript\napp:{\n  type: \"object\"\n  value:{\n    id: \"0oa1wzp8ilsi2M9pk1d8\"\n    label: \"Blue Application|brand_xyz\"\n    name: \"oidc_client\"\n```\n\nExample:\n```javascript\n//console.log(oktaData);\nfunction getApp() {\n    if (!OktaUtil) return undefined;\n\n    var requestContext = OktaUtil.getRequestContext();\n    if (requestContext && requestContext.app && requestContext.app.value) {\n        return requestContext.app.value;\n    }else{\n        return \"unknown\"\n    }\n}\n```\n\nExample:\n```json\nGET /api/public/clientid2brand/{clientId}\n\nHTTP 200 application/json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"name\": {\n          \"type\": \"string\"\n        },\n        \"help_url\": {\n          \"type\": \"string\"\n        },\n        \"logo\": {\n          \"type\": \"string\"\n        },\n        \"design_tokens\": {\n          \"type\": \"string\"\n        },\n        \"additional_css\": {\n          \"type\": \"string\"\n        },\n        \"additional_html\": {\n          \"type\": \"string\"\n        },\n        \"showWorkforceIdp\": {\n          \"type\": \"boolean\",\n          \"description\": \"Toggle on workforce identity provider option\"\n        }\n      }\n    }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.648Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":65,"estimatedTokens":305}}16{"id":"doc-migrate_to_the_third_generation_gen3_of_the_sign-4cdac51b","source":"documentation","title":"Migrate to the third generation (Gen3) of the Sign-In Widget | Okta Developer","url":"https://developer.okta.com/docs/guides/custom-widget-migration-gen3/main/","text":"Example:\n```javascript\nnew OktaSignIn({\n  theme: {\n    tokens: {\n      PalettePrimaryMain: '#D11DCA',\n      TypographyColorBody: '#00297A',\n      TypographyColorHeading: '#00297A',\n      TypographyFamilyHeading: 'Helvetica',\n      TypographyFamilyBody: 'Helvetica',\n      TypographyWeightHeading: 600,\n      BorderRadiusMain: '24px',\n      Spacing5: '2.85714286rem',\n    }\n  }\n});\n```\n\nExample:\n```html\n{{#useSiwGen3}}\n    <style nonce=\"{{nonceValue}}\">\n        #okta-login-container {\n            background-color: red !important;\n        }\n    </style>\n{{/useSiwGen3}}\n```\n\nExample:\n```javascript\noktaSignIn.afterTransform('identify', ({ formBag }) => {\n const submitIndex = formBag.uischema.elements.findIndex(ele => ele.type === 'Button' && ele.options.type === 'submit');\n if (submitIndex != -1) {\n   const submit = formBag.uischema.elements[submitIndex];\n   submit.label = 'Login';\n }\n});\n```\n\nExample:\n```javascript\noktaSignIn.afterTransform('enroll-profile', ({ formBag }) => {\n   const submitIndex = formBag.uischema.elements.findIndex(ele => ele.type === 'Button' && ele.options.type === 'submit');\n   if (submitIndex != -1) {\n       const submit = formBag.uischema.elements[submitIndex];\n       submit.label = 'Register';\n   }\n});\n```\n\nExample:\n```javascript\noktaSignIn.afterTransform('identify', ({ formBag }) => {\n const help = formBag.uischema.elements.find(ele => ele.type === 'Link' && ele.options.dataSe === 'help');\n const unlock = formBag.uischema.elements.find(ele => ele.type === 'Link' && ele.options.dataSe === 'unlock');\n const forgot = formBag.uischema.elements.find(ele => ele.type === 'Link' && ele.options.dataSe === 'forgot-password');\n formBag.uischema.elements = formBag.uischema.elements.filter(ele => ![help, unlock, forgot].includes(ele));\n});\n```\n\nExample:\n```javascript\noktaSignIn.afterTransform?.('identify-recovery', ({ formBag }) => {\n   const titleIndex = formBag.uischema.elements.findIndex(ele => ele.type === 'Title');\n   // Add custom description after title\n   const descr = {\n       type: 'Description',\n       contentType: 'subtitle',\n       options: {\n           variant: 'body1',\n           content: '<div class=\\'my-reset-description\\'>Description<br />about<br />recovery</div>'\n       },\n   };\n   if (titleIndex != -1) {\n       formBag.uischema.elements.splice(titleIndex + 1, 0, descr);\n   }\n});\n```\n\nExample:\n```javascript\n<script type=\"text/javascript\" nonce=\"{{nonceValue}}\">\n    var config = OktaUtil.getSignInWidgetConfig();\n\n    var oktaSiwRoot = document.querySelector('#okta-login-container');\n    // The following allows you to reference the context from each render\n    var contextObj = {};\n    function cb(mutations, observer) {\n      // For the primary auth form, updates the button label\n      if (contextObj.formName === 'identify') {\n        var el = document.querySelector('[data-type=\"save\"]');\n        if (el) { el.textContent = 'Some new label'; }\n      }\n      // For the reset-authenticator view, updates the button label\n      if (contextObj.formName === 'reset-authenticator') {\n        var el = document.querySelector('[data-type=\"save\"]');\n        if (el) { el.textContent = 'A different label'; }\n      }\n    }\n    // Initializes the mutation observer object\n    var observer = new MutationObserver(cb);\n\n    // Renders the Okta Sign-In Widget\n    var oktaSignIn = new OktaSignIn(config);\n\n    // The following varies based on your configuration\n    oktaSignIn.renderEl({ el: '#okta-login-container' }, OktaUtil.completeLogin, function (error) {\n       console.log(error.message, error);\n    });\n\n    oktaSignIn.on('afterRender', function (ctx) { // ← Restores the context\n      // Resets the global context object for reference using the callback function\n      contextObj = ctx;\n      // The following condition only executes the observer for specific views/forms\n      if (ctx.formName === 'identify' || ctx.formName === 'reset-authenticator') {\n        // Pauses\n        observer.disconnect();\n\n        // Calls once after initial render\n        cb();\n\n        // Observes for re-renders\n        observer.observe(oktaSiwRoot, {\n          subtree: true,\n          childList: true,\n          attributes: true,\n          characterData: true,\n        });\n      }\n    });\n </script>\n```\n\nExample:\n```javascript\n<script type=\"text/javascript\" nonce=\"{{nonceValue}}\">\n   var config = OktaUtil.getSignInWidgetConfig();\n\n   // Renders the Okta Sign-In Widget\n   var oktaSignIn = new OktaSignIn(config);\n\n   // The following varies based on your own configuration\n   oktaSignIn.renderEl({ el: '#okta-login-container' }, OktaUtil.completeLogin, function (error) {\n      console.log(error.message, error);\n   });\n\n   oktaSignIn.on('afterRender', function (context) {\n      if (context.formName === 'identify') {\n         // Sends a log to your external logging service indicating a customer landed on this view\n         someExternalLoggingService.log('Rendered Primary auth form'); \n      }\n   });\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.648Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":157,"estimatedTokens":1249}}17{"id":"doc-step_up_authentication_using_acr_values_okta_dev-8b3bdf7a","source":"documentation","title":"Step-up authentication using ACR values | Okta Developer","url":"https://developer.okta.com/docs/guides/step-up-authentication/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/default/v1/authorize?client_id={clientId}\n&response_type=code\n&scope=openid\n&redirect_uri=https://{yourOktaDomain}/authorization-code/callback\n&state=296bc9a0-a2a2-4a57-be1a-d0e2fd9bb601\n&acr_values=urn:okta:loa:1fa:any\n```\n\nExample:\n```json\n{\n   \"token_type\": \"Bearer\",\n   \"expires_in\": 3600,\n   \"access_token\": \"eyJraW…..vSqrH1Q\",\n   \"scope\": \"openid\",\n   \"id_token\": \"eyJraW…..WlB8Y9pQ\"\n}\n```\n\nExample:\n```json\n{\n  \"sub\": \"00u47ijy7sRLaeSdC0g7\",\n  \"ver\": 1,\n  \"iss\": \"https://{yourOktaDomain}/oauth2/default\",\n  \"aud\": \"0oa48e74ox4t7mQJX0g7\",\n  \"iat\": 1661289624,\n  \"exp\": 1661293224,\n  \"jti\": \"ID.dz6ibX-YnBNlt14huAtBULam_Z0_wPG0ig5SWCy8XQU\",\n  \"amr\": [\n    \"pwd\"\n  ],\n  \"acr\": \"urn:okta:loa:1fa:any\",\n  \"idp\": \"00o47ijbqfgnq5gj00g7\",\n  \"auth_time\": 1661289603,\n  \"at_hash\": \"w6BLQV3642TKWvaVwTAJuw\"\n}\n```\n\nExample:\n```json\n{\n  \"ver\": 1,\n  \"jti\": \"AT.NovJtQ_NrJ6cgy3h1-638ArovwYXWslu0teQ2M3Ux9c\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/default\",\n  \"aud\": \"api://default\",\n  \"iat\": 1661289624,\n  \"exp\": 1661293224,\n  \"acr\": \"urn:okta:loa:1fa:any\",\n  \"cid\": \"0oa48e74ox4t7mQJX0g7\",\n  \"uid\": \"00u47ijy7sRLaeSdC0g7\",\n  \"scp\": [\n    \"openid\"\n  ],\n  \"auth_time\": 1661289603,\n  \"sub\": \"joe.smith@example.com\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.649Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":62,"estimatedTokens":320}}18{"id":"doc-customize_email_notifications_okta_developer-9af6579d","source":"documentation","title":"Customize email notifications | Okta Developer","url":"https://developer.okta.com/docs/guides/custom-email/main/","text":"Example:\n```html\n<head>\n   <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n   #if(${app.name} == \"Toys R' Fun\")\n      <img src=\"https://cdn.toysrfun.com/logo\" height=\"37\">\n      <a id=\"support-link\" href=\"https://support.toysrfun.com/help/?language=en_US\" style=\"text-decoration: none;\"> Contact Toy Support </a>\n   #elseif(${app.name} == \"Fidget Spinners Unlimited\")\n      <img src=\"https://cdn.fidgetsu.com/logo\" height=\"37\">\n      <a id=\"support-link\" href=\"https://support.fidgetsu.com/help/?language=en_US\" style=\"text-decoration: none;\"> Contact Fidget SU Support </a>\n   #else\n      <img src=\"${parentLogoUrl}\" height=\"37\">\n   #end\n</head>\n```\n\nExample:\n```html\n<head>\n   <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n   #if( $user.groups.names.contains(\"ToysRFun\") )\n      #set( $customActivationLink = $activationLink.replace(\"default.oktapreview.com\", \"activation.toysrfun.com\"))\n      #set( $customBrandThemeLogo = \"https://cdn.toysrfun.com/logo\" )\n   #else\n      #set( $customActivationLink = $activationLink.replace(\"default.oktapreview.com\", \"activation.fidgetsu.com\"))\n      #set( $customBrandThemeLogo = \"https://cdn.fidgetsu.com/logo\" )\n   #end\n</head>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.651Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":308}}19{"id":"doc-customize_error_pages_okta_developer-4bcf205c","source":"documentation","title":"Customize error pages | Okta Developer","url":"https://developer.okta.com/docs/guides/custom-error-pages/main/","text":"Example:\n```html\n<head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <meta name=\"robots\" content=\"none\" />\n\n    <title>{{orgName}} - {{errorSummary}}</title>\n\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/css/sections/errors-v2.css\">\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/css/sections/yourstylesheet.css\">\n</head>\n```\n\nExample:\n```html\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n<meta name=\"robots\" content=\"none\" />\n\n<title>{{orgName}} - {{errorSummary}}</title>\n\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/css/sections/errors-v2.css\">\n<style>\n    .content {\n    background: yellow;\n    font: normal bold 20pt Tahoma;\n    }\n</style>\n</head>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.654Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":34,"estimatedTokens":228}}20{"id":"doc-okta_web_app_client_js_product_okta_developer-32ec2028","source":"documentation","title":"Okta Web App Client JS product | Okta Developer","url":"https://developer.okta.com/3rd_party_notices/Web_App_Client_JS/","text":"Example:\n```text\noutput using the SHA256 algorithm. It is fully compatible with UTF-8 encoding.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.695Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":29}}21{"id":"doc-configure_single_logout_okta_developer-f3314770","source":"documentation","title":"Configure Single Logout | Okta Developer","url":"https://developer.okta.com/docs/guides/single-logout/openidconnect/main/","text":"Example:\n```json\n{ ...\n    \"settings\" { ...\n        \"oauthClient\": {\n            \"client_uri\": null,\n            \"logo_uri\": null,\n            \"redirect_uris\": [\n            \"http://myapp.exampleco.com/authorization-code/callback\"\n            ],\n            \"post_logout_redirect_uris\": [\n                \"http://myapp.exampleco.com\"\n            ],\n            \"response_types\": [\n                \"code\"\n            ],\n            \"grant_types\": [\n                \"authorization_code\"\n            ],\n            \"application_type\": \"web\",\n            \"consent_method\": \"REQUIRED\",\n            \"issuer_mode\": \"DYNAMIC\",\n            \"idp_initiated_login\": {\n            \"mode\": \"DISABLED\",\n            \"default_scope\": []\n            },\n            \"wildcard_redirect\": \"DISABLED\",\n            \"participateSlo\": true,\n            \"frontchannel_logout_uri\": \"http://myapp.exampleco.com/logout/callback\",\n            \"frontchannel_logout_session_required\": true\n        }\n    }\n}\n```\n\nExample:\n```json\n{ ...\n    \"settings\": { ...\n        \"oauthClient\": {\n            \"client_uri\": null,\n            \"logo_uri\": null,\n            \"redirect_uris\": [\n                \"http://myapp.exampleco.com/authorization-code/callback\"\n            ],\n            \"post_logout_redirect_uris\": [\n                \"http://myapp.exampleco.com\"\n            ],\n            \"response_types\": [\n                \"code\"\n            ],\n            \"grant_types\": [\n                \"authorization_code\"\n            ],\n            \"application_type\": \"web\",\n            \"consent_method\": \"REQUIRED\",\n            \"issuer_mode\": \"DYNAMIC\",\n            \"idp_initiated_login\": {\n                \"mode\": \"DISABLED\",\n                \"default_scope\": []\n            },\n            \"wildcard_redirect\": \"DISABLED\",\n            \"participateSlo\": true,\n            \"frontchannel_logout_uri\": \"http://myapp.exampleco.com/logout/callback\",\n            \"frontchannel_logout_session_required\": true\n        }\n    } ...\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.696Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":71,"estimatedTokens":498}}22{"id":"doc-build_universal_logout_for_your_app_okta_develop-f022aa16","source":"documentation","title":"Build Universal Logout for your app | Okta Developer","url":"https://developer.okta.com/docs/guides/oin-universal-logout-overview/","text":"Example:\n```bash\nAuthorization: Bearer {JWT}\n```\n\nExample:\n```json\n// Header\n{\n  \"typ\": \"global-token-revocation+jwt\",\n  \"alg\": \"{algorithm used for signing SSO token}\"\n}\n// Payload\n{\n  \"jti\": \"{unique identifier}\",\n  \"iss\": \"{orgDomainBaseUrl/customDomainBaseUrl}\",\n  \"sub\": \"{client_id of OIDC app/appInstanceId of SAML 2.0 app}\",\n  \"aud\": \"{revocation endpoint URL}\",\n  \"exp\": \"{5 min into future}\",\n  \"nbf\": \"{5 min ago}\",\n  \"iat\": \"{current timestamp}\"\n}\n```\n\nExample:\n```json\n{\n  \"sub_id\": {\n    \"format\": \"email\",\n    \"email\": \"user@example.com\"\n  }\n}\n```\n\nExample:\n```json\n{\n  \"sub_id\": {\n    \"format\": \"iss_sub\",\n    \"iss\": \"https://issuer.example.com/\",\n    \"sub\": \"145234573\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.699Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":46,"estimatedTokens":178}}23{"id":"doc-sign_in_to_your_native_mobile_app_okta_developer-0b7820b3","source":"documentation","title":"Sign in to your native mobile app | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-mobile-app-embedded/main/","text":"Example:\n```bash\ngit clone https://github.com/okta/okta-mobile-swift.git\ncd okta-mobile-swift\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.699Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":28}}24{"id":"doc-keep_the_user_signed_in_okta_developer-03b127ad","source":"documentation","title":"Keep the user signed in | Okta Developer","url":"https://developer.okta.com/docs/guides/keep-user-signed-in/android/main/","text":"Example:\n```kotlin\nif (CredentialBootstrap.defaultCredential().token != null && CredentialBootstrap.defaultCredential().getAccessTokenIfValid() == null) {\n      // The access_token expired, refresh the token.\n      when (val result = CredentialBootstrap.defaultCredential().refreshToken()) {\n        is OidcClientResult.Error -> {\n            // An error occurred. Access the error in `result.exception`.\n        }\n        is OidcClientResult.Success -> {\n          // Token refreshed successfully.\n        }\n      }\n    }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.700Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":16,"estimatedTokens":135}}25{"id":"doc-configure_the_client_sdk_in_your_app_to_use_an_o-6e0a8f2f","source":"documentation","title":"Configure the Client SDK in your app to use an Okta-hosted sign-in form | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-mobile-app-redirect/android/main/","text":"Example:\n```gradle\nandroid {\n    compileOptions {\n        coreLibraryDesugaringEnabled true\n    }\n}\n\ndependencies {\n    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'\n}\n```\n\nExample:\n```gradle\n// Ensure that all dependencies are compatible using the Bill of Materials (BOM).\nimplementation(platform('com.okta.kotlin:bom:2.0.3'))\n\n// Add the SDK libraries used in this guide to the project.\nimplementation('com.okta.kotlin:auth-foundation')\nimplementation('com.okta.kotlin:oauth2')\nimplementation('com.okta.kotlin:web-authentication-ui')\n```\n\nExample:\n```groovy\ndef oktaProperties = new Properties()\nrootProject.file(\"okta.properties\").withInputStream { oktaProperties.load(it) }\nandroid.defaultConfig {\n    buildConfigField \"String\", 'ISSUER', \"\\\"${oktaProperties.getProperty('issuer')}\\\"\"\n    buildConfigField \"String\", 'CLIENT_ID', \"\\\"${oktaProperties.getProperty('clientId')}\\\"\"\n    buildConfigField \"String\", 'SIGN_IN_REDIRECT_URI', \"\\\"${oktaProperties.getProperty('signInRedirectUri')}\\\"\"\n    buildConfigField \"String\", 'SIGN_OUT_REDIRECT_URI', \"\\\"${oktaProperties.getProperty('signOutRedirectUri')}\\\"\"\n}\n```\n\nExample:\n```groovy\ndependencies {\n    // These packages are used in the Okta Mobile SDK code snippets.\n    implementation('androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1')\n    implementation('androidx.activity:activity-ktx:1.5.1')\n}\n```\n\nExample:\n```gradle\nstatic def parseScheme(String uri) {\n    def index = uri.indexOf(':/')\n    if (index == -1) {\n        throw new IllegalStateException(\"Scheme is not in a valid format.\")\n    }\n    return uri.substring(0, index)\n}\n\nandroid.defaultConfig.manifestPlaceholders = [\n  \"webAuthenticationRedirectScheme\": parseScheme(oktaProperties.getProperty('signInRedirectUri'))\n]\n```\n\nExample:\n```kotlin\nclass BrowserSignInApplication : Application() {\n    override fun onCreate() {\n        super.onCreate()\n        // Initialize AuthFoundation and set the default OidcConfiguration for the app.\n        AuthFoundation.initializeAndroidContext(this)\n        OidcConfiguration.default = OidcConfiguration(\n            clientId = BuildConfig.CLIENT_ID,\n            defaultScope = \"openid email profile offline_access\",\n            issuer = BuildConfig.ISSUER,\n        )\n    }\n}\n```\n\nExample:\n```text\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.okta.android.samples.browser_sign_in\">\n\n    <application\n        ...\n        android:name=\".BrowserSignInApplication\"\n        ...\n        >\n        ...\n    </application>\n</manifest>\n```\n\nExample:\n```xml\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:layout_margin=\"8dp\"\n    android:orientation=\"vertical\"\n    tools:context=\".BrowserSignInActivity\"\n    >\n\n        <TextView\n            android:id=\"@+id/status_text_view\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginTop=\"16dp\"\n            />\n\n        <Button\n            android:id=\"@+id/login_button\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginTop=\"16dp\"\n            android:text=\"@string/login_button\"\n            />\n\n        <Button\n            android:id=\"@+id/logout_of_browser_button\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginTop=\"16dp\"\n            android:backgroundTint=\"@android:color/holo_red_light\"\n            android:text=\"@string/logout_of_browser_button\"\n            />\n\n        <ProgressBar\n            android:layout_gravity=\"center\"\n            android:id=\"@+id/progress_bar\"\n            android:layout_width=\"50dp\"\n            android:layout_height=\"50dp\"\n            />\n</LinearLayout>\n```\n\nExample:\n```xml\n<resources>\n    <string name=\"app_name\">Browser sign in</string>\n    <string name=\"login_button\">Login</string>\n    <string name=\"logout_of_browser_button\">Logout of Browser</string>\n    <string name=\"have_account\">Have an account?</string>\n    <string name=\"welcome_user\">Welcome %1$s</string>\n</resources>\n```\n\nExample:\n```kotlin\nclass BrowserSignInViewModel : ViewModel() {\n    private val _state = MutableLiveData<BrowserState>(BrowserState.Loading)\n    val state: LiveData<BrowserState> = _state\n\n    init {\n        viewModelScope.launch {\n            _state.value = BrowserState.currentCredentialState()\n        }\n    }\n\n    fun login(context: Context) {\n        viewModelScope.launch {\n            _state.value = BrowserState.Loading\n\n            val result = WebAuthentication().login(\n                context = context,\n                redirectUrl = BuildConfig.SIGN_IN_REDIRECT_URI,\n            )\n            when (result) {\n                is OAuth2ClientResult.Error -> {\n                    Timber.e(result.exception, \"Failed to login.\")\n                    _state.value = BrowserState.currentCredentialState(\"Failed to login.\")\n                }\n                is OAuth2ClientResult.Success -> {\n                    val credential = Credential.store(token = result.result)\n                    Credential.setDefaultAsync(credential)\n                    _state.value = BrowserState.LoggedIn.create()\n                }\n            }\n        }\n    }\n\n    fun logoutOfBrowser(context: Context) {\n        viewModelScope.launch {\n            _state.value = BrowserState.Loading\n\n            val credential = Credential.getDefaultAsync()\n            val result = WebAuthentication().logoutOfBrowser(\n                context = context,\n                redirectUrl = BuildConfig.SIGN_OUT_REDIRECT_URI,\n                idToken = credential.token.idToken ?: return@launch\n            )\n            when (result) {\n                is OAuth2ClientResult.Error -> {\n                    Timber.e(result.exception, \"Failed to logout.\")\n                    _state.value = BrowserState.currentCredentialState(\"Failed to logout.\")\n                }\n                is OAuth2ClientResult.Success -> {\n                    credential?.delete()\n                    _state.value = BrowserState.LoggedOut()\n                }\n            }\n        }\n    }\n}\n\n/**\n * Represents the current state of the [BrowserSignInViewModel].\n */\nsealed class BrowserState {\n    object Loading : BrowserState()\n    class LoggedOut(val errorMessage: String? = null) : BrowserState()\n    class LoggedIn private constructor(\n        val name: String,\n        val errorMessage: String?\n    ) : BrowserState() {\n        companion object {\n            /**\n             * Creates the [LoggedIn] state using the default [Credential]'s ID token name claim.\n             */\n            suspend fun create(errorMessage: String? = null): BrowserState {\n                val credential = Credential.getDefaultAsync()\n                val name = credential?.idToken()?.name ?: \"\"\n                return LoggedIn(name, errorMessage)\n            }\n        }\n    }\n\n    companion object {\n        /**\n         * Creates the [BrowserState] based on whether a default [Credential] exists.\n         *\n         * @return Either [LoggedIn] or [LoggedOut].\n         */\n        suspend fun currentCredentialState(errorMessage: String? = null): BrowserState {\n            return if (Credential.getDefaultAsync() == null) {\n                LoggedOut(errorMessage)\n            } else {\n                LoggedIn.create(errorMessage)\n            }\n        }\n    }\n}\n```\n\nExample:\n```kotlin\nclass BrowserSignInActivity : AppCompatActivity() {\n    private val viewModel by viewModels<BrowserSignInViewModel>()\n\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        setContentView(R.layout.activity_browser_sign_in)\n\n        val progressBar = findViewById<View>(R.id.progress_bar)\n        val statusTextView = findViewById<TextView>(R.id.status_text_view)\n        val loginButton = findViewById<View>(R.id.login_button)\n        val logoutOfBrowserButton = findViewById<View>(R.id.logout_of_browser_button)\n\n        loginButton.setOnClickListener {\n            viewModel.login(this)\n        }\n        logoutOfBrowserButton.setOnClickListener {\n            viewModel.logoutOfBrowser(this)\n        }\n\n        /**\n         * Update the user interface for changes in the sign-in flow.\n         *\n         * Use an observer to react to updates in [BrowserState]. Updates are asynchronous and are triggered both by user actions,\n         * such as button clicks, and completing the flow.\n         */\n        viewModel.state.observe(this) { state ->\n            when (state) {\n                is BrowserState.LoggedIn -> {\n                    progressBar.visibility = View.GONE\n                    loginButton.visibility = View.GONE\n                    logoutOfBrowserButton.visibility= View.VISIBLE\n                    statusTextView.visibility = View.VISIBLE\n                    if (state.errorMessage == null) {\n                        statusTextView.text = getString(R.string.welcome_user, state.name)\n                    } else {\n                        statusTextView.text = state.errorMessage\n                    }\n                }\n                is BrowserState.LoggedOut -> {\n                    progressBar.visibility = View.GONE\n                    loginButton.visibility = View.VISIBLE\n                    logoutOfBrowserButton.visibility= View.GONE\n                    statusTextView.visibility = View.VISIBLE\n                    if (state.errorMessage == null) {\n                        statusTextView.text = getString(R.string.have_account)\n                    } else {\n                        statusTextView.text = state.errorMessage\n                    }\n                }\n                BrowserState.Loading -> {\n                    progressBar.visibility = View.VISIBLE\n                    loginButton.visibility = View.GONE\n                    logoutOfBrowserButton.visibility= View.GONE\n                    statusTextView.visibility = View.GONE\n                }\n            }\n        }\n    }\n}\n```\n\nExample:\n```kotlin\nsuspend fun showPreferredUsername() {\n    val idToken: Jwt = Credential.getDefaultAsync()?.idToken() ?: return\n    println(idToken.preferredUsername)\n}\n```\n\nExample:\n```text\nAuthorization: Bearer ${token}\n```\n\nExample:\n```kotlin\nprivate suspend fun callResourceServer() {\n    val accessTokenInterceptor = Credential.getDefaultAsync()?.accessTokenInterceptor() ?: return\n    val okHttpClient = OkHttpClient.Builder().addInterceptor(accessTokenInterceptor).build()\n    val request = Request.Builder().url(\"https://${resourceUrl}\").build()\n    okHttpClient.newCall(request).enqueue(object : Callback {\n        override fun onFailure(call: Call, e: IOException) {\n            // An error occurred.\n        }\n\n        override fun onResponse(call: Call, response: Response) {\n            if (response.code == 200) {\n                // Authenticated successfully.\n            } else {\n                // Invalid status code.\n            }\n        }\n    })\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.700Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":344,"estimatedTokens":2810}}26{"id":"doc-check_for_a_session_at_startup_okta_developer-6f29cda2","source":"documentation","title":"Check for a session at startup | Okta Developer","url":"https://developer.okta.com/docs/guides/check-for-session/android/main/","text":"Example:\n```kotlin\nif (CredentialBootstrap.defaultCredential().getValidAccessToken() == null) {\n      // The user no longer has valid credentials.\n    } else {\n      // The user is still authorized.\n    }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.701Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":10,"estimatedTokens":56}}27{"id":"doc-sign_in_with_facebook_okta_developer-04dccd6c","source":"documentation","title":"Sign in with Facebook | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-soc-idp/ios/main/","text":"Example:\n```swift\nself.authHandler = SocialLogin(configuration: configuration)\n```\n\nExample:\n```swift\nself.authHandler?.login(service: .facebook)\n { result in\n     switch result {\n     case .success(let token):\n         print(token)\n     case .failure(let error):\n         print(error)\n     }\n}\n```\n\nExample:\n```swift\nimport AuthenticationServices\n\npublic class SocialLogin {\n    private let configuration: IDXClient.Configuration\n    private weak var presentationContext: ASWebAuthenticationPresentationContextProviding?\n    private var webAuthSession: ASWebAuthenticationSession?\n\n    private var client: IDXClient?\n    private var completion: ((Result<IDXClient.Token, LoginError>) -> Void)?\n\n    public init(configuration: IDXClient.Configuration) {\n        self.configuration = configuration\n    }\n\n    // Public function used to initiate login using a given Social Authentication service. Optionally,\n    // a presentation context can be supplied when presenting the ASWebAuthenticationSession instance.\n    public func login(service: IDXClient.Remediation.SocialAuth.Service,\n                      from presentationContext: ASWebAuthenticationPresentationContextProviding? = nil,\n                      completion: @escaping (Result<IDXClient.Token, LoginError>) -> Void)\n    {\n        self.presentationContext = presentationContext\n        self.completion = completion\n\n        // Initializes a new IDXClient with the supplied configuration.\n        IDXClient.start(with: configuration) { (client, error) in\n            guard let client = client else {\n                self.finish(with: error)\n                return\n            }\n\n            self.client = client\n\n            // Performs the first request to IDX to retrieve the first response.\n            client.resume { (response, error) in\n                guard let response = response else {\n                    self.finish(with: error)\n                    return\n                }\n\n                // Find the Social IdP remediation that matches the requested social auth service.\n                guard let remediation = response.remediations.first(where: { remediation in\n                    let socialRemediation = remediation as? IDXClient.Remediation.SocialAuth\n                    return socialRemediation?.service == service\n                }) as? IDXClient.Remediation.SocialAuth\n                else {\n                    self.finish(with: .cannotProceed)\n                    return\n                }\n\n                // Switch to the main queue to initiate the AuthenticationServices workflow.\n                DispatchQueue.main.async {\n                    self.login(with: remediation)\n                }\n            }\n        }\n    }\n\n    func login(with remediation: IDXClient.Remediation.SocialAuth) {\n        // Retrieve the Redirect URL scheme from our configuration, to\n        // supply it to the ASWebAuthenticationSession instance.\n        guard let client = client,\n              let scheme = URL(string: client.context.configuration.redirectUri)?.scheme\n        else {\n            finish(with: .cannotProceed)\n            return\n        }\n\n        // Create an ASWebAuthenticationSession to trigger the IdP OAuth2 flow.\n        let session = ASWebAuthenticationSession(url: remediation.redirectUrl,\n                                                 callbackURLScheme: scheme)\n        { [weak self] (callbackURL, error) in\n            // Ensure no error occurred, and that the callback URL is valid.\n            guard error == nil,\n                  let callbackURL = callbackURL,\n                  let client = self?.client\n            else {\n                self?.finish(with: error)\n                return\n            }\n\n            // Ask the IDXClient for what the result of the social login was.\n            let result = client.redirectResult(for: callbackURL)\n\n            switch result {\n            case .authenticated:\n                // When the social login result is `authenticated`, use the\n                // IDXClient to exchange the callback URL returned from\n                // ASWebAuthenticationSession with an Okta token.\n                client.exchangeCode(redirect: callbackURL) { (token, error) in\n                    guard let token = token else {\n                        self?.finish(with: error)\n                        return\n                    }\n                    self?.finish(with: token)\n                }\n\n            default:\n                self?.finish(with: .cannotProceed)\n            }\n        }\n\n        // Start and present the web authentication session.\n        session.presentationContextProvider = presentationContext\n        session.prefersEphemeralWebBrowserSession = true\n        session.start()\n\n        self.webAuthSession = session\n    }\n\n    public enum LoginError: Error {\n        case error(_ error: Error)\n        case message(_ string: String)\n        case cannotProceed\n        case unknown\n    }\n}\n\n// Utility functions to help return responses to the caller.\nextension SocialLogin {\n    func finish(with error: Error?) {\n        if let error = error {\n            finish(with: .error(error))\n        } else {\n            finish(with: .unknown)\n        }\n    }\n\n    func finish(with error: LoginError) {\n        completion?(.failure(error))\n        completion = nil\n    }\n\n    func finish(with token: IDXClient.Token) {\n        completion?(.success(token))\n        completion = nil\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.702Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":160,"estimatedTokens":1363}}28{"id":"doc-configure_the_client_sdk_in_your_app_to_use_an_o-835c4020","source":"documentation","title":"Configure the Client SDK in your app to use an Okta-hosted sign-in form | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-mobile-app-redirect/ios/main/","text":"Example:\n```swift\nimport SwiftUI\n\nstruct ContentView: View {\n   // Used to display error messages.\n   @State var showingError: Bool = false\n   @State var errorMessage: String? = nil\n   @State var errorTitle: String? = nil\n\n   // The text shown in the status area.\n   @State var statusText: String? = nil\n\n   // Text shown in the main information area.\n   @State var infoText: String? = \"\"\n\n   // Controls what parts of the UI are shown.\n   @State var isSignedIn: Bool = false\n\n   // Controls showing a busy spinner that covers the main UI.\n   @State var busy: Bool = false\n\n   var body: some View {\n      ZStack {\n         VStack() {\n            HStack {\n               // Show the Sign In button or the Sign Out button with other options.\n               if !isSignedIn {\n                  Button(\"Sign In\") {\n                     signIn()\n                  }\n                  .padding()\n               } else {\n                  VStack {\n                     HStack {\n                        Button(\"Sign Out\") {\n                           signOut()\n                        }\n                        .padding()\n                     }\n                     HStack {\n                        Button(\"Show User Info\") {\n                           showUserInfo()\n                        }\n                        Button(\"Show Token\") {\n                           showTokenInfo()\n                        }\n                        Button(\"Refresh Token\") {\n                           refreshToken()\n                        }\n                     }\n                  }\n               }\n            }\n            Divider()\n            Text(\"Status\")\n               .fontWeight(.medium)\n               .foregroundColor(Color.gray)\n            Text(statusText ?? \"Unknown status.\")\n            Divider()\n            Text(\"Info\")\n               .fontWeight(.medium)\n               .foregroundColor(Color.gray)\n            ScrollView(showsIndicators: true) {\n               Text(infoText ?? \"\")\n            }\n         }\n         if busy {\n            Color.gray\n               .opacity(0.5)\n            ProgressView(\"Waiting\")\n        }\n      }\n      .alert(isPresented: $showingError) {\n         Alert(title: Text(errorTitle ?? \"Unknown Error\"),\n         message: Text(errorMessage ?? \"An unknow error occured.\"))\n      }\n   }\n\n   func signIn() {\n      infoText = \"Sign in tapped\"\n   }\n\n   func signOut() {\n      infoText = \"Sign out tapped\"\n   }\n\n   func showUserInfo() {\n      infoText =  \"Show user info tapped\"\n   }\n\n   func showTokenInfo() {\n      infoText = \"Show token info tapped\"\n   }\n\n   func refreshToken() {\n      infoText = \"Refresh token tapped\"\n   }\n\n   // Display and error message using an Error object.\n   func showError(title: String, error: Error) {\n      showError(title: title, message: error.localizedDescription)\n   }\n\n   // Display an error message using a provided string.\n   func showError(title: String , message: String) {\n      errorTitle = title\n      errorMessage = message\n      showingError = true\n   }\n\n   // A utility function that updates the state of all visual elements.\n   func updateStatus(_ statusText: String, infoText: String, signedInStatus: Bool) {\n      self.statusText = statusText\n      self.infoText = infoText\n      isSignedIn = signedInStatus\n   }\n}\n```\n\nExample:\n```swift\nimport SwiftUI\nimport AuthFoundation\nimport BrowserSignin\n```\n\nExample:\n```swift\n@IBAction func signIn(_ sender: Any) {\n    let auth = try BrowserSignin()\n    auth.signIn(from: view.window) { result in\n        // Handle the response\n    }\n}\n```\n\nExample:\n```swift\n@IBAction func signIn(_ sender: Any) {\n    BrowserSignin.shared.signIn(from: view.window) { result in\n        // Handle the response\n    }\n}\n```\n\nExample:\n```swift\n@IBAction func signIn(_ sender: Any) {\n    guard let fileURL = Bundle.main.url(\n        forResource: \"Client\",\n        withExtension: \"plist\")\n    else {\n        return\n    }\n\n\n    let auth = try BrowserSignin(plist: fileURL)\n    auth.signIn(from: view.window) { result in\n        // Handle the response\n    }\n}\n```\n\nExample:\n```swift\n@IBAction func signIn(_ sender: Any) {\n    let auth = BrowserSignin(\n        issuer: URL(string: \"https://my-app.okta.com\")!,\n        clientId: \"my-client-id\",\n        scopes: \"openid offline_access profile\",\n        redirectUri: URL(string: \"com.my.app:/callback\")!)\n\n\n    auth.signIn(from: view.window) { result in\n        // Handle the response\n    }\n}\n```\n\nExample:\n```swift\nfunc application(_ application: UIApplication,\n                 didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool\n{\n    let _ = BrowserSignin(issuer: issuerUrl,\n                              clientId: \"my-client-id\",\n                              scopes: \"openid offline_access profile\",\n                              redirectUri: redirectUri)\n    return true\n}\n\n// In another part of your application\n@IBAction func signIn(_ sender: Any) {\n    BrowserSignin.shared?.signIn(from: view.window) { result in\n        // Handle the response\n    }\n}\n```\n\nExample:\n```swift\nimport OAuth2Auth\n\nlet config = AuthorizationCodeFlow.Configuration(\n    issuer: issuer,\n    clientId: clientId,\n    scopes: scopes,\n    redirectUri: redirectUri)\nlet auth = BrowserSignin(configuration: config,\n                             session: myURLSession)\n```\n\nExample:\n```swift\nimport OAuth2Auth\n\nlet flow = AuthorizationCodeFlow(clientConfig,\n                                 client: oauth2Client)\nlet auth = BrowserSignin(flow: flow,\n                          context: flowContext)\nauth.signIn(from: view.window) { result in\n    // Handle the response\n}\n```\n\nExample:\n```swift\nfunc signIn() {\n   Task {\n      do {\n         if let token = try await BrowserSignin.shared?.signIn(from: nil)\n         {\n            try Credential.store(token)\n            updateStatus(\"Signed in\", infoText: \"\", signedInStatus: true)\n         }\n      } catch {\n         // Handle sign-in and token storage errors.\n         showError(title: \"Unable to Sign In\", error: error)\n      }\n   }\n}\n```\n\nExample:\n```swift\nfunc signOut() {\n   Task {\n      do {\n         // Show the activity indicator and block UI input.\n         busy = true\n         try await BrowserSignin.shared?.signOut(from: nil)\n         // Remove the stored credential.\n         try Credential.default?.remove()\n         updateStatus(\"Signed out\", infoText: \"\", signedInStatus: false)\n      }\n      catch {\n         // Handle sign-out and token removal errors.\n         showError(title: \"Unable to Sign Out\", error: error)\n      }\n      busy = false\n   }\n}\n```\n\nExample:\n```swift\nfunc showUserInfo() {\n   guard let idToken = Credential.default?.token.idToken else {\n      showError(title: \"Unable to Show User Info\",\n                message: \"Could not read the token for the current user.\")\n      return\n   }\n\n   var infoString = (\"Name: \\(idToken.name!)\\n\")\n   infoString += \"User Name: \\(idToken.preferredUsername!)\\n\"\n   infoString += \"User ID: \\(idToken.subject!)\\n\"\n   if let issueDate = idToken.issuedAt {\n      let dateFormatter = DateFormatter()\n      dateFormatter.timeStyle = .medium\n      dateFormatter.dateStyle = .medium\n      infoString += \"Issue Date: \\(dateFormatter.string(from: issueDate))\\n\"\n   }\n   infoText = infoString\n}\n```\n\nExample:\n```text\nAuthorization: Bearer ${token}\n```\n\nExample:\n```swift\nvar myURLRequest: URLRequest\n\n// Initialize and configure the URL request.\n...\n\n// Add the authorization header to the configured URLRequest, refreshing the token if necessary.\nlet credential = Credential.default {\n   await credential.authorize(&myURLRequest)\n}\n\n// Call the server API using the URL request.\n```\n\nExample:\n```swift\ncredential.authorize(request: &myURLRequest)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.703Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":313,"estimatedTokens":1934}}29{"id":"doc-manage_credentials_using_the_okta_client_sdk_okt-df5f7ebb","source":"documentation","title":"Manage credentials using the Okta Client SDK | Okta Developer","url":"https://developer.okta.com/docs/guides/manage-user-creds/ios/main/","text":"Example:\n```swift\ntry Credential.store(token,\n                     tags: [\"displayName\": \"My User\"],\n                     security: [\n                         .accessibility(.afterFirstUnlock),\n                         .accessControl(.biometryAny),\n                         .accessGroup(\"com.example.myApp.shared\")\n                     ])\n```\n\nExample:\n```swift\n// On app launch, check for a default credential\nif let credential = Credential.default {\n  // User is signed in. Proceed to the main app view.\n  showUserProfile(credential);\n} else {\n  // No default user. Show the sign-in screen.\n  showLoginScreen();\n}\n\n// Listen for changes to the default credential\nNotificationCenter.default.addObserver(forName: .defaultCredentialChanged,\n                                       object: nil,\n                                       queue: nil) { notification in\n    if let credential = notification.object as? Credential {\n        print(\"Default credential has changed to: \\(credential.id)\")\n        // Update UI with new user info\n    } else {\n        print(\"User signed out, default credential removed.\")\n        // Update UI to show signed-out state\n    }\n}\n```\n\nExample:\n```swift\nif let credential = try Credential.with(id: serviceTokenId) {\n    // Do something with the credential\n}\n```\n\nExample:\n```swift\ntry Credential.store(token: newToken, tags: [\"service\": \"purchase\"])\n\n// Later ...\n\nif let credential = try Credential.find(where: { $0.tags[\"service\"] == \"purchase\" }).first {\n    // Use the credential\n}\n```\n\nExample:\n```swift\nlet userCredentials = try Credential.find { metadata in\n    metadata.subject == \"jane.doe@example.com\"\n}\n```\n\nExample:\n```swift\nfunc makeAuthenticatedApiRequest(credential: Credential, url: URL, data: [String: Any]) async -> Any {\n    do {\n        // Create a URLRequest representing the HTTP request\n        var request = URLRequest(url: url)\n        request.httpBody = try? JSONSerialization.data(withJSONObject: data, options: [])\n\n        // Authorize the request with the tokens from the given credential\n        await credential.authorize(&request)\n\n        // Perform the request and return the data from it\n        let (data, _) = try await URLSession.shared.data(for: request)\n        return try JSONSerialization.jsonObject(with: data)\n    } catch {\n        print(\"API request failed. User may need to re-authenticate. \\(error)\")\n\n        showLoginScreen();\n    }\n}\n```\n\nExample:\n```swift\nfunc signOutLocally() async {\n    guard let credential = Credential.default else { return }\n\n    do {\n        // Revoke refresh/access tokens server-side (the safest approach).\n        // The SDK's 'revoke' typically also removes the tokens from local storage upon success.\n        try await credential.revoke()\n\n        // If 'revoke()' succeeds, we're done. Navigate to the signed-out page.\n\n    } catch {\n        // If 'revoke()' fails (for example, due to a temporary network issue or invalid token).\n        // Log the server-side revocation error but always continue to clear local state.\n        // Log the error: print(\"Server-side revocation failed: \\(error)\")\n\n        do {\n            // Remove tokens and user state from local secure storage. This is essential for a proper sign-out, even if the server-side call failed.\n            try await credential.remove()\n\n            // Local removal succeeded. Navigate to signed-out page.\n\n        } catch {\n            // Handle/log if local storage removal also fails. This is rare but possible.\n            // Handle/remove fallback, if needed.\n            // Log the error: print(\"Local removal failed: \\(error)\")\n        }\n    }\n}\n```\n\nExample:\n```swift\nfunc switchDefaultAccount(to userEmail: String) throws {\n    // Retrieve the credential object for the target account using its email address.\n\n    guard let newCredential = try Credential.find(where: { meta in\n        meta.preferredUsername == userEmail\n    }) else {\n        throw AccountError.credentialNotFound(account.username)\n    }\n\n    // Set the retrieved credential as the new default.\n    // This immediately makes this account the active user (Credential.default).\n    Credential.default = newCredential\n\n    print(\"Switched active user to: \\(newCredential.preferredUsername ?? \"Unknown User\")\")\n\n    // The app can now update to use the new default credential, or may be automatically updated in response to the Notification.Name.defaultCredentialChanged notification..\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.704Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":137,"estimatedTokens":1114}}30{"id":"doc-inline_hooks_okta_developer-39c0a589","source":"documentation","title":"Inline hooks | Okta Developer","url":"https://developer.okta.com/docs/concepts/inline-hooks/","text":"Example:\n```http\nAccept: application/json\nContent-Type: application/json\nAuthorization: {key}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.705Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":28}}31{"id":"doc-universal_directory_okta_developer-def385b0","source":"documentation","title":"Universal Directory | Okta Developer","url":"https://developer.okta.com/docs/concepts/universal-directory/","text":"Example:\n```text\nIF user.department == \"Engineering\" AND user.countryCode == \"GB\"\nTHEN Add user to \"Engineering - London\" Group\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.706Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":37}}32{"id":"doc-user_sign_out_flow_local_app_okta_developer-58a905c7","source":"documentation","title":"User sign out flow (local app) | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-out/android/main/","text":"Example:\n```kotlin\n...\n    fun signOut() {\n        transitionToForm(form = initialForm())\n    }\n    ...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.706Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":10,"estimatedTokens":31}}33{"id":"doc-request_user_consent_okta_developer-de63f422","source":"documentation","title":"Request user consent | Okta Developer","url":"https://developer.okta.com/docs/guides/request-user-consent/main/","text":"Example:\n```json\n{\n    \"id\": \"0oaosna3ilNxgPTmk0h7\",\n    \"name\": \"oidc_client\",\n    \"label\": \"ConsentWebApp\",\n    \"status\": \"ACTIVE\",\n    \"signOnMode\": \"OPENID_CONNECT\",\n    \"credentials\": {\n     \"userNameTemplate\": {\n         \"template\": \"{source.login}\",\n         \"type\": \"BUILT_IN\"\n     },\n        \"signing\": {\n          \"kid\": \"5gbe0HpzAYj2rsWSLxx1fYHdh-SzWqyKqwmfJ6qDk5g\"\n     },\n        \"oauthClient\": {\n         \"autoKeyRotation\": true,\n          \"client_id\": \"0oaosna3ilNxgPTmk0h7\",\n         \"token_endpoint_auth_method\": \"client_secret_basic\"\n        }\n },\n \"settings\": {\n     \"app\": {},\n     \"notifications\": {\n         \"vpn\": {\n             \"network\": {\n                 \"connection\": \"DISABLED\"\n              },\n             \"message\": null,\n             \"helpUrl\": null\n         }\n        },\n     \"oauthClient\": {\n         \"client_uri\": null,\n         \"logo_uri\": null,\n         \"redirect_uris\": [\n            \"https://{yourOktaDomain}/authorization-code/callback\"\n         ],\n         \"response_types\": [\n             \"code\",\n             \"token\",\n             \"id_token\"\n         ],\n         \"grant_types\": [\n             \"authorization_code\",\n             \"implicit\"\n         ],\n            \"initiate_login_uri\": \"https://{yourOktaDomain}/authorization-code/callback\",\n            \"application_type\": \"web\",\n             \"consent_method\": \"REQUIRED\",\n             \"issuer_mode\": \"CUSTOM_URL\"\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"scpixa2zmc8Eumvjb0h7\",\n    \"name\": \"phone\",\n    \"displayName\": \"phone\",\n    \"description\": \"Allows this application to access your phone number.\",\n    \"system\": true,\n    \"metadataPublish\": \"ALL_CLIENTS\",\n    \"consent\": \"REQUIRED\",\n    \"default\": false\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"scpixa2zmc8Eumvjb0h7\",\n    \"name\": \"phone\",\n    \"displayName\": \"phone\",\n    \"description\": \"Allows this application to access your phone number.\",\n    \"system\": true,\n    \"metadataPublish\": \"ALL_CLIENTS\",\n    \"consent\": \"REQUIRED\",\n    \"optional\": true,\n    \"default\": false\n}\n```\n\nExample:\n```bash\ncurl -X GET\n\"https://{yourOktaDomain}/oauth2/{authorizationServerId}/v1/authorize?client_id=examplefa39J4jXdcCwWA\n&response_type=token\n&scope=openid%20phone\n&redirect_uri=https%3A%2F%2FyourRedirectUriHere.com\n&state=myState\n&nonce={myNonceValue}\"\n```\n\nExample:\n```bash\ncurl -X GET\n\"https://{yourOktaDomain}/oauth2/{authorizationServerId}/v1/authorize?client_id=examplefa39J4jXdcCwWA\n&response_type=token\n&scope=openid%20phone\n&prompt=consent\n&redirect_uri=https%3A%2F%2FyourRedirectUriHere.com\n&state=myState\n&nonce={myNonceValue}\"\n```\n\nExample:\n```json\n{\n    \"sub\": \"00uixa271s6x7qt8I0h7\",\n    \"ver\": 1,\n    \"iss\": \"https://{yourOktaDomain}/oauth2/default\",\n    \"aud\": \"0oaosna3ilNxgPTmk0h7\",\n    \"iat\": 1575931097,\n    \"exp\": 1575934697,\n    \"jti\": \"ID.67UFdLqtzyqtWEcO4GJPVBE6MMe-guCdXwzuv11p-eE\",\n    \"amr\": [\n        \"mfa\",\n        \"pwd\",\n        \"kba\"\n        ],\n    \"idp\": \"00oixa26ycdNcX0VT0h7\",\n    \"nonce\": \"UBGW\",\n    \"phone_number\": \"7206685241\",\n    \"auth_time\": 1575929999\n}\n```\n\nExample:\n```json\n{\n    \"ver\": 1,\n    \"jti\": \"AT.xtjhr8FeMkyMfgLiFzVYOYPbgqWdd6ONULT3ffeK7d4\",\n    \"iss\": \"https://{yourOktaDomain}/oauth2/default\",\n    \"aud\": \"api://default\",\n    \"iat\": 1575929637,\n    \"exp\": 1575933237,\n    \"cid\": \"0oaosna3ilNxgPTmk0h7\",\n    \"uid\": \"00uixa271s6x7qt8I0h7\",\n    \"scp\": [\n            \"openid\",\n            \"phone\"\n        ],\n    \"sub\": \"joe.smith@okta.com\"\n}\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n  -H \"Accept: application/json\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: SSWS {api_token} \\\n  \"https://{yourOktaDomain}/api/v1/users/{userId}/grants\"\n```\n\nExample:\n```json\n[\n    {\n    \"id\": \"oaggjy8vxJwKeiMx20h6\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2019-12-09T17:36:12.000Z\",\n    \"createdBy\": {\n        \"id\": \"00uixa271s6x7qt8I0h7\",\n        \"type\": \"User\"\n    },\n    \"lastUpdated\": \"2019-12-09T17:36:12.000Z\",\n    \"issuer\": \"https://{yourOktaDomain}/oauth2/default\",\n    \"clientId\": \"0oaosna3ilNxgPTmk0h7\",\n    \"userId\": \"00uixa271s6x7qt8I0h7\",\n    \"scopeId\": \"scpixa2zmc8Eumvjb0h7\",\n    \"source\": \"END_USER\",\n    \"_links\": {\n        \"app\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/apps/0oaosna3ilNxgPTmk0h7\",\n            \"title\": \"ConsentWebApp\"\n        },\n        \"authorizationServer\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/authorizationServers/default\",\n            \"title\": \"default\"\n        },\n        \"scope\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/authorizationServers/default/scopes/scpixa2zmc8Eumvjb0h7\",\n            \"title\": \"phone\"\n        },\n        \"self\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uixa271s6x7qt8I0h7/grants/oaggjy8vxJwKeiMx20h6\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"client\": {\n            \"href\": \"https://{yourOktaDomain}/oauth2/v1/clients/0oaosna3ilNxgPTmk0h7\",\n            \"title\": \"ConsentWebApp\"\n        },\n        \"user\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uixa271s6x7qt8I0h7\",\n            \"title\": \"Joe Smith\"\n            }\n         }\n    }\n]\n```\n\nExample:\n```bash\ncurl -v -X DELETE \\\n    -H \"Accept: application/json\" \\\n    -H \"Content-Type: application/json\" \\\n    -H \"Authorization: SSWS {api_token}\" \\\n    \"https://{yourOktaDomain}/api/v1/users/{userId}/grants/{grantId}\"\n```\n\nExample:\n```bash\ncurl -v -X DELETE \\\n    -H \"Accept: application/json\" \\\n    -H \"Content-Type: application/json\" \\\n    -H \"Authorization: SSWS {api_token}\" \\\n    \"https://{yourOktaDomain}/api/v1/users/{userId}/grants\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.708Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":230,"estimatedTokens":1419}}34{"id":"doc-upgrade_your_app_to_the_identity_engine_sdk_okta-ffcb3816","source":"documentation","title":"Upgrade your app to the Identity Engine SDK | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-api-sdk-to-oie-sdk/main/","text":"Example:\n```java\npublic AuthenticationClient getAuthenticationClient() {\n    return AuthenticationClients.builder()\n            .setOrgUrl(BuildConfig.BASE_URL)\n            .build();\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse = authenticationClient.authenticate(username,\n            password.toCharArray(), null, authenticationStateHandler);\n\n    // handle factors, if any\n    if (authenticationResponse != null &&\n            authenticationResponse.getFactors() != null &&\n            !authenticationResponse.getFactors().isEmpty()) {\n        // proceedToVerifyView\n    }\n} catch (final AuthenticationException e) {\n    // proceedToErrorView\n}\n```\n\nExample:\n```java\n// begin transaction\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin();\n\n// get proceed context\nProceedContext proceedContext = beginResponse.getProceedContext();\n\n// trigger authentication\nAuthenticationResponse authenticationResponse =\n     idxAuthenticationWrapper.authenticate(new AuthenticationOptions(username, password.toCharArray()), proceedContext);\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n  \"username\": \"john.doe@example.com\",\n  \"password\": \"password123\",\n  \"options\": {\n    \"multiOptionalFactorEnroll\": false,\n    \"warnBeforePasswordExpired\": false\n  }\n}'\n```\n\nExample:\n```json\n{\n    \"expiresAt\": \"2021-10-07T18:19:36.000Z\",\n    \"status\": \"SUCCESS\",\n    \"sessionToken\": \"20111KWCKiTgnNgeaFjw760VitvCy7y-9cYl8lvN65754GmBuo_PPE6\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u8eyowx5GiJhqvj1d6\",\n            \"passwordChanged\": \"2020-12-21T19:39:06.000Z\",\n            \"profile\": {\n                \"login\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"locale\": \"en_US\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        }\n    },\n    \"_links\": {\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/sessions' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS 00igKrTNyNLHCw0wYSIsoDF28cN4B3KZPETBz9pqz0' \\\n--header 'Cookie: JSESSIONID=16DC4838820F919032FC7BF01A8FE3E8' \\\n--data-raw '{\n  \"sessionToken\": \"20111MzxECyRs8sqQ8WG93-ftVtXQ_uBUbOqVt7RYbNFsZBAs1mw-Vl\"\n}'\n```\n\nExample:\n```json\n{\n    \"id\": \"102XV1tNvxsTm69-StW_BCU-Q\",\n    \"userId\": \"00u8eyowx5GiJhqvj1d6\",\n    \"login\": \"john.doe@example.com\",\n    \"createdAt\": \"2021-10-07T18:22:07.000Z\",\n    \"expiresAt\": \"2021-10-07T20:22:07.000Z\",\n    \"status\": \"ACTIVE\",\n    \"lastPasswordVerification\": \"2021-10-07T18:22:07.000Z\",\n    \"lastFactorVerification\": null,\n    \"amr\": [\n        \"pwd\"\n    ],\n    \"idp\": {\n        \"id\": \"00o2di92cuwsnS0PS1d6\",\n        \"type\": \"OKTA\"\n    },\n    \"mfaActive\": true,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://example.okta.com/api/v1/sessions/me\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"refresh\": {\n            \"href\": \"https://example.okta.com/api/v1/sessions/me/lifecycle/refresh\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"user\": {\n            \"name\": \"John Doe\",\n            \"href\": \"https://example.okta.com/api/v1/users/me\",\n            \"hints\":\n                \"allow\": [\n                    \"GET\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```java\nfinal String factorId = authenticationResponse.getFactors().get(0).getId();\nfinal FactorType factorType = authenticationResponse.getFactors().get(0).getType();\nfinal String stateToken = authenticationResponse.getStateToken();\n\n// we only support Email factor for sample purpose\nif (factorType == FactorType.EMAIL) {\n    AuthenticationResponse authResponse = authenticationClient.verifyFactor(factorId, stateToken, authenticationStateHandler);\n    // Show verify email view.\n} else {\n    // Show error view.\n}\n```\n\nExample:\n```java\ntry {\n    VerifyPassCodeFactorRequest verifyPassCodeFactorRequest =\n            authenticationClient.instantiate(VerifyPassCodeFactorRequest.class);\n    verifyPassCodeFactorRequest.setStateToken(stateToken);\n    verifyPassCodeFactorRequest.setPassCode(passcode);\n    verifyPassCodeFactorRequest.setRememberDevice(false);\n\n    authenticationResponse = authenticationClient.verifyFactor(factorId,\n            verifyPassCodeFactorRequest, authenticationStateHandler);\n} catch (AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\nauthenticationResponse = idxAuthenticationWrapper.selectAuthenticator(proceedContext, authenticator);\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions = new\n     VerifyAuthenticatorOptions(code);\n\nAuthenticationResponse authenticationResponse =\n     idxAuthenticationWrapper.verifyAuthenticator(proceedContext,\n     verifyAuthenticatorOptions);\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00kYBC0MrmG2kHSqYHrSzw7Y99_u9-MOcjEf-_B9Fa\",\n    \"expiresAt\": \"2021-10-12T14:38:30.000Z\",\n    \"status\": \"MFA_REQUIRED\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u1ehs07qD6MhWk85d7\",\n            \"passwordChanged\": \"2021-10-08T19:36:48.000Z\",\n            \"profile\": {\n                \"login\": \"michael.john.smith27@gmail.com\",\n                \"firstName\": \"Michael\",\n                \"lastName\": \"Smith\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        },\n        \"factors\": [\n            {\n                \"id\": \"emf1ehtcpaFA0cQg95d7\",\n                \"factorType\": \"email\",\n                \"provider\": \"OKTA\",\n                \"vendorName\": \"OKTA\",\n                \"profile\": {\n                    \"email\": \"m...7@gmail.com\"\n                },\n                \"_links\": {\n                    \"verify\": {\n                        \"href\": \"https://example.okta.com/api/v1/authn/factors/emf1ehtcpaFA0cQg95d7/verify\",\n                        \"hints\": {\n                            \"allow\": [\n                                \"POST\"\n                            ]\n                        }\n                    }\n                }\n            },\n            {\n                \"id\": \"sms1ehtiv4lzDd0MW5d7\",\n                \"factorType\": \"sms\",\n                \"provider\": \"OKTA\",\n                \"vendorName\": \"OKTA\",\n                \"profile\": {\n                    \"phoneNumber\": \"+1 XXX-XXX-1502\"\n                },\n                \"_links\": {\n                    \"verify\": {\n                        \"href\": \"https://example.okta.com/api/v1/authn/factors/sms1ehtiv4lzDd0MW5d7/verify\",\n                        \"hints\": {\n                            \"allow\": [\n                                \"POST\"\n                            ]\n                        }\n                    }\n                }\n            }\n        ],\n        \"policy\": {\n            \"allowRememberDevice\": true,\n            \"rememberDeviceLifetimeInMinutes\": 15,\n            \"rememberDeviceByDefault\": false,\n            \"factorsPolicyInfo\": {}\n        }\n    },\n    \"_links\": {\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/factors/emf276bb2dP3no7Da5d7/verify' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=6B93EFE5B529BB1CCC437F33996F04AB' \\\n--data-raw '{\n  \"stateToken\": \"00K3WvIsn4-P64LNEt5NW3yoXx-V6Kgi7H18yamJMi\"\n}'\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00kYBC0MrmG2kHSqYHrSzw7Y99_u9-MOcjEf-_B9Fa\",\n    \"expiresAt\": \"2021-10-12T14:40:23.000Z\",\n    \"status\": \"MFA_CHALLENGE\",\n    \"factorResult\": \"CHALLENGE\",\n    \"challengeType\": \"FACTOR\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u1ehs07qD6MhWk85d7\",\n            \"passwordChanged\": \"2021-10-08T19:36:48.000Z\",\n            \"profile\": {\n                \"login\": \"michael.john.smith27@gmail.com\",\n                \"firstName\": \"Michael\",\n                \"lastName\": \"Smith\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        },\n        \"factor\": {\n            \"id\": \"emf1ehtcpaFA0cQg95d7\",\n            \"factorType\": \"email\",\n            \"provider\": \"OKTA\",\n            \"vendorName\": \"OKTA\",\n            \"profile\": {\n                \"email\": \"m...7@gmail.com\"\n            }\n        },\n        \"policy\": {\n            \"allowRememberDevice\": true,\n            \"rememberDeviceLifetimeInMinutes\": 15,\n            \"rememberDeviceByDefault\": false,\n            \"factorsPolicyInfo\": {}\n        }\n    },\n    \"_links\": {\n        \"next\": {\n            \"name\": \"verify\",\n            \"href\": \"https://example.okta.com/api/v1/authn/factors/emf1ehtcpaFA0cQg95d7/verify\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"resend\": [\n            {\n                \"name\": \"email\",\n                \"href\": \"https://example.okta.com/api/v1/authn/factors/emf1ehtcpaFA0cQg95d7/verify/resend\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n            }\n        ],\n        \"prev\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/previous\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/factors/emf276bb2dP3no7Da5d7/verify' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=6B93EFE5B529BB1CCC437F33996F04AB' \\\n--data-raw '{\n  \"stateToken\": \"00K3WvIsn4-P64LNEt5NW3yoXx-V6Kgi7H18yamJMi\",\n  \"passCode\": \"477420\"\n}'\n```\n\nExample:\n```json\n{\n    \"expiresAt\": \"2021-10-12T14:43:04.000Z\",\n    \"status\": \"SUCCESS\",\n    \"sessionToken\": \"20111BkbGDWXbtv6_qe0NeDzuIYfWttZu5m4xszO4LQPqrmQfUA3pqc\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u1ehs07qD6MhWk85d7\",\n            \"passwordChanged\": \"2021-10-08T19:36:48.000Z\",\n            \"profile\": {\n                \"login\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        }\n    },\n    \"_links\": {\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse = authenticationClient.recoverPassword(email,\n            FactorType.EMAIL, null, authenticationStateHandler);\n} catch (AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse =\n            authenticationClient.verifyRecoveryToken(recoveryToken, authenticationStateHandler);\n} catch (AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse = authenticationClient.answerRecoveryQuestion(secQnAnswer,\n            stateToken, authenticationStateHandler);\n} catch (AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse = authenticationClient.resetPassword(newPassword.toCharArray(),\n            stateToken, authenticationStateHandler);\n} catch (final AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\nAuthenticationResponse authenticationResponse =\n      idxAuthenticationWrapper.recoverPassword(username, proceedContext);\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions = new\n     VerifyAuthenticatorOptions(newPassword);\nAuthenticationResponse authenticationResponse =\n     idxAuthenticationWrapper.verifyAuthenticator(proceedContext,\n     verifyAuthenticatorOptions);\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/recovery/password' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=567D81F8C70A8F601AD0EF3A551FB53D' \\\n--data-raw '{\n  \"username\": \"{username}\",\n  \"factorType\": \"SMS\",\n  \"relayState\": \"/myapp/some/deep/link/i/want/to/return/to\"\n}'\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00hdMzIhfXCfUeRYVjmiP9O6_l0A-ScgdiyucNw3e_\",\n    \"expiresAt\": \"2021-10-12T19:05:34.000Z\",\n    \"status\": \"RECOVERY_CHALLENGE\",\n    \"relayState\": \"/myapp/some/deep/link/i/want/to/return/to\",\n    \"factorType\": \"SMS\",\n    \"recoveryType\": \"PASSWORD\",\n    \"_links\": {\n        \"next\": {\n            \"name\": \"verify\",\n            \"href\": \"https://example.okta.com/api/v1/authn/recovery/factors/SMS/verify\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"resend\": {\n            \"name\": \"SMS\",\n            \"href\": \"https://example.okta.com/api/v1/authn/recovery/factors/SMS/resend\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/recovery/factors/sms/verify' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=567D81F8C70A8F601AD0EF3A551FB53D' \\\n--data-raw '{\n  \"stateToken\": \"00hdMzIhfXCfUeRYVjmiP9O6_l0A-ScgdiyucNw3e_\",\n  \"passCode\": \"926187\"\n}'\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00hdMzIhfXCfUeRYVjmiP9O6_l0A-ScgdiyucNw3e_\",\n    \"expiresAt\": \"2021-10-12T18:11:27.000Z\",\n    \"status\": \"PASSWORD_RESET\",\n    \"relayState\": \"/myapp/some/deep/link/i/want/to/return/to\",\n    \"recoveryType\": \"PASSWORD\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u276bb2cmQuiFhU5d7\",\n            \"passwordChanged\": \"2021-10-12T17:12:45.000Z\",\n            \"profile\": {\n                \"login\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        },\n        \"policy\": {\n            \"complexity\": {\n                \"minLength\": 8,\n                \"minLowerCase\": 1,\n                \"minUpperCase\": 1,\n                \"minNumber\": 1,\n                \"minSymbol\": 0,\n                \"excludeUsername\": true\n            },\n            \"age\": {\n                \"minAgeMinutes\": 0,\n                \"historyCount\": 4\n            }\n        }\n    },\n    \"_links\": {\n        \"next\": {\n            \"name\": \"resetPassword\",\n            \"href\": \"https://example.okta.com/api/v1/authn/credentials/reset_password\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/credentials/reset_password' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=567D81F8C70A8F601AD0EF3A551FB53D' \\\n--data-raw '{\n  \"stateToken\": \"00hdMzIhfXCfUeRYVjmiP9O6_l0A-ScgdiyucNw3e_\",\n  \"newPassword\": \"new_password!\"\n}'\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00K3WvIsn4-P64LNEt5NW3yoXx-V6Kgi7H18yamJMi\",\n    \"expiresAt\": \"2021-10-12T18:13:17.000Z\",\n    \"status\": \"MFA_REQUIRED\",\n    \"relayState\": \"/myapp/some/deep/link/i/want/to/return/to?type_hint=PASSWORD_RECOVERY&session_hint=AUTHENTICATED&login_hint=john.doe%40example.com\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u276bb2cmQuiFhU5d7\",\n            \"passwordChanged\": \"2021-10-12T18:08:17.000Z\",\n            \"profile\": {\n                \"login\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        },\n        \"factors\": [\n            {\n                \"id\": \"sms276bje00iCLqHY5d7\",\n                \"factorType\": \"sms\",\n                \"provider\": \"OKTA\",\n                \"vendorName\": \"OKTA\",\n                \"profile\": {\n                    \"phoneNumber\": \"+1 XXX-XXX-1502\"\n                },\n                \"_links\": {\n                    \"verify\": {\n                        \"href\": \"https://example.okta.com/api/v1/authn/factors/sms276bje00iCLqHY5d7/verify\",\n                        \"hints\": {\n                            \"allow\": [\n                                \"POST\"\n                            ]\n                        }\n                    }\n                }\n            },\n            {\n                \"id\": \"emf276bb2dP3no7Da5d7\",\n                \"factorType\": \"email\",\n                \"provider\": \"OKTA\",\n                \"vendorName\": \"OKTA\",\n                \"profile\": {\n                    \"email\": \"m...7@gmail.com\"\n                },\n                \"_links\": {\n                    \"verify\": {\n                        \"href\": \"https://example.okta.com/api/v1/authn/factors/emf276bb2dP3no7Da5d7/verify\",\n                        \"hints\": {\n                            \"allow\": [\n                                \"POST\"\n                            ]\n                        }\n                    }\n                }\n            }\n        ],\n        \"policy\": {\n            \"allowRememberDevice\": true,\n            \"rememberDeviceLifetimeInMinutes\": 15,\n            \"rememberDeviceByDefault\": false,\n            \"factorsPolicyInfo\": {}\n        }\n    },\n    \"_links\": {\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```java\nString accessToken = tokenResponse.getAccessToken();\n// revoke access token\nidxAuthenticationWrapper.revokeToken(TokenType.ACCESS_TOKEN, accessToken);\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.709Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":29,"totalLines":680,"estimatedTokens":4777}}35{"id":"doc-sign_in_mobile_users_with_a_self_hosted_page_okt-c420e58c","source":"documentation","title":"Sign in mobile users with a self-hosted page | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-users-in-mobile-self-hosted/main/","text":"Example:\n```kotlin\nandroid {\n    compileOptions {\n        isCoreLibraryDesugaringEnabled = true\n    }\n}\n\ndependencies {\n    coreLibraryDesugaring(\"com.android.tools:desugar_jdk_libs:2.0.4\")\n}\n```\n\nExample:\n```kotlin\ndependencies {\n    // Ensure that the core libraries are compatible using the Bill of Materials (BOM).\n    implementation(platform(\"com.okta.kotlin:bom:2.0.3\"))\n    implementation(\"com.okta.kotlin:auth-foundation\")\n\n    // OktaDirectAuth is published separately and isn't part of the BOM, so pin its version.\n    implementation(\"com.okta.kotlin:okta-direct-auth:0.0.1\")\n\n    // Used by the Compose UI to host a ViewModel.\n    implementation(\"androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7\")\n}\n```\n\nExample:\n```kotlin\nandroid {\n    buildFeatures {\n        buildConfig = true\n    }\n}\n```\n\nExample:\n```properties\nissuer=https://{yourOktaDomain}\nclientId={yourClientID}\nauthorizationServerId={yourCustomAuthServer}\n```\n\nExample:\n```kotlin\nval oktaProperties = java.util.Properties()\nrootProject.file(\"okta.properties\").inputStream().use { oktaProperties.load(it) }\n\nandroid.defaultConfig {\n    buildConfigField(\"String\", \"ISSUER\", \"\\\"${oktaProperties.getProperty(\"issuer\")}\\\"\")\n    buildConfigField(\"String\", \"CLIENT_ID\", \"\\\"${oktaProperties.getProperty(\"clientId\")}\\\"\")\n    buildConfigField(\"String\", \"SCOPES\", \"\\\"${oktaProperties.getProperty(\"scopes\")}\\\"\")\n}\n```\n\nExample:\n```kotlin\npackage com.okta.android.passwordauth\n\nimport android.app.Application\nimport com.okta.authfoundation.AuthFoundation\nimport com.okta.authfoundation.client.OidcConfiguration\n\nclass OktaPasswordAuthApplication : Application() {\n    override fun onCreate() {\n        super.onCreate()\n\n        AuthFoundation.initializeAndroidContext(this)\n        OidcConfiguration.default = OidcConfiguration(\n            clientId = BuildConfig.CLIENT_ID,\n            defaultScope = BuildConfig.SCOPES,\n            // The default custom authorization server issues the tokens.\n            issuer = \"${BuildConfig.ISSUER}/oauth2/default\"\n        )\n    }\n}\n```\n\nExample:\n```xml\n<application\n    android:name=\".OktaPasswordAuthApplication\"\n    ... >\n```\n\nExample:\n```kotlin\npackage com.okta.android.passwordauth.auth\n\nimport com.okta.authfoundation.client.dto.OidcUserInfo\nimport kotlinx.coroutines.flow.StateFlow\n\nsealed interface AuthState {\n    data object NotAuthenticated : AuthState\n    data object Authenticating : AuthState\n    data object Authenticated : AuthState\n    data class Error(val message: String) : AuthState\n}\n\ninterface AuthServicing {\n    val authenticationState: StateFlow<AuthState>\n\n    suspend fun restoreSession()\n    suspend fun authenticate(username: String, password: String)\n    suspend fun logout()\n    suspend fun refreshAccessToken()\n    suspend fun getCurrentUser(): OidcUserInfo?\n    suspend fun currentAccessToken(): String?\n}\n```\n\nExample:\n```kotlin\nimport com.okta.android.passwordauth.BuildConfig\nimport com.okta.authfoundation.credential.Credential\nimport com.okta.directauth.DirectAuthenticationFlowBuilder\nimport com.okta.directauth.api.DirectAuthenticationFlow\nimport kotlinx.coroutines.flow.MutableStateFlow\nimport kotlinx.coroutines.flow.asStateFlow\n\nclass AuthService : AuthServicing {\n\n    private val _authenticationState = MutableStateFlow<AuthState>(AuthState.NotAuthenticated)\n    override val authenticationState: StateFlow<AuthState> = _authenticationState.asStateFlow()\n\n    // Build the direct authentication flow from your Okta configuration.\n    private val directAuth: DirectAuthenticationFlow =\n        DirectAuthenticationFlowBuilder.create(\n            issuerUrl = BuildConfig.ISSUER,\n            clientId = BuildConfig.CLIENT_ID,\n            scope = BuildConfig.SCOPES.split(\" \")\n        ) {\n            // Select the default custom authorization server.\n            authorizationServerId = \"default\"\n        }.getOrThrow()\n\n    // Restore an existing session if a credential is already stored.\n    override suspend fun restoreSession() {\n        if (Credential.getDefaultAsync() != null) {\n            _authenticationState.value = AuthState.Authenticated\n        }\n    }\n}\n```\n\nExample:\n```kotlin\noverride suspend fun restoreSession() {\n    if (Credential.getDefaultAsync() != null) {\n        _authenticationState.value = AuthState.Authenticated\n    }\n}\n```\n\nExample:\n```kotlin\nimport com.okta.directauth.model.DirectAuthenticationError\nimport com.okta.directauth.model.DirectAuthenticationState\nimport com.okta.directauth.model.PrimaryFactor\n\noverride suspend fun authenticate(username: String, password: String) {\n    // 1. Update state to show authentication is in progress.\n    _authenticationState.value = AuthState.Authenticating\n\n    // 2. Send the credentials to Okta using direct authentication.\n    when (val state = directAuth.start(username, PrimaryFactor.Password(password))) {\n        // 3. On success, store the token and make it the default credential.\n        is DirectAuthenticationState.Authenticated -> {\n            val credential = Credential.store(state.token)\n            Credential.setDefaultAsync(credential)\n            _authenticationState.value = AuthState.Authenticated\n        }\n\n        // 4. This sample supports password-only sign-in.\n        is DirectAuthenticationState.MfaRequired ->\n            _authenticationState.value =\n                AuthState.Error(\"Additional verification is required for this account.\")\n\n        // 5. Surface a server error message when one is available.\n        is DirectAuthenticationError.HttpError.Oauth2Error ->\n            _authenticationState.value =\n                AuthState.Error(state.errorDescription ?: \"Authentication failed.\")\n\n        // 6. Handle any other error or unexpected state.\n        else ->\n            _authenticationState.value = AuthState.Error(\"Authentication failed.\")\n    }\n}\n```\n\nExample:\n```kotlin\noverride suspend fun logout() {\n    val credential = Credential.getDefaultAsync()\n    if (credential != null) {\n        // 1. Revoke the tokens on the Okta server.\n        credential.revokeAllTokens()\n        // 2. Remove the stored tokens from the device.\n        credential.delete()\n    }\n    // 3. Reset the authentication state.\n    _authenticationState.value = AuthState.NotAuthenticated\n}\n```\n\nExample:\n```kotlin\noverride suspend fun refreshAccessToken() {\n    val credential = Credential.getDefaultAsync() ?: return\n    credential.refreshToken()\n}\n```\n\nExample:\n```kotlin\nimport com.okta.authfoundation.client.OAuth2ClientResult\nimport com.okta.authfoundation.client.dto.OidcUserInfo\n\noverride suspend fun getCurrentUser(): OidcUserInfo? {\n    val credential = Credential.getDefaultAsync() ?: return null\n    return when (val result = credential.getUserInfo()) {\n        is OAuth2ClientResult.Success -> result.result\n        is OAuth2ClientResult.Error -> null\n    }\n}\n\noverride suspend fun currentAccessToken(): String? {\n    return Credential.getDefaultAsync()?.getAccessTokenIfValid()\n}\n```\n\nExample:\n```kotlin\npackage com.okta.android.passwordauth.auth\n\nimport com.okta.android.passwordauth.BuildConfig\nimport com.okta.authfoundation.client.OAuth2ClientResult\nimport com.okta.authfoundation.client.dto.OidcUserInfo\nimport com.okta.authfoundation.credential.Credential\nimport com.okta.directauth.DirectAuthenticationFlowBuilder\nimport com.okta.directauth.api.DirectAuthenticationFlow\nimport com.okta.directauth.model.DirectAuthenticationError\nimport com.okta.directauth.model.DirectAuthenticationState\nimport com.okta.directauth.model.PrimaryFactor\nimport kotlinx.coroutines.flow.MutableStateFlow\nimport kotlinx.coroutines.flow.StateFlow\nimport kotlinx.coroutines.flow.asStateFlow\n\nsealed interface AuthState {\n    data object NotAuthenticated : AuthState\n    data object Authenticating : AuthState\n    data object Authenticated : AuthState\n    data class Error(val message: String) : AuthState\n}\n\ninterface AuthServicing {\n    val authenticationState: StateFlow<AuthState>\n\n    suspend fun restoreSession()\n    suspend fun authenticate(username: String, password: String)\n    suspend fun logout()\n    suspend fun refreshAccessToken()\n    suspend fun getCurrentUser(): OidcUserInfo?\n    suspend fun currentAccessToken(): String?\n}\n\nclass AuthService : AuthServicing {\n\n    private val _authenticationState = MutableStateFlow<AuthState>(AuthState.NotAuthenticated)\n    override val authenticationState: StateFlow<AuthState> = _authenticationState.asStateFlow()\n\n    private val directAuth: DirectAuthenticationFlow =\n        DirectAuthenticationFlowBuilder.create(\n            issuerUrl = BuildConfig.ISSUER,\n            clientId = BuildConfig.CLIENT_ID,\n            scope = BuildConfig.SCOPES.split(\" \")\n        ) {\n            authorizationServerId = \"default\"\n        }.getOrThrow()\n\n    override suspend fun restoreSession() {\n        if (Credential.getDefaultAsync() != null) {\n            _authenticationState.value = AuthState.Authenticated\n        }\n    }\n\n    override suspend fun authenticate(username: String, password: String) {\n        _authenticationState.value = AuthState.Authenticating\n\n        when (val state = directAuth.start(username, PrimaryFactor.Password(password))) {\n            is DirectAuthenticationState.Authenticated -> {\n                val credential = Credential.store(state.token)\n                Credential.setDefaultAsync(credential)\n                _authenticationState.value = AuthState.Authenticated\n            }\n\n            is DirectAuthenticationState.MfaRequired ->\n                _authenticationState.value =\n                    AuthState.Error(\"Additional verification is required for this account.\")\n\n            is DirectAuthenticationError.HttpError.Oauth2Error ->\n                _authenticationState.value =\n                    AuthState.Error(state.errorDescription ?: \"Authentication failed.\")\n\n            else ->\n                _authenticationState.value = AuthState.Error(\"Authentication failed.\")\n        }\n    }\n\n    override suspend fun logout() {\n        val credential = Credential.getDefaultAsync()\n        if (credential != null) {\n            credential.revokeAllTokens()\n            credential.delete()\n        }\n        _authenticationState.value = AuthState.NotAuthenticated\n    }\n\n    override suspend fun refreshAccessToken() {\n        val credential = Credential.getDefaultAsync() ?: return\n        credential.refreshToken()\n    }\n\n    override suspend fun getCurrentUser(): OidcUserInfo? {\n        val credential = Credential.getDefaultAsync() ?: return null\n        return when (val result = credential.getUserInfo()) {\n            is OAuth2ClientResult.Success -> result.result\n            is OAuth2ClientResult.Error -> null\n        }\n    }\n\n    override suspend fun currentAccessToken(): String? {\n        return Credential.getDefaultAsync()?.getAccessTokenIfValid()\n    }\n}\n```\n\nExample:\n```kotlin\npackage com.okta.android.passwordauth.ui\n\nimport androidx.lifecycle.ViewModel\nimport androidx.lifecycle.viewModelScope\nimport com.okta.android.passwordauth.auth.AuthService\nimport com.okta.android.passwordauth.auth.AuthServicing\nimport com.okta.android.passwordauth.auth.AuthState\nimport com.okta.authfoundation.client.dto.OidcUserInfo\nimport com.okta.authfoundation.credential.Credential\nimport kotlinx.coroutines.flow.MutableStateFlow\nimport kotlinx.coroutines.flow.StateFlow\nimport kotlinx.coroutines.flow.asStateFlow\nimport kotlinx.coroutines.launch\n\nclass LoginViewModel(\n    private val authService: AuthServicing = AuthService(),\n) : ViewModel() {\n\n    val authState: StateFlow<AuthState> = authService.authenticationState\n\n    private val _username = MutableStateFlow(\"\")\n    val username: StateFlow<String> = _username.asStateFlow()\n\n    private val _password = MutableStateFlow(\"\")\n    val password: StateFlow<String> = _password.asStateFlow()\n\n    private val _errorMessage = MutableStateFlow<String?>(null)\n    val errorMessage: StateFlow<String?> = _errorMessage.asStateFlow()\n\n    init {\n        // Restore an existing session when the app starts.\n        viewModelScope.launch { authService.restoreSession() }\n    }\n\n    fun onUsernameChange(value: String) { _username.value = value }\n    fun onPasswordChange(value: String) { _password.value = value }\n\n    fun login() {\n        viewModelScope.launch {\n            _errorMessage.value = null\n            authService.authenticate(_username.value, _password.value)\n            val state = authService.authenticationState.value\n            if (state is AuthState.Error) _errorMessage.value = state.message\n            if (state is AuthState.Authenticated) _password.value = \"\"\n        }\n    }\n\n    fun logout() {\n        viewModelScope.launch {\n            authService.logout()\n            _username.value = \"\"\n            _password.value = \"\"\n            _errorMessage.value = null\n        }\n    }\n\n    fun refreshToken() {\n        viewModelScope.launch { authService.refreshAccessToken() }\n    }\n\n    suspend fun fetchUserProfile(): OidcUserInfo? = authService.getCurrentUser()\n\n    suspend fun currentAccessToken(): String =\n        authService.currentAccessToken() ?: \"No token\"\n\n    suspend fun tokenDetails(): Map<String, String> {\n        val token = Credential.getDefaultAsync()?.token ?: return emptyMap()\n        return buildMap {\n            put(\"Token type\", token.tokenType)\n            put(\"Access token\", token.accessToken)\n            token.scope?.let { put(\"Scopes\", it) }\n            token.idToken?.let { put(\"ID token\", it) }\n            token.refreshToken?.let { put(\"Refresh token\", it) }\n            put(\"Expires in\", \"${token.expiresIn} seconds\")\n        }\n    }\n}\n```\n\nExample:\n```kotlin\npackage com.okta.android.passwordauth.ui\n\nimport androidx.compose.foundation.layout.*\nimport androidx.compose.foundation.text.KeyboardOptions\nimport androidx.compose.material3.*\nimport androidx.compose.runtime.*\nimport androidx.compose.ui.Alignment\nimport androidx.compose.ui.Modifier\nimport androidx.compose.ui.text.input.KeyboardType\nimport androidx.compose.ui.text.input.PasswordVisualTransformation\nimport androidx.compose.ui.unit.dp\nimport androidx.lifecycle.viewmodel.compose.viewModel\nimport com.okta.android.passwordauth.auth.AuthState\n\n@Composable\nfun LoginScreen(viewModel: LoginViewModel = viewModel()) {\n    val authState by viewModel.authState.collectAsState()\n\n    when (authState) {\n        is AuthState.Authenticated -> AuthenticatedView(viewModel)\n        AuthState.Authenticating -> LoadingView()\n        else -> LoginForm(viewModel)\n    }\n}\n\n@Composable\nprivate fun LoginForm(viewModel: LoginViewModel) {\n    val username by viewModel.username.collectAsState()\n    val password by viewModel.password.collectAsState()\n    val errorMessage by viewModel.errorMessage.collectAsState()\n    val canSubmit = username.isNotEmpty() && password.isNotEmpty()\n\n    Column(\n        modifier = Modifier.fillMaxSize().padding(24.dp),\n        horizontalAlignment = Alignment.CenterHorizontally,\n        verticalArrangement = Arrangement.spacedBy(16.dp)\n    ) {\n        Text(\"Welcome back\", style = MaterialTheme.typography.headlineMedium)\n        Text(\"Sign in with your Okta credentials\", style = MaterialTheme.typography.bodyMedium)\n\n        OutlinedTextField(\n            value = username,\n            onValueChange = viewModel::onUsernameChange,\n            label = { Text(\"Email or username\") },\n            singleLine = true,\n            keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Email),\n            modifier = Modifier.fillMaxWidth()\n        )\n\n        OutlinedTextField(\n            value = password,\n            onValueChange = viewModel::onPasswordChange,\n            label = { Text(\"Password\") },\n            singleLine = true,\n            visualTransformation = PasswordVisualTransformation(),\n            keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Password),\n            modifier = Modifier.fillMaxWidth()\n        )\n\n        Button(\n            onClick = viewModel::login,\n            enabled = canSubmit,\n            modifier = Modifier.fillMaxWidth()\n        ) {\n            Text(\"Sign In\")\n        }\n\n        errorMessage?.let {\n            Text(it, color = MaterialTheme.colorScheme.error)\n        }\n    }\n}\n\n@Composable\nprivate fun LoadingView() {\n    Box(modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.Center) {\n        Column(horizontalAlignment = Alignment.CenterHorizontally) {\n            CircularProgressIndicator()\n            Spacer(Modifier.height(16.dp))\n            Text(\"Signing in...\")\n        }\n    }\n}\n\n@Composable\nprivate fun AuthenticatedView(viewModel: LoginViewModel) {\n    var showProfile by remember { mutableStateOf(false) }\n    var showTokens by remember { mutableStateOf(false) }\n    var token by remember { mutableStateOf(\"\") }\n\n    LaunchedEffect(Unit) { token = viewModel.currentAccessToken() }\n\n    Column(\n        modifier = Modifier.fillMaxSize().padding(24.dp),\n        verticalArrangement = Arrangement.spacedBy(12.dp)\n    ) {\n        Text(\"Successfully authenticated\", style = MaterialTheme.typography.headlineSmall)\n        Text(\"Access token\", style = MaterialTheme.typography.labelMedium)\n        Text(token, style = MaterialTheme.typography.bodySmall, maxLines = 4)\n\n        Button(onClick = { showProfile = true }, modifier = Modifier.fillMaxWidth()) {\n            Text(\"View Profile\")\n        }\n        Button(onClick = { showTokens = true }, modifier = Modifier.fillMaxWidth()) {\n            Text(\"Token Details\")\n        }\n        Button(onClick = viewModel::refreshToken, modifier = Modifier.fillMaxWidth()) {\n            Text(\"Refresh Token\")\n        }\n        Button(onClick = viewModel::logout, modifier = Modifier.fillMaxWidth()) {\n            Text(\"Sign Out\")\n        }\n    }\n\n    if (showProfile) ProfileDialog(viewModel) { showProfile = false }\n    if (showTokens) TokenDetailsDialog(viewModel) { showTokens = false }\n}\n```\n\nExample:\n```kotlin\nimport androidx.compose.foundation.rememberScrollState\nimport androidx.compose.foundation.verticalScroll\nimport com.okta.authfoundation.claims.email\nimport com.okta.authfoundation.claims.name\nimport com.okta.authfoundation.claims.preferredUsername\nimport com.okta.authfoundation.claims.subject\n\n@Composable\nprivate fun ProfileDialog(viewModel: LoginViewModel, onDismiss: () -> Unit) {\n    var profile by remember { mutableStateOf<Map<String, String>?>(null) }\n\n    LaunchedEffect(Unit) {\n        val userInfo = viewModel.fetchUserProfile()\n        profile = if (userInfo == null) {\n            emptyMap()\n        } else {\n            mapOf(\n                \"Name\" to (userInfo.name ?: \"Not provided\"),\n                \"Email\" to (userInfo.email ?: \"Not provided\"),\n                \"Username\" to (userInfo.preferredUsername ?: \"Not provided\"),\n                \"User ID\" to (userInfo.subject ?: \"Unknown\")\n            )\n        }\n    }\n\n    AlertDialog(\n        onDismissRequest = onDismiss,\n        confirmButton = { TextButton(onClick = onDismiss) { Text(\"Done\") } },\n        title = { Text(\"Profile\") },\n        text = {\n            when (val current = profile) {\n                null -> CircularProgressIndicator()\n                else -> Column {\n                    current.forEach { (label, value) ->\n                        Text(label, style = MaterialTheme.typography.labelSmall)\n                        Text(value, style = MaterialTheme.typography.bodyMedium)\n                        Spacer(Modifier.height(8.dp))\n                    }\n                }\n            }\n        }\n    )\n}\n\n@Composable\nprivate fun TokenDetailsDialog(viewModel: LoginViewModel, onDismiss: () -> Unit) {\n    var details by remember { mutableStateOf<Map<String, String>>(emptyMap()) }\n\n    LaunchedEffect(Unit) { details = viewModel.tokenDetails() }\n\n    AlertDialog(\n        onDismissRequest = onDismiss,\n        confirmButton = { TextButton(onClick = onDismiss) { Text(\"Done\") } },\n        title = { Text(\"Token Details\") },\n        text = {\n            Column(modifier = Modifier.verticalScroll(rememberScrollState())) {\n                details.forEach { (label, value) ->\n                    Text(label, style = MaterialTheme.typography.labelMedium)\n                    Text(value, style = MaterialTheme.typography.bodySmall)\n                    Spacer(Modifier.height(8.dp))\n                }\n            }\n        }\n    )\n}\n```\n\nExample:\n```kotlin\nimport android.os.Bundle\nimport androidx.activity.ComponentActivity\nimport androidx.activity.compose.setContent\nimport com.okta.android.passwordauth.ui.LoginScreen\n\nclass MainActivity : ComponentActivity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        setContent {\n            MaterialTheme {\n                LoginScreen()\n            }\n        }\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.711Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":629,"estimatedTokens":5188}}36{"id":"doc-password_import_inline_hook_okta_developer-f8ecad82","source":"documentation","title":"Password import inline hook | Okta Developer","url":"https://developer.okta.com/docs/guides/password-import-inline-hook/nodejs/main/","text":"Example:\n```bash\nmkdir sample-app\ncd sample-app\n```\n\nExample:\n```bash\nnpm init --yes\n```\n\nExample:\n```bash\nnpm install express express-basic-auth express-validator dotenv\n```\n\nExample:\n```bash\nBASIC_AUTH_USER=admin\nBASIC_AUTH_PASSWORD=supersecret\n```\n\nExample:\n```javascript\n// server.js\n// where your node app starts\n\nrequire('dotenv').config();\nconst express = require(\"express\");\nconst app = express();\nconst users = require('./users');\nconst { body, validationResult } = require('express-validator');\napp.use(express.json());\n\n// listen for requests :)\nconst listener = app.listen(8082, function () {\n  console.log(\"Your app is listening on port \" + listener.address().port);\n});\n```\n\nExample:\n```javascript\nconst basicAuth = require('express-basic-auth');\n\n/* HTTP basic auth middleware for Express\n//\n// Refer to https://www.npmjs.com/package/express-basic-auth#custom-authorization for more information\n//\n// Ensure you securely store your credentials for your external service */\n\napp.use(basicAuth( { authorizer: myAuthorizer } ))\n\nfunction myAuthorizer(username, password) {\n\n    const userMatches = basicAuth.safeCompare(username, process.env.BASIC_AUTH_USER)\n    const passwordMatches = basicAuth.safeCompare(password, process.env.BASIC_AUTH_PASSWORD)\n\n    return userMatches & passwordMatches\n}\n```\n\nExample:\n```javascript\nconst passwordImportValidation = [\n  body('data.context.credential.username', 'Must be a non empty string').exists().bail().isString().bail().notEmpty(),\n  body('data.context.credential.password', 'Must be a non empty string').exists().bail().isString().bail().notEmpty(),\n];\n\napp.post('/passwordImport', passwordImportValidation, (req, res) => {\n  const errors = validationResult(req);\n  if (!errors.isEmpty()) {\n    return res.status(400).json({ errors: errors.array() });\n  }\n\n  const credentials = req.body.data.context.credential;\n  if (users.validate(credentials.username, credentials.password)) {\n    console.log(\"Password verified! Password imported.\")\n    return res.status(200).json({\n      \"commands\": [\n        {\n          \"type\": \"com.okta.action.update\",\n            \"value\": {\n            \"credential\": \"VERIFIED\"\n          }\n        }\n      ]\n    });\n  }\n  console.log(\"Not verified. Password not imported.\")\n  return res.status(204).send();\n});\n```\n\nExample:\n```javascript\nconst users = require('./users');\n```\n\nExample:\n```javascript\nconst users = [\n  {\n    username: 'jessie.smith@example.com',\n    password: 'password1',\n  },\n  {\n    username: 'kim.sato@example.com',\n    password: 'password2',\n  },\n    {\n    username: 'rajiv.tal@example.com',\n    password: 'password3',\n  },\n]\n\nfunction validate(username, password) {\n  return users.some(user => user.username === username && user.password === password);\n}\n\nexports.validate = validate;\n```\n\nExample:\n```javascript\nconst credentials = req.body.data.context.credential;\n  if (users.validate(credentials.username, credentials.password)) {\n    console.log(\"Password verified! Password imported.\")\n    return res.status(200).json({\n      \"commands\": [\n        {\n          \"type\": \"com.okta.action.update\",\n            \"value\": {\n            \"credential\": \"VERIFIED\"\n          }\n        }\n      ]\n    });\n  }\n  console.log(\"Not verified. Password not imported.\")\n  return res.status(204).send();\n});\n```\n\nExample:\n```bash\nngrok http 8082\n```\n\nExample:\n```bash\nnode server.js\n```\n\nExample:\n```bash\ncurl -v -X POST \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS {api_token}\" \\\n-d '{\n  \"profile\": {\n    \"firstName\": \"Jessie\",\n    \"lastName\": \"Smith\",\n    \"email\": \"jessie.smith@example.com\",\n    \"login\": \"jessie.smith@example.com\",\n  },\n  \"credentials\": {\n    \"password\" : {\n      \"hook\": {\n        \"type\": \"default\"\n      }\n    }\n  }\n}' \"https://{yourOktaDomain}/api/v1/users?activate=true\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.712Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":177,"estimatedTokens":965}}37{"id":"doc-reset_a_password-cb84950c","source":"documentation","title":"Reset a password","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/other/resetpassword","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/reset_password?sendEmail=true&revokeSessions=false'\n```\n\nExample:\n```text\n{\n  \"summary\": \"Reset password without sending email\",\n  \"resetPasswordUrl\": \"https://{yourOktaDomain}/reset_password/XE6wE17zmphl3KqAPFxO\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.712Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":82}}38{"id":"doc-script_your_user_migration_with_the_okta_users_a-1bd8ec5f","source":"documentation","title":"Script your user migration with the Okta Users API | Okta Developer","url":"https://developer.okta.com/docs/guides/migrate-to-okta-with-scripts/main/","text":"Example:\n```javascript\n#!/usr/bin/env node\n\n// User data\nconst users = [\n  {\n    firstName: 'Jessie',\n    lastName: 'Smith',\n    email: 'jessie.smith@example.com',\n    salt: 'pwxb1yjwfpa6jcV0XKBtau', // Data for hashed password scenario\n    hashedPassword: 'MnDMlKOOxMY4Tc.7wgpqFoAPYKi5wSe' // Data for hashed password scenario\n  },\n  {\n    firstName: 'Kim',\n    lastName: 'Sato',\n    email: 'kim.sato@example.com',\n    salt: 'pwxb1yjwfpa6jcV0XKBtau', // Data for hashed password scenario\n    hashedPassword: 'MnDMlKOOxMY4Tc.7wgpqFoAPYKi5wSe' // Data for hashed password scenario\n  },\n  {\n    firstName: 'Rajiv',\n    lastName: 'Tal',\n    email: 'rajiv.tal@example.com',\n    salt: 'pwxb1yjwfpa6jcV0XKBtau', // Data for hashed password scenario\n    hashedPassword: 'MnDMlKOOxMY4Tc.7wgpqFoAPYKi5wSe' // Data for hashed password scenario\n  }\n];\n\n// Get environment variables\nconst oktaDomain = process.env.OKTA_ORG_URL;\nconst accessToken = process.env.OKTA_ACCESS_TOKEN;\n\nif (!oktaDomain || !accessToken) {\n  console.error('\\x1b[31m❌ Error:\\x1b[0m OKTA_ORG_URL and OKTA_ACCESS_TOKEN environment variables are required');\n  console.error('\\nExample:');\n  console.error('  export OKTA_ORG_URL=\"https://example.okta.com\"');\n  console.error('  export OKTA_ACCESS_TOKEN=\"your_access_token_here\"');\n  console.error('  node import-users-cli.js');\n  process.exit(1);\n}\n\n// Normalize domain\nconst domain = oktaDomain.replace(/https?:\\/\\//, '').replace(/\\/$/, '');\n\n// Check for command-line flags\nconst args = process.argv.slice(2);\nconst isStaged = args.includes('--staged');\nconst isHook = args.includes('--hook');\n\nasync function importUsersWithCredentials() {\n  let createdCount = 0;\n  let failureCount = 0;\n\n  console.log('\\n\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log('\\x1b[36mOkta User Importer - Active Users (With Credentials)\\x1b[0m');\n  console.log('\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log(`\\nStarting import of \\x1b[1m${users.length}\\x1b[0m users...\\n`);\n\n  for (const user of users) {\n    const query = new URLSearchParams({\n      activate: 'true'\n    }).toString();\n\n    const body = {\n      profile: {\n        firstName: user.firstName,\n        lastName: user.lastName,\n        email: user.email,\n        login: user.email\n      },\n      credentials: {\n        password: {\n          hash: {\n            algorithm: 'BCRYPT',\n            workFactor: 10,\n            salt: user.salt,\n            value: user.hashedPassword\n          }\n        }\n      }\n    };\n\n    try {\n      const response = await fetch(\n        `https://${domain}/api/v1/users?${query}`,\n        {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json',\n            'Authorization': `Bearer ${accessToken}`\n          },\n          body: JSON.stringify(body)\n        }\n      );\n\n      if (!response.ok) {\n        const errorData = await response.json();\n        console.log(`\\x1b[31m❌ Failed to create ${user.email}\\x1b[0m`);\n        console.log(`   \\x1b[90mError: ${errorData.errorSummary}\\x1b[0m`);\n        failureCount++;\n      } else {\n        const data = await response.json();\n        console.log(`\\x1b[32m✓ Created user: ${user.firstName} ${user.lastName} (${user.email})\\x1b[0m`);\n        createdCount++;\n      }\n    } catch (error) {\n      console.log(`\\x1b[31m❌ Error creating ${user.email}\\x1b[0m`);\n      console.log(`   \\x1b[90mError: ${error.message}\\x1b[0m`);\n      failureCount++;\n    }\n  }\n\n  // Display summary\n  console.log('\\n\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log('\\x1b[36mImport Summary\\x1b[0m');\n  console.log('\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log(`Total users created: \\x1b[32m${createdCount}\\x1b[0m`);\n  console.log(`Total failures: \\x1b[31m${failureCount}\\x1b[0m`);\n  console.log(`Total processed: \\x1b[1m${createdCount + failureCount}\\x1b[0m\\n`);\n}\n\nasync function importStagedUsers() {\n  let createdCount = 0;\n  let failureCount = 0;\n\n  console.log('\\n\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log('\\x1b[36mOkta User Importer - Staged Users (No Credentials)\\x1b[0m');\n  console.log('\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log(`\\nStarting import of \\x1b[1m${users.length}\\x1b[0m users...\\n`);\n\n  for (const user of users) {\n    const query = new URLSearchParams({\n      activate: 'false'\n    }).toString();\n\n    const body = {\n      profile: {\n        firstName: user.firstName,\n        lastName: user.lastName,\n        email: user.email,\n        login: user.email\n      }\n    };\n\n    try {\n      const response = await fetch(\n        `https://${domain}/api/v1/users?${query}`,\n        {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json',\n            'Authorization': `Bearer ${accessToken}`\n          },\n          body: JSON.stringify(body)\n        }\n      );\n\n      if (!response.ok) {\n        const errorData = await response.json();\n        console.log(`\\x1b[31m❌ Failed to create ${user.email}\\x1b[0m`);\n        console.log(`   \\x1b[90mError: ${errorData.errorSummary}\\x1b[0m`);\n        failureCount++;\n      } else {\n        const data = await response.json();\n        console.log(`\\x1b[32m✓ Created user: ${user.firstName} ${user.lastName} (${user.email})\\x1b[0m`);\n        createdCount++;\n      }\n    } catch (error) {\n      console.log(`\\x1b[31m❌ Error creating ${user.email}\\x1b[0m`);\n      console.log(`   \\x1b[90mError: ${error.message}\\x1b[0m`);\n      failureCount++;\n    }\n  }\n\n  // Display summary\n  console.log('\\n\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log('\\x1b[36mImport Summary\\x1b[0m');\n  console.log('\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log(`Total users created: \\x1b[32m${createdCount}\\x1b[0m`);\n  console.log(`Total failures: \\x1b[31m${failureCount}\\x1b[0m`);\n  console.log(`Total processed: \\x1b[1m${createdCount + failureCount}\\x1b[0m\\n`);\n}\n\nasync function importUsersWithHook() {\n  let createdCount = 0;\n  let failureCount = 0;\n\n  console.log('\\n\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log('\\x1b[36mOkta User Importer - Active Users (With Inline Hook)\\x1b[0m');\n  console.log('\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log(`\\nStarting import of \\x1b[1m${users.length}\\x1b[0m users...\\n`);\n\n  for (const user of users) {\n    const query = new URLSearchParams({\n      activate: 'true'\n    }).toString();\n\n    const body = {\n      profile: {\n        firstName: user.firstName,\n        lastName: user.lastName,\n        email: user.email,\n        login: user.email\n      },\n      credentials: {\n        password: {\n          hook: {\n            type: 'default'\n          }\n        }\n      }\n    };\n\n    try {\n      const response = await fetch(\n        `https://${domain}/api/v1/users?${query}`,\n        {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json',\n            'Authorization': `Bearer ${accessToken}`\n          },\n          body: JSON.stringify(body)\n        }\n      );\n\n      if (!response.ok) {\n        const errorData = await response.json();\n        console.log(`\\x1b[31m❌ Failed to create ${user.email}\\x1b[0m`);\n        console.log(`   \\x1b[90mError: ${errorData.errorSummary}\\x1b[0m`);\n        failureCount++;\n      } else {\n        const data = await response.json();\n        console.log(`\\x1b[32m✓ Created user: ${user.firstName} ${user.lastName} (${user.email})\\x1b[0m`);\n        createdCount++;\n      }\n    } catch (error) {\n      console.log(`\\x1b[31m❌ Error creating ${user.email}\\x1b[0m`);\n      console.log(`   \\x1b[90mError: ${error.message}\\x1b[0m`);\n      failureCount++;\n    }\n  }\n\n  // Display summary\n  console.log('\\n\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log('\\x1b[36mImport Summary\\x1b[0m');\n  console.log('\\x1b[36m' + '='.repeat(50) + '\\x1b[0m');\n  console.log(`Total users created: \\x1b[32m${createdCount}\\x1b[0m`);\n  console.log(`Total failures: \\x1b[31m${failureCount}\\x1b[0m`);\n  console.log(`Total processed: \\x1b[1m${createdCount + failureCount}\\x1b[0m\\n`);\n}\n\n// Run the appropriate import function\nlet importFn;\nif (isHook) {\n  importFn = importUsersWithHook;\n} else if (isStaged) {\n  importFn = importStagedUsers;\n} else {\n  importFn = importUsersWithCredentials;\n}\n\nimportFn().catch(error => {\n  console.error('\\x1b[31m❌ Fatal error:\\x1b[0m', error.message);\n  process.exit(1);\n});\n```\n\nExample:\n```json\nPOST https://{yourOktaDomain}/api/v1/users?activate=true\n\n{\n  \"profile\": {\n    \"firstName\": \"Jessie\",\n    \"lastName\": \"Smith\",\n    \"email\": \"jessie.smith@example.com\",\n    \"login\": \"jessie.smith@example.com\"\n  },\n  \"credentials\": {\n    \"password\": {\n      \"hash\": {\n        \"algorithm\": \"BCRYPT\",\n        \"workFactor\": 10,\n        \"salt\": \"pwxb1yjwfpa6jcV0XKBtau\",\n        \"value\": \"MnDMlKOOxMY4Tc.7wgpqFoAPYKi5wSe\"\n      }\n    }\n  }\n}\n```\n\nExample:\n```json\nPOST https://{yourOktaDomain}/api/v1/users?activate=false\n\n{\n  \"profile\": {\n    \"firstName\": \"Jessie\",\n    \"lastName\": \"Smith\",\n    \"email\": \"jessie.smith@example.com\",\n    \"login\": \"jessie.smith@example.com\"\n  }\n}\n```\n\nExample:\n```json\nPOST https://{yourOktaDomain}/api/v1/users?activate=true\n\n{\n  \"profile\": {\n    \"firstName\": \"Jessie\",\n    \"lastName\": \"Smith\",\n    \"email\": \"jessie.smith@example.com\",\n    \"login\": \"jessie.smith@example.com\"\n  },\n  \"credentials\": {\n    \"password\": {\n      \"hook\": {\n        \"type\": \"default\"\n      }\n    }\n  }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"00uymevfiiNXaJKw11d7\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2026-05-11T15:26:08.000Z\",\n    \"activated\": \"2026-05-11T15:26:09.000Z\",\n    \"statusChanged\": \"2026-05-11T15:26:09.000Z\",\n    \"lastLogin\": null,\n    \"lastUpdated\": \"2026-05-11T15:26:09.000Z\",\n    \"passwordChanged\": \"2026-05-11T15:26:08.000Z\",\n    \"realmId\": \"guolmfhtgj9pXaslwY1d7\",\n    \"type\": {\n        \"id\": \"oty7xut91mYBi6o081d7\"\n    },\n    \"profile\": {\n        \"firstName\": \"Jessie\",\n        \"lastName\": \"Smith\",\n        \"mobilePhone\": null,\n        \"secondEmail\": null,\n        \"login\": \"jessie.smithn@example.com\",\n        \"email\": \"jessie.smith@example.com\"\n    },\n    \"credentials\": {\n        \"password\": {},\n        \"provider\": {\n            \"type\": \"IMPORT\",\n            \"name\": \"IMPORT\"\n        }\n    },\n    \"_links\": {\n        \"suspend\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uymevfiiNXaJKw11d7/lifecycle/suspend\",\n            \"method\": \"POST\"\n        },\n        \"schema\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/meta/schemas/user/osc7xut91mYAi6o081e7\"\n        },\n        \"resetPassword\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uymevfiiNXaJKw11d7/lifecycle/reset_password\",\n            \"method\": \"POST\"\n        },\n        \"forgotPassword\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uymevfiiNXaJKw11d7/credentials/forgot_password\",\n            \"method\": \"POST\"\n        },\n        \"expirePassword\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uymevfiiNXaJKw11d7/lifecycle/expire_password\",\n            \"method\": \"POST\"\n        },\n        \"changeRecoveryQuestion\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uymevfiiNXaJKw11d7/credentials/change_recovery_question\",\n            \"method\": \"POST\"\n        },\n        \"self\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uymevfiiNXaJKw11d7\"\n        },\n        \"type\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/meta/types/user/oty7xut91mYBi6o081d7\"\n        },\n        \"changePassword\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uymevfiiNXaJKw11d7/credentials/change_password\",\n            \"method\": \"POST\"\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/users/00uymevfiiNXaJKw11d7/lifecycle/deactivate\",\n            \"method\": \"POST\"\n        }\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.714Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":401,"estimatedTokens":2944}}39{"id":"doc-configure_keep_me_signed_in_kmsi_okta_developer-2aae3bbe","source":"documentation","title":"Configure Keep Me Signed In (KMSI) | Okta Developer","url":"https://developer.okta.com/docs/guides/keep-me-signed-in/main/","text":"Example:\n```bash\ncurl --location 'https://{yourOktaDomain}/api/v1/policies?activate=true' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: application/json' \\\n--header 'Authorization: SSWS ••••••' \\\n--data '{\n  \"description\": \"Sets the MFA lifetime\",\n  \"name\": \"KMSI\",\n  \"priority\": 2,\n  \"status\": \"ACTIVE\",\n  \"system\": true,\n  \"type\": \"OKTA_SIGN_ON\",\n  \"conditions\": {\n    \"people\": {\n        \"groups\": {\n            \"include\": [\n                \"{groupId}\"\n                ]\n            }\n        }\n    }\n}'\n```\n\nExample:\n```bash\n--data '{\n\"type\": \"SIGN_ON\",\n\"status\": \"ACTIVE\",\n\"name\": \"KMSI modify policy\",\n\"conditions\": {\n\"network\": {\n\"connection\": \"ANYWHERE\",\n\"include\": []\n},\n\"authContext\": {\n\"authType\": \"ANY\"\n}\n},\n\"actions\": {\n    \"signon\": {\n        \"access\": \"ALLOW\",\n        \"factorLifetime\": \"200\",\n        \"factorPromptMode\": \"DEVICE\",\n        \"primaryFactor\": \"PASSWORD_IDP_ANY_FACTOR\",\n        \"requireFactor\": true\n}\n}\n}\n'\n```\n\nExample:\n```bash\n\"actions\": {\n  \"signon\": {\n    \"access\": \"ALLOW\",\n    \"requireFactor\": false,\n    \"primaryFactor\": \"PASSWORD_IDP_ANY_FACTOR\",\n    \"session\": {\n      \"usePersistentCookie\": false,\n      \"maxSessionIdleMinutes\": 120,\n      \"maxSessionLifetimeMinutes\": 0\n    }\n  }\n},\n```\n\nExample:\n```bash\n\"actions\": {\n  \"appSignOn\": {\n      \"access\": \"ALLOW\"\n    },\n      \"keepMeSignedIn\": {\n        \"postAuth\": \"ALLOWED\",\n        \"postAuthPromptFrequency\": \"PT168H\"\n    },\n      \"verificationMethod\": {\n            \"contraints\": [],\n            \"factorMode\": \"2FA\",\n            \"reauthenticateIn\": \"PT168H\",\n            \"type\": \"ASSURANCE\"\n    },\n  }\n```\n\nExample:\n```bash\n\"postAuthKeepMeSignedInPrompt\": {\n  \"title\": \"Stay signed in, my friend?\",\n  \"subtitle\": \"Make your selection below\",\n  \"acceptButtonText\": \"Test accept\",\n  \"rejectButtonText\": \"Test reject\"\n}\n```\n\nExample:\n```bash\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/users/{userId}/sessions?oauthTokens=false' \\\n  -H 'Authorization: YOUR_API_KEY_HERE'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.714Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":106,"estimatedTokens":502}}40{"id":"doc-updates_to_widget_i18n_properties_okta_developer-b62c9b24","source":"documentation","title":"Updates to widget i18n properties | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-sign-in-widget-i18n/main/","text":"Example:\n```javascript\n// The i18n object maps language codes to a hash of property keys ->\n// property values.\ni18n: {\n  // Overriding English properties\n  'en': {\n    'oie.password.challenge.title': 'Verify with Acme password',\n    'oie.email.authenticator.description': 'Verify with an Acme link or code'\n  },\n  // Overriding Japanese properties\n  'ja': {\n    'oie.password.challenge.title': 'Acmeパスワードで確認する',\n    'oie.email.authenticator.description': 'Acmeリンクまたはコードで確認する'\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.715Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":19,"estimatedTokens":125}}41{"id":"doc-list_all_users-0c37563b","source":"documentation","title":"List all users","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/other/listusers","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users?search=status%20eq%20%22STAGED%22&filter=status%20eq%20%22LOCKED_OUT%22&q=string&after=string&limit=200&sortBy=string&sortOrder=asc&fields=id%2Cstatus%2Cprofile%3A(firstName%2ClastName%2Ccity)&expand=classification' \\\n  -H 'Content-Type: application/json; okta-response=omitCredentials,omitCredentialsLinks'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"00u118oQYT4TBTemp0g4\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2022-04-04T15:56:05.000Z\",\n    \"activated\": null,\n    \"statusChanged\": null,\n    \"lastLogin\": \"2022-05-04T19:50:52.000Z\",\n    \"lastUpdated\": \"2022-05-05T18:15:44.000Z\",\n    \"passwordChanged\": \"2022-04-04T16:00:22.000Z\",\n    \"type\": { … },\n    \"profile\": { … },\n    \"credentials\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.715Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":205}}42{"id":"doc-registration_inline_hook_okta_developer-7c5bbeeb","source":"documentation","title":"Registration inline hook | Okta Developer","url":"https://developer.okta.com/docs/guides/archive-registration-inline-hook/nodejs/main/","text":"Example:\n```javascript\napp.post('/registrationHook', async (request, response) => {\n  var emailRegistration = request.body.data.userProfile['email'];\n\n\n}\n```\n\nExample:\n```javascript\napp.post('/registrationHook', async (request, response) => {\n  console.log(\" \"); // for separation of logs during testing\n  console.log('Email for ' + request.body.data.userProfile['firstName'] + \" \" + request.body.data.userProfile['lastName'] + \" \" + request.body.data.userProfile['email']);\n\n  var emailRegistration = request.body.data.userProfile['email'];\n  if (emailRegistration.includes(\"example.com\")){\n\n    var returnValue = { \"commands\":[\n                          { \"type\":\"com.okta.action.update\",\n                            \"value\":{ \"registration\": \"ALLOW\"} }\n                                   ]\n                      }\n\n  }\n\n  else {\n\n    var returnValue = { \"commands\":[\n                          { \"type\":\"com.okta.action.update\",\n                            \"value\":{ \"registration\": \"DENY\"} }\n                                   ],\n                         \"error\": {\n                          \"errorSummary\":\"Incorrect email address. Please contact your admin.\",\n                          \"errorCauses\":[\n                             {\n                                \"errorSummary\":\"Only yourDomain emails can register.\",\n                                \"reason\":\"INVALID_EMAIL_DOMAIN\",\n                                \"locationType\":\"body\",\n                                \"location\":\"data.userProfile.login\",\n                                \"domain\":\"end-user\"\n                             }\n                                        ]\n                          }\n\n                      }\n  }\n\n  response.send(JSON.stringify(returnValue));\n\n  }\n)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.716Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":55,"estimatedTokens":442}}43{"id":"doc-event_hooks_concepts_okta_developer-81b920b4","source":"documentation","title":"Event hooks concepts | Okta Developer","url":"https://developer.okta.com/docs/concepts/event-hooks/","text":"Example:\n```http\nAccept: application/json\nContent-Type: application/json\nAuthorization: {key}\n```\n\nExample:\n```json\n{\n    \"eventType\": \"com.okta.event_hook\",\n    \"eventTypeVersion\": \"1.0\",\n    \"cloudEventsVersion\": \"0.1\",\n    \"source\": \"https://{yourOktaDomain}/api/v1/eventHooks/who7hphp39JoHLni81d7\",\n    \"eventId\": \"85b60edb-4263-4e13-993b-818e26201052\",\n    \"data\": {\n        \"events\": [\n            {\n                \"uuid\": \"f1d0b993-cc19-11ed-a688-db22c99ef6c4\",\n                \"published\": \"2023-03-26T21:05:32.159Z\",\n                \"eventType\": \"user.session.start\",\n                \"version\": \"0\",\n                \"displayMessage\": \"User login to Okta\",\n                \"severity\": \"INFO\",\n                \"client\": {\n                    \"userAgent\": {\n                        \"rawUserAgent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36\",\n                        \"os\": \"Mac OS X\",\n                        \"browser\": \"CHROME\"\n                    },\n                    \"zone\": \"null\",\n                    \"device\": \"Computer\",\n                    \"id\": null,\n                    \"ipAddress\": \"142.126.158.61\",\n                    \"geographicalContext\": {\n                        \"city\": \"Toronto\",\n                        \"state\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postalCode\": \"M4M\",\n                        \"geolocation\": {\n                            \"lat\": 43.6567,\n                            \"lon\": -79.34\n                        }\n                    },\n                    \"ipChain\": [\n                        {\n                            \"ip\": \"142.126.158.61\",\n                            \"geographicalContext\": {\n                                \"city\": \"Toronto\",\n                                \"state\": \"Ontario\",\n                                \"country\": \"Canada\",\n                                \"postalCode\": \"M4M\",\n                                \"geolocation\": {\n                                    \"lat\": 43.6567,\n                                    \"lon\": -79.34\n                                }\n                            },\n                            \"version\": \"V4\",\n                            \"source\": null\n                        }\n                    ]\n                },\n                \"device\": null,\n                \"actor\": {\n                    \"id\": \"00uz9fj5aT69fHVro1d6\",\n                    \"type\": \"User\",\n                    \"alternateId\": \"admin@okta.com\",\n                    \"displayName\": \"Admin Name\",\n                    \"detailEntry\": null\n                },\n                \"outcome\": {\n                    \"result\": \"SUCCESS\",\n                    \"reason\": null\n                },\n                \"target\": [\n                    {\n                        \"id\": \"lae42mkdc9i9cbw3U1d6\",\n                        \"type\": \"AuthenticatorEnrollment\",\n                        \"alternateId\": \"unknown\",\n                        \"displayName\": \"Password\",\n                        \"detailEntry\": null\n                    },\n                    {\n                        \"id\": \"0oaz9fj21WKqTeaqs1d6\",\n                        \"type\": \"AppInstance\",\n                        \"alternateId\": \"Okta Admin Console\",\n                        \"displayName\": \"Okta Admin Console\",\n                        \"detailEntry\": null\n                    }\n                ],\n                \"transaction\": {\n                    \"type\": \"WEB\",\n                    \"id\": \"ZCCzm8j2wTvzwele2NwLnwAADSc\",\n                    \"detail\": {}\n                },\n                \"debugContext\": {\n                    \"debugData\": {\n                        \"authnRequestId\": \"ZCCzlCoZuOyo8RfASqHmPAAAAc8\",\n                        \"deviceFingerprint\": \"3411ee4c591b2229f3bea251e12e0c1a\",\n                        \"requestId\": \"ZCCzm8j2wTvzwele2NwLnwAADSc\",\n                        \"dtHash\": \"f59d98b2e02f1319ef4ca651f57c36e3f25507f67dd6daf0408f753896b7e8dc\",\n                        \"origin\": \"https://{yourOktaDomain}\",\n                        \"requestUri\": \"/idp/idx/identify\",\n                        \"threatSuspected\": \"false\",\n                        \"url\": \"/idp/idx/identify?\"\n                    }\n                },\n                \"legacyEventType\": \"core.user_auth.login_success\",\n                \"authenticationContext\": {\n                    \"authenticationProvider\": null,\n                    \"credentialProvider\": null,\n                    \"credentialType\": null,\n                    \"issuer\": null,\n                    \"authenticationStep\": 0,\n                    \"externalSessionId\": \"idxyNcxVX2ESsSL0u462548Qg\",\n                    \"interface\": null\n                },\n                \"securityContext\": {\n                    \"asNumber\": null,\n                    \"asOrg\": null,\n                    \"isp\": null,\n                    \"domain\": null,\n                    \"isProxy\": null\n                },\n                \"insertionTimestamp\": null\n            }\n        ]\n    },\n    \"eventTime\": \"2023-03-28T17:03:37.093Z\",\n    \"contentType\": \"application/json\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.716Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":134,"estimatedTokens":1285}}44{"id":"doc-hooks_best_practices_guide_okta_developer-f01634fd","source":"documentation","title":"Hooks best practices guide | Okta Developer","url":"https://developer.okta.com/docs/guides/hooks-best-practices/","text":"Example:\n```http\nAccept: application/json\ncontent-type: application/json\nAuthorization: Basic YWRtaW46c3VwZXJzZWNyZXQ=\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.717Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":34}}45{"id":"doc-email_magic_links_overview_okta_developer-d02b264a","source":"documentation","title":"Email Magic Links overview | Okta Developer","url":"https://developer.okta.com/docs/guides/email-magic-links-overview/main/","text":"Example:\n```javascript\nvar searchParams = new URL(window.location.href).searchParams;\nvar signIn = new OktaSignIn({\n   baseUrl: '{yourOktaDomain}',\n   baseUrl: '{yourOktaDomain}',\n   clientId: '{yourClientId}',\n   redirectUri: '{yourSignInRedirectUrl}',\n   otp: searchParams.get('otp'),\n   state: searchParams.get('state')\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.718Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":14,"estimatedTokens":86}}46{"id":"doc-configure_device_authorization_grant_flow_okta_d-240e3a6b","source":"documentation","title":"Configure Device Authorization Grant Flow | Okta Developer","url":"https://developer.okta.com/docs/guides/device-authorization-grant/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/device/authorize \\\n  --header 'Accept: application/json' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'client_id={clientId}' \\\n  --data-urlencode 'scope=openid profile offline_access'\n```\n\nExample:\n```json\n{\n    \"device_code\": \"4ebdb4de-1f8b-4497-be01-ddfaf83c4e9c\",\n    \"user_code\": \"MHXTFRPK\",\n    \"verification_uri\": \"https://{yourOktaDomain}/activate\",\n    \"verification_uri_complete\": \"https://{yourOktaDomain}/activate?user_code=MHXTFRPK\",\n    \"expires_in\": 600,\n    \"interval\": 5\n}\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/token \\\n  --header 'Accept: application/json' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'client_id={clientId}' \\\n  --data-urlencode 'grant_type=urn:ietf:params:oauth:grant-type:device_code' \\\n  --data-urlencode 'device_code={deviceCode}'\n```\n\nExample:\n```json\n{\n  \"error\": \"authorization_pending\",\n  \"error_description\": \"The device authorization is pending. Please try again later.\"\n}\n```\n\nExample:\n```json\n{\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600,\n  \"access_token\": \"eyJraWQ...JQuDJh8g\",\n  \"scope\": \"openid profile offline_access\",\n  \"refresh_token\": \"zcLdr1FBXwtI9ej98VVVwtjDd-SmaoL06qr_UcY2tNA\",\n  \"id_token\": \"eyJraWQ...WI6KR0aQ\"\n}\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/revoke \\\n  --header 'Accept: application/json' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'token={refreshToken}' \\\n  --data-urlencode 'token_type_hint=refresh_token' \\\n  --data-urlencode 'client_id={clientId}'\n```\n\nExample:\n```bash\nHTTP/1.1 200 OK\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.720Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":70,"estimatedTokens":451}}47{"id":"doc-change_your_primary_email_address_okta_developer-ef808d0c","source":"documentation","title":"Change your primary email address | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-change-email/aspnet/main/","text":"Example:\n```csharp\nusing Okta.Sdk;\n\npublic async IUser UpdateUserEmail(IUser user, string newEmail)\n{\n    user.Profile.Email = newEmail;\n    return await user.UpdateAsync();\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.721Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":12,"estimatedTokens":49}}48{"id":"doc-add_the_identity_engine_sdk_to_your_app_okta_dev-b6cba634","source":"documentation","title":"Add the Identity Engine SDK to your app | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-add-sdk-to-your-app/main/","text":"Example:\n```shell\nimplementation \"com.okta.idx.sdk:okta-idx-java-api:{okta.idx.sdk.version}\"\n```\n\nExample:\n```java\nimport com.okta.commons.lang.Strings;\nimport com.okta.idx.sdk.api.client.Authenticator;\nimport com.okta.idx.sdk.api.client.IDXAuthenticationWrapper;\nimport com.okta.idx.sdk.api.client.ProceedContext;\nimport com.okta.idx.sdk.api.model.FormValue;\nimport com.okta.idx.sdk.api.response.AuthenticationResponse;\nimport com.okta.idx.sdk.api.response.TokenResponse;\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.721Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":123}}49{"id":"doc-sign_up_for_new_account_with_email_only_okta_dev-713cd357","source":"documentation","title":"Sign up for new account with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-new-sign-up-email/aspnet/main/","text":"Example:\n```csharp\nvar userProfile = new UserProfile();\nuserProfile.SetProperty(\"firstName\", model.FirstName);\nuserProfile.SetProperty(\"lastName\", model.LastName);\nuserProfile.SetProperty(\"email\", model.Email);\nvar registerResponse = await _idxClient.RegisterAsync(userProfile);\n```\n\nExample:\n```csharp\nif (registerResponse.AuthenticationStatus ==\n      AuthenticationStatus.AwaitingAuthenticatorEnrollment)\n{\n   Session[\"idxContext\"] = registerResponse.IdxContext;\n   Session[\"authenticators\"] = ViewModelHelper\n      .ConvertToAuthenticatorViewModelList(registerResponse.Authenticators);\n   return RedirectToAction(\"SelectAuthenticator\", \"Manage\");\n}\n\nModelState.AddModelError(string.Empty, $\"Oops! Something went wrong.\");\nreturn View(\"Register\", model);\n```\n\nExample:\n```csharp\nvar skipSelectionResponse = await _idxClient\n   .SkipAuthenticatorSelectionAsync((IIdxContext)Session[\"IdxContext\"]);\n\nswitch (skipSelectionResponse.AuthenticationStatus)\n{\n   case AuthenticationStatus.Success:\n      ClaimsIdentity identity = await AuthenticationHelper\n         .GetIdentityFromTokenResponseAsync(\n            _idxClient.Configuration, skipSelectionResponse.TokenInfo);\n      _authenticationManager.SignIn(new AuthenticationProperties(), identity);\n      return RedirectToAction(\"Index\", \"Home\");\n}\n\nreturn RedirectToAction(\"Index\", \"Home\");\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.721Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":43,"estimatedTokens":340}}50{"id":"doc-sign_in_with_email_only_okta_developer-1bd9ca66","source":"documentation","title":"Sign in with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-widget-sign-in-email/aspnet/main/","text":"Example:\n```csharp\npublic async Task<ActionResult> Callback(\n   string state, string otp, string error = null, string error_description = null)\n{\n   // handle errors if error is not null\n\n   SignInWidgetConfiguration siwConfig = Session[\"siwConfig\"] as SignInWidgetConfiguration;\n   if (siwConfig != null)\n   {\n       siwConfig.Otp = otp;\n       siwConfig.State = state;\n       return View(\"SignInWidget\", siwConfig);\n   }\n\n   return View(new MagicLinkCallbackModel {\n      Message = $\"Please enter the OTP '{otp}' in the original browser tab to finish the flow.\"\n   });\n}\n```\n\nExample:\n```csharp\npublic async Task<ActionResult> Callback(\n   string state = null, string interaction_code = null, string error = null, string error_description = null)\n{\n   try\n   {\n       IIdxContext idxContext = Session[state] as IIdxContext;\n\n       // handle errors if error is not null or interaction_code is null\n\n       Okta.Idx.Sdk.TokenResponse tokens =\n         await _idxClient.RedeemInteractionCodeAsync(idxContext, interaction_code);\n       ClaimsIdentity identity =\n         await AuthenticationHelper.GetIdentityFromTokenResponseAsync(_idxClient.Configuration, tokens);\n       _authenticationManager.SignIn(new AuthenticationProperties { IsPersistent = false }, identity);\n\n       return RedirectToAction(\"Index\", \"Home\");\n   }\n   catch (Exception ex)\n   {\n      return View(\"Error\", new InteractionCodeErrorViewModel {\n         Error = ex.GetType().Name, ErrorDescription = ex.Message\n      });\n   }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.722Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":50,"estimatedTokens":379}}51{"id":"doc-configure_direct_authentication_okta_developer-dc35f24c","source":"documentation","title":"Configure Direct Authentication | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-direct-auth-grants/eoobsv/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/primary-authenticate \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&login_hint={testuser%40example.com}&channel_hint={sms or voice}&challenge_hint=urn:okta:params:oauth:grant-type:oob'\n```\n\nExample:\n```json\n{\n      \"oob_code\": \"ftwG4adUWWIV_hJi3OjYeE7PlIVia-aN3B\",\n      \"expires_in\": 300,\n      \"channel\": \"sms\",\n      \"binding_method\": \"prompt\"\n  }\n```\n\nExample:\n```json\n{\n      \"oob_code\": \"ftpvP1LB26vCARL7EWM55cUhPA2vdQmHFp\",\n      \"expires_in\": 300,\n      \"channel\": \"voice\",\n      \"binding_method\": \"prompt\",\n  }\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid%20profile&grant_type=urn:okta:params:oauth:grant-type:oob&oob_code={oob_code}&binding_code={binding_code}'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiO[.....]Zpx4fch2n-cdQ\",\n    \"scope\": \"openid profile\",\n    \"id_token\": \"eyJraWQiOiJFVkRZ[.....]GKwhgZa3TdIfCXA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.722Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":50,"estimatedTokens":320}}52{"id":"doc-sign_in_with_email_only_okta_developer-7df18e7d","source":"documentation","title":"Sign in with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-sign-in-email/aspnet/main/","text":"Example:\n```csharp\nvar authnOptions = new AuthenticationOptions { Username = model.UserName };\nvar authnResponse = await _idxClient\n   .AuthenticateAsync(authnOptions).ConfigureAwait(false);\n```\n\nExample:\n```csharp\nswitch (authnResponse?.AuthenticationStatus)\n{\n   case AuthenticationStatus.AwaitingChallengeAuthenticatorSelection:\n      Session[\"authenticators\"] = ViewModelHelper.\n         ConvertToAuthenticatorViewModelList(authnResponse.Authenticators);\n      Session[\"isChallengeFlow\"] = true;\n      return RedirectToAction(\"SelectAuthenticator\", \"Manage\");\n\n   // other case statements\n\n   default:\n      return View(\"Login\", model);\n}\n```\n\nExample:\n```csharp\nvar authnResponse = await _idxClient.VerifyAuthenticatorAsync(\n   verifyAuthenticatorOptions, (IIdxContext)Session[\"idxContext\"]);\nSession[\"idxContext\"] = authnResponse.IdxContext;\n\nswitch (authnResponse.AuthenticationStatus)\n{\n\n   case AuthenticationStatus.Success:\n      ClaimsIdentity identity = await AuthenticationHelper\n         .GetIdentityFromTokenResponseAsync(\n            _idxClient.Configuration, authnResponse.TokenInfo);\n      _authenticationManager.SignIn(new AuthenticationProperties(), identity);\n      return RedirectToAction(\"Index\", \"Home\");\n\n   // other case statements\n}\n\nreturn View(view, model);\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.723Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":47,"estimatedTokens":326}}53{"id":"doc-configure_direct_authentication_okta_developer-0d7be3fb","source":"documentation","title":"Configure Direct Authentication | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-direct-auth-grants/coobov/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/primary-authenticate \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&login_hint={testuser%40example.com}&channel_hint=push&challenge_hint=urn:okta:params:oauth:grant-type:oob'\n```\n\nExample:\n```json\n{\n      \"oob_code\": \"ftpvP1LB26vCARL7EWM55cUhPA2vdQmHFp\",\n      \"expires_in\": 300,\n      \"interval\": 5,\n      \"channel\": \"push\",\n      \"binding_method\": \"none\"\n  }\n```\n\nExample:\n```json\n{\n      \"oob_code\": \"ftpvP1LB26vCARL7EWM55cUhPA2vdQmHFp\",\n      \"expires_in\": 300,\n      \"interval\": 5,\n      \"channel\": \"push\",\n      \"binding_method\": \"transfer\",\n      \"binding_code\": \"95\"\n  }\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid%20profile&grant_type=urn:okta:params:oauth:grant-type:oob&oob_code={oob_code}'\n```\n\nExample:\n```json\n{\n    \"error\": \"authorization_pending\",\n    \"error_description\": \"No user response received on the out-of-band authenticator yet. Continue polling to wait for a response.\"\n  }\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiO[.....]Zpx4fch2n-cdQ\",\n    \"scope\": \"openid profile\",\n    \"id_token\": \"eyJraWQiOiJFVkRZ[.....]GKwhgZa3TdIfCXA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.723Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":61,"estimatedTokens":377}}54{"id":"doc-configure_direct_authentication_okta_developer-44beeee5","source":"documentation","title":"Configure Direct Authentication | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-direct-auth-grants/aotp/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'client_id={client_id}&scope=openid%20profile&grant_type=urn:okta:params:oauth:grant-type:otp&otp={123456}&login_hint={testuser%40example.com}'\n```\n\nExample:\n```json\n{\n    \"access_token\": \"eyJhb[...]56Rg\",\n    \"expires_in\": 3600,\n    \"id_token\": \"eyJhb[...]yosFQ\",\n    \"scope\": \"openid profile\",\n    \"token_type\": \"Bearer\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.723Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":136}}55{"id":"doc-create_an_authorization_server_okta_developer-f1e0aa55","source":"documentation","title":"Create an authorization server | Okta Developer","url":"https://developer.okta.com/docs/guides/customize-authz-server/main/","text":"Example:\n```json\n{\n \"sub\": \"00uawpa4r4Zybz9On0h7\",\n \"name\": \"John Smith\",\n \"locale\": \"en-US\",\n \"ver\": 1,\n \"iss\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n \"aud\": \"fa39J40exampleXdcCwWA\",\n \"iat\": 1498328175,\n \"exp\": 1498331912,\n \"jti\": \"ID.fL39TTtvfBQoyHVkrbaqy9hWooqGOOgWau1W_y-KNyY\",\n \"amr\": [\n  \"pwd\"\n ],\n \"idp\": \"examplefz3q4Yd3Zk70h7\",\n \"nonce\": \"YsG76jo\",\n \"preferred_username\": \"john@example.com\",\n \"given_name\": \"John\",\n \"family_name\": \"Smith\",\n \"zoneinfo\": \"America/Los_Angeles\",\n \"updated_at\": 1498155598,\n \"auth_time\": 1498328174,\n \"preferred_honorific\": \"Commodore\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.724Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":28,"estimatedTokens":154}}56{"id":"doc-org_authorization_server-66be3bd6","source":"documentation","title":"Org Authorization Server","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/tag/OrgAS/","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/.well-known/openid-configuration?client_id=string'\n```\n\nExample:\n```text\n{\n  \"issuer\": \"https://{yourOktaDomain}\",\n  \"authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/authorize\",\n  \"token_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/token\",\n  \"userinfo_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/userinfo\",\n  \"registration_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/clients\",\n  \"jwks_uri\": \"https://{yourOktaDomain}/oauth2/v1/keys\",\n  \"response_types_supported\": [\n    \"code\",\n    \"id_token\",\n    \"code id_token\",\n    \"code token\",\n    \"id_token token\",\n    \"code id_token token\"\n  ],\n  \"response_modes_supported\": [\n    \"query\",\n    \"fragment\",\n    \"form_post\",\n    \"okta_post_message\"\n  ],\n  \"grant_types_supported\": [\n    \"authorization_code\",\n    \"implicit\",\n    \"refresh_token\",\n    \"password\",\n    \"urn:ietf:params:oauth:grant-type:device_code\"\n  ],\n  \"subject_types_supported\": [\n    \"public\"\n  ],\n  \"id_token_signing_alg_values_supported\": [\n    \"RS256\"\n  ],\n  \"scopes_supported\": [\n    \"openid\",\n    \"email\",\n    \"profile\",\n    \"address\",\n    \"phone\",\n    \"offline_access\",\n    \"groups\"\n  ],\n  \"token_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"claims_supported\": [\n    \"iss\",\n    \"ver\",\n    \"sub\",\n    \"aud\",\n    \"iat\",\n    \"exp\",\n    \"jti\",\n    \"auth_time\",\n    \"amr\",\n    \"idp\",\n    \"nonce\",\n    \"name\",\n    \"nickname\",\n    \"preferred_username\",\n    \"given_name\",\n    \"middle_name\",\n    \"family_name\",\n    \"email\",\n    \"email_verified\",\n    \"profile\",\n    \"zoneinfo\",\n    \"locale\",\n    \"address\",\n    \"phone_number\",\n    \"picture\",\n    \"website\",\n    \"gender\",\n    \"birthdate\",\n    \"updated_at\",\n    \"at_hash\",\n    \"c_hash\"\n  ],\n  \"code_challenge_methods_supported\": [\n    \"S256\"\n  ],\n  \"introspection_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/introspect\",\n  \"introspection_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"revocation_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/revoke\",\n  \"revocation_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"end_session_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/logout\",\n  \"request_parameter_supported\": true,\n  \"request_object_signing_alg_values_supported\": [\n    \"HS256\",\n    \"HS384\",\n    \"HS512\",\n    \"RS256\",\n    \"RS384\",\n    \"RS512\",\n    \"ES256\",\n    \"ES384\",\n    \"ES512\"\n  ],\n  \"device_authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/device/authorize\",\n  \"pushed_authorization_request_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/par\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.727Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":129,"estimatedTokens":714}}57{"id":"doc-universal_directory_okta_developer-9b29a6bb","source":"documentation","title":"Universal Directory | Okta Developer","url":"https://developer.okta.com/docs/concepts/user-profiles/","text":"Example:\n```text\nIF user.department == \"Engineering\" AND user.countryCode == \"GB\"\nTHEN Add user to \"Engineering - London\" Group\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.728Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":37}}58{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-372a035f","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/nodejs/main/","text":"Example:\n```shell\ngit clone https://github.com/okta/okta-auth-js.git\ncd okta-auth-js/samples/generated/express-embedded-sign-in-widget\n```\n\nExample:\n```yaml\nISSUER=https://oie-9102348.oktapreview.com/oauth2/default\nCLIENT_ID=0oazcjm779c5MPY0O1d6\nCLIENT_SECRET=hCBX_o3OFZMMZMOUzmXb3kHBJd-_Q4IcxIT\n```\n\nExample:\n```javascript\nmodule.exports = function () {\n  const {\n    CLIENT_ID =`{YOUR_CLIENT_ID}`,\n    CLIENT_SECRET = `{YOUR_CLIENT_SECRET}`,\n    ISSUER =`{YOUR_ISSUER}` ,\n    OKTA_TESTING_DISABLEHTTPSCHECK = false,\n  } = process.env;\n\n  ...\n```\n\nExample:\n```shell\nnpm install --save @okta/okta-auth-js\n```\n\nExample:\n```html\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```javascript\nconsole.log('renderLoginWithWidget: using interaction handle: ', interactionHandle);\n      const { clientId, redirectUri, issuer, scopes } = getConfig().webServer.oidc;\n      const widgetConfig = {\n        baseUrl: issuer.split('/oauth2')[0],\n        clientId: clientId,\n        redirectUri: redirectUri,\n        authParams: {\n          issuer: issuer,\n          scopes: scopes,\n        },\n        state,\n        interactionHandle,\n        codeChallenge,\n        codeChallengeMethod,\n      };\n```\n\nExample:\n```html\n<div id=\"content\" class=\"ui padded relaxed\">\n\n      {{>formMessages}}\n\n      <div id=\"okta-signin-widget-container\"></div>\n\n      <script type=\"text/javascript\">\n        const widgetConfig = {{{widgetConfig}}};\n        const signIn = new OktaSignIn({\n          el: '#okta-signin-widget-container',\n          ...widgetConfig\n        });\n\n         // Search for URL Parameters to see if a user is being routed to the application to recover password\n         var searchParams = new URL(window.location.href).searchParams;\n         signIn.otp = searchParams.get('otp');\n         signIn.state = searchParams.get('state');\n\n        signIn.showSignInAndRedirect()\n          .catch(err => {\n            console.log('Error happen in showSignInAndRedirect: ', err);\n          });\n      </script>\n\n</div>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.729Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":86,"estimatedTokens":558}}59{"id":"doc-set_up_okta_for_oauth_api_access_okta_developer-5fffb0ac","source":"documentation","title":"Set up Okta for OAuth API access | Okta Developer","url":"https://developer.okta.com/docs/guides/set-up-oauth-api/main/","text":"Example:\n```json\n{\n    \"aud\": \"https://{yourOktaDomain}/oauth2/v1/token\",\n    \"iss\": \"{clientId}\",\n    \"sub\": \"{clientId}\",\n    \"exp\": \"{currentPlusOneHour}\"\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/token' \\\n    --header 'Accept: application/json' \\\n    --header 'Content-Type: application/x-www-form-urlencoded' \\\n    --data-urlencode 'grant_type=client_credentials' \\\n    --data-urlencode 'scope=okta.users.read' \\\n    --data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer' \\\n    --data-urlencode 'client_assertion=eyJhbGciOiJSU....tHQ6ggOnrG-ZFRSkZc8Pw'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJ.....UfThlJ7w\",\n    \"scope\": \"okta.users.read\"\n}\n```\n\nExample:\n```json\n{{clientId}}\n```\n\nExample:\n```json\n{{clientSecret}}\n```\n\nExample:\n```bash\ncurl -X GET \"https://{yourOktaDomain}/api/v1/users\"\n    -H \"Accept: application/json\"\n    -H \"Content-Type: application/json\"\n    -H \"Authorization: Bearer eyJraWQiOiJ.....UfThlJ7w\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.730Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":50,"estimatedTokens":275}}60{"id":"doc-implement_oauth_for_okta_okta_developer-469e21fa","source":"documentation","title":"Implement OAuth for Okta | Okta Developer","url":"https://developer.okta.com/docs/guides/implement-oauth-for-okta/main/","text":"Example:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/apps/{appInstanceId}/grants' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS {api_token}' \\\n--data-raw '{\n    \"scopeId\": \"okta.users.read\",\n    \"issuer\": \"https://{yourOktaDomain}\"\n}'\n```\n\nExample:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?client_id=0oan47pj9BsB30h7&response_type=token&response_mode=fragment&scope=okta.users.read&redirect_uri={yourConfiguredRedirectUri}&nonce=UBGW&state=1234\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.730Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":143}}61{"id":"doc-configure_oauth_2_0_demonstrating_proof_of_posse-b7535bac","source":"documentation","title":"Configure OAuth 2.0 Demonstrating Proof-of-Possession | Okta Developer","url":"https://developer.okta.com/docs/guides/dpop/oktaresourceserver/main/","text":"Example:\n```json\n{\n    \"typ\": \"dpop+jwt\",\n    \"alg\": \"RS256\",\n    \"jwk\": {\n      \"kty\": \"RSA\",\n      \"e\": \"AQAB\",\n      \"use\": \"sig\",\n      \"kid\": \"XUl71vpgPXgxSTCYHbvbEHDrtj-adpVcxXH3TKjKe7w\",\n      \"alg\": \"RS256\",\n      \"n\": \"4LuWNeMa7.....zLvDWaJsF0\"\n    }\n  }\n```\n\nExample:\n```bash\nHTTP/ 1.1 400 Bad Request\nCache-Control: no-cache, no-store\nPragma: no-cache\nContent-Type: application/json\nServer: nginx\nDate: Tue, 07 Mar 2023 23:43:13 GMT\ndpop-nonce: 8NLZUUhVawx1ns8AjrC4F6j8D2phvaw7\n\n  {\n    \"error\": \"use_dpop_nonce\",\n    \"error_description\": \"Authorization server requires nonce in DPoP proof.\"\n  }\n```\n\nExample:\n```json\n{\n    \"htm\": \"POST\",\n    \"htu\": \"https://{yourOktaDomain}/oauth2/v1/token\",\n    \"iat\": 1516239022,\n    \"nonce\": \"dsGuZVkXzEdbNb8yxI3Fi-cnuzkH_E0k\",\n    \"jti\": \"123456788\"\n    }\n```\n\nExample:\n```json\n{\n      \"token_type\": \"DPoP\",\n      \"expires_in\": 3600,\n      \"access_token\": \"eyJraWQiOiJRVX.....wt7oSakPDUg\",\n      \"scope\": \"openid offline_access\",\n      \"refresh_token\": \"3CEz0Zvjs0eG9mu4w36n-c2g6YIqRfyRSsJzFAqEyzw\",\n      \"id_token\": \"eyJraWQiOiJRVXlG.....m5h5-NAtVFdwD1bg2JprEJQ\"\n  }\n```\n\nExample:\n```json\n{\n      \"ver\": 1,\n      \"jti\": \"AT.pKoLFoM7X4P4DrJBRvXaJzj9g0-naK1ChGH_oTbStYE\",\n      \"iss\": \"https://{yourOktaDomain}/oauth2\",\n      \"aud\": \"api://default\",\n      \"iat\": 1677530933,\n      \"exp\": 1677534533,\n      \"cnf\": {\n        \"jkt\": \"2HR2BW5-tan1aI6yIPHVOHwirAy4kQGWULoQHKUO0s4\"\n        },\n      \"cid\": \"0oa4dr9kzkykPrLhq0g7\",\n      \"uid\": \"00u47ijy7sRLaeSdC0g7\",\n      \"scp\": [\n        \"openid\"\n      ],\n      \"auth_time\": 1677521913,\n      \"sub\": \"user@example.com\"\n    }\n```\n\nExample:\n```json\n{\n    \"htm\": \"GET\",\n    \"htu\": \"https://{yourOktaDomain}/api/v1/{api_endpoint}\",\n    \"iat\": 1516239022,\n    \"ath\": \"fUHyO2r2Z3DZ53EsNrWBb0xWXoaNy59IiKCAqksmQEo\",\n    \"jti\": \"123456788\"\n}\n```\n\nExample:\n```bash\ncurl --request GET\n--url 'https://{yourOktaDomain}/api/v1/{api_endpoint}' \\\n--header 'Accept: application/json' \\\n--header 'Authorization: DPoP Kz~8mXK1EalY.....H-LC-1fBAo4Ljp~zsPE_NeOgxU' \\\n--header 'DPoP: eyJ0eXAiOiJkcG9w.....H8-u9gaK2-oIj8ipg' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--data 'redirect_uri=https://{yourOktaDomain}/app/' \\\n```\n\nExample:\n```bash\ncurl --request POST\n  --url 'https://{yourOktaDomain}/oauth2/v1/token' \\\n  --header 'Accept: application/json' \\\n  --header 'DPoP: eyJ0eXAiOiJkcG9w.....H8-u9gaK2-oIj8ipg' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data 'grant_type=refresh_token' \\\n  --data 'redirect_uri={redirectUri}' \\\n  --data 'client_id={clientId}' \\\n  --data 'scope=offline_access openid' \\\n  --data 'refresh_token=3CEz0Zvjs0eG9mu4w36n-c2g6YIqRfyRSsJzFAqEyzw'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"DPoP\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJRVXlGdjB.....RxDhLJievVVN5WQrAZlw\",\n    \"scope\": \"offline_access openid\",\n    \"refresh_token\": \"3CEz0Zvjs0eG9mu4w36n-c2g6YIqRfyRSsJzFAqEyzw\",\n    \"id_token\": \"eyJraWQiOiJRVX.....3SA6LTm7mA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.731Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":126,"estimatedTokens":753}}62{"id":"doc-enable_cors_okta_developer-d6b869ca","source":"documentation","title":"Enable CORS | Okta Developer","url":"https://developer.okta.com/docs/guides/enable-cors/main/","text":"Example:\n```javascript\n(async function () {\n    const baseUrl = `https://{yourOktaDomain}`;\n    try {\n        const response = await fetch(baseUrl + '/api/v1/users/me', {\n            credentials: 'include'\n        });\n        const me = await response.json();\n        console.log(me);\n    } catch (err) {\n        console.error(err);\n    }\n})();\n```\n\nExample:\n```javascript\nvar baseUrl = 'https://{yourOktaDomain}';\nvar xhr = new XMLHttpRequest();\nif (\"withCredentials\" in xhr) {\n    xhr.onerror = function() {\n      alert('Invalid URL or cross-origin request blocked.  You must explicitly add this site (' + window.location.origin + ') to the list of allowed websites in the administrator UI');\n    }\n    xhr.onload = function() {\n        alert(this.responseText);\n    };\n    xhr.open('GET', baseUrl + '/api/v1/users/me', true);\n    xhr.withCredentials = true;\n    xhr.send();\n} else {\n    alert(\"CORS is not supported for this browser!\")\n}\n```\n\nExample:\n```javascript\nvar baseUrl = 'https://{yourOktaDomain}';\n$.ajax({\n  url: baseUrl + '/api/v1/users/me',\n  type: 'GET',\n  xhrFields: { withCredentials: true },\n  accept: 'application/json'\n}).done(function(data) {\n    alert(data);\n})\n.fail(function(xhr, textStatus, error) {\n  var title, message;\n  switch (xhr.status) {\n    case 403 :\n      title = xhr.responseJSON.errorSummary;\n      message = 'Please login to your Okta organization before running the test';\n      break;\n    default :\n      title = 'Invalid URL or cross-origin request blocked';\n      message = 'You must explicitly add this site (' + window.location.origin + ') to the list of allowed websites in your administrator UI';\n      break;\n  }\n  alert(title + ': ' + message);\n});\n```\n\nExample:\n```txt\nXMLHttpRequest cannot load https://{yourOktaDomain}/api/v1/users/me.\nNo 'Access-Control-Allow-Origin' header is present on the requested resource.\nOrigin 'https://your-website.com' is therefore not allowed access.\n```\n\nExample:\n```txt\nXMLHttpRequest cannot load https://{yourOktaDomain}/api/v1/users/me.\nOrigin https://{yourOktaDomain} is not allowed by Access-Control-Allow-Origin.\n```\n\nExample:\n```txt\nCross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://{yourOktaDomain}/api/v1/users/me.\nThis can be fixed by moving the resource to the same domain or enabling CORS.\n```\n\nExample:\n```txt\nSEC7118: XMLHttpRequest for https://{yourOktaDomain}/api/v1/users/me required Cross-Origin Resource Sharing (CORS).\n\nSEC7120: Origin https://{yourOktaDomain} not found in Access-Control-Allow-Origin header.\n\nSCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.745Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":91,"estimatedTokens":665}}63{"id":"doc-common_attacks_sanitizing_data_okta_developer-829ed5b7","source":"documentation","title":"Common Attacks - Sanitizing Data | Okta Developer","url":"https://developer.okta.com/books/api-security/sanitizing/common-attacks/","text":"Example:\n```sql\nuserId = getFromInput(\"userId\");\nsql = \"SELECT * FROM Users WHERE UserId = \" + userId;\n```\n\nExample:\n```sql\nSELECT * FROM Users WHERE UserId = jcoder;\nDROP TABLE ImportantStuff\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.745Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":53}}64{"id":"doc-revoke_tokens_okta_developer-b72b685a","source":"documentation","title":"Revoke Tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/revoke-tokens/main/","text":"Example:\n```bash\nhttp --form POST https://{yourOktaDomain}/oauth2/v1/revoke \\\n  accept:application/json \\\n  authorization:'Basic ZmEz...' \\\n  cache-control:no-cache \\\n  content-type:application/x-www-form-urlencoded \\\n  token=eyJhbG... \\\n  token_type_hint=access_token\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/revoke' \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/x-www-form-urlencoded\" \\\n-H \"Authorization: Basic MG9hbmF3ZX...WwtOFRCYQ==\" \\\n-d \"token=eyJraWQiOiJ....aDvfximOQ\" \\\n-d \"token_type_hint=access_token\"\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/revoke' \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/x-www-form-urlencoded\" \\\n-H \"Authorization: Basic MG9hbmF3...FRCYQ==\" \\\n-d \"token=JSbdNrF...FOtMJw\" \\\n-d \"token_type_hint=refresh_token\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.745Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":32,"estimatedTokens":224}}65{"id":"doc-set_up_oauth_2_0_on_behalf_of_token_exchange_okt-e8899d34","source":"documentation","title":"Set up OAuth 2.0 On-Behalf-Of Token Exchange | Okta Developer","url":"https://developer.okta.com/docs/guides/set-up-token-exchange/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/default/v1/authorize?client_id={nativeAppClientId}&response_type=code&scope=openid&redirect_uri={configuredRedirectUri}&state=teststate&code_challenge_method=S256&code_challenge={code_challenge}\n```\n\nExample:\n```bash\nhttps://{configuredRedirectUri}/?code=FQGFlDO-J1jXl....7-cfYJ0KtKB8&state=testState\n```\n\nExample:\n```bash\ncurl --location --request POST \\\n    --url 'https://{yourOktaDomain}/oauth2/default/v1/token' \\\n    --header 'Accept: application/json' \\\n    --header 'Content-Type: application/x-www-form-urlencoded' \\\n    --data-urlencode 'grant_type=authorization_code' \\\n    --data-urlencode 'redirect_uri={configuredRedirectUri}' \\\n    --data-urlencode 'code=FQGFlDO-J1j.....QvabuZ7-cfYJ0KtKB8' \\\n    --data-urlencode 'code_verifier=xO5wgOEH5UA2XUdVQ88pM.....Rtc5ERKq1MeonMo8QLCSRYlDk' \\\n    --data-urlencode 'client_id={nativeAppClientId}'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJ6………X1Z4QA\",\n    \"scope\": \"openid\",\n    \"id_token\": \"eyJraWQiOiJRVXlG.....-NAtVFdwD1bg2JprEJQ\"\n  }\n```\n\nExample:\n```bash\ncurl --location --request POST \\\n  --url 'https://{yourOktaDomain}/oauth2/default/v1/token' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Basic {Base64-encoded service app client ID and client secret}' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'grant_type=urn:ietf:params:oauth:grant-type:token-exchange' \\\n  --data-urlencode 'subject_token_type=urn:ietf:params:oauth:token-type:access_token' \\\n  --data-urlencode 'subject_token={access token from the Authorization Code with PKCE flow}' \\\n  --data-urlencode 'scope=api:access:read api:access:write' \\\n  --data-urlencode 'audience=com.api.atko' \\\n```\n\nExample:\n```json\n{\n    {\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJBVj.....bsW6C8Qg\",\n    \"scope\": \"api:access:read api:access:write\",\n    \"issued_token_type\": \"urn:ietf:params:oauth:token-type:access_token\"\n     }\n}\n```\n\nExample:\n```json\n{\n  \"ver\": 1,\n  \"jti\": \"AT.nmEEZjEgPk62Us10J5aG4kUfg7DWoLIExSotYJA-rJ4\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/default\",\n  \"aud\": \"com.api.atko\",\n  \"iat\": 1675220791,\n  \"exp\": 1675224391,\n  \"cid\": \"0oa9aw62CPUnXomeU9c5\",\n  \"uid\": \"00u930ooYXgBltqbs9c5\",\n  \"scp\": [\n    \"api:access:read\",\n    \"api:access:write\"\n  ],\n  \"auth_time\": 1675220791,\n  \"sub\": \"user@example.com\"\n}\n```\n\nExample:\n```bash\ncurl --location --request POST \\\n  --url 'https://{yourOktaDomain}/oauth2/{trustedAuthServerId}/v1/token' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Basic {Base64-encoded service app client ID and client secret}' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'grant_type=urn:ietf:params:oauth:grant-type:token-exchange' \\\n  --data-urlencode 'subject_token_type=urn:ietf:params:oauth:token-type:access_token' \\\n  --data-urlencode 'subject_token={access token from the Authorization Code with PKCE flow}' \\\n  --data-urlencode 'scope=api:access:read api:access:write' \\\n  --data-urlencode 'audience=com.api.atko' \\\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJR.....ajXZIk3GryDPC8OIhLsQ\",\n    \"scope\": \"api:access:read api:access:write\",\n    \"issued_token_type\": \"urn:ietf:params:oauth:token-type:access_token\"\n}\n```\n\nExample:\n```json\n{\n  \"ver\": 1,\n  \"jti\": \"AT.cW5tnqgEKrm2Us9t2W3YXWOz1HYc3JOmA4aPYkthJJM\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/aus9awb5qgcRPB2Ey9c5\",\n  \"aud\": \"com.api.atko\",\n  \"iat\": 1675287544,\n  \"exp\": 1675291144,\n  \"cid\": \"0oa9aw62CPUnXomeU9c5\",\n  \"uid\": \"00u930ooYXgBltqbs9c5\",\n  \"scp\": [\n    \"api:access:read\",\n    \"api:access:write\"\n  ],\n  \"auth_time\": 1675287544,\n  \"sub\": \"user@example.com\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.746Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":127,"estimatedTokens":961}}66{"id":"doc-refresh_access_tokens_and_rotate_refresh_tokens_-b3739f31","source":"documentation","title":"Refresh access tokens and rotate refresh tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/refresh-tokens/main/","text":"Example:\n```json\n\"refresh_token\": {\n    \"rotation_type\": \"ROTATE\",\n    \"leeway\": 30\n}\n```\n\nExample:\n```bash\ncurl -x GET https://{yourOktaDomain}/oauth2/v1/authorize\n?client_id={clientId}\n&response_type=code\n&scope=openid%20offline_access\n&redirect_uri=ourApp%3A%2Fcallback\n&state=237c671a-29d7-11eb-adc1-0242ac120002\n```\n\nExample:\n```bash\ncurl -x GET https://{yourOktaDomain}/oauth2/v1/authorize\n?client_id={clientId}\n&response_type=code\n&scope=openid%20offline_access\n&redirect_uri=yourApp%3A%2Fcallback\n&state=4ff7dcc0-29d7-11eb-adc1-0242ac120002\n&code_challenge_method=S256\n&code_challenge=qjrzSW9gMiUgpUvqgEPE4_-8swvyCtfOVvg55o5S_es\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/token' \\\n-H 'Accept: application/json' \\\n-H 'Authorization: Basic {Base64({clientId}:{clientSecret})}' \\\n-H 'Content-Type: application/x-www-form-urlencoded' \\\n-d 'grant_type=authorization_code' \\\n-d 'redirect_uri={redirectUri}' \\\n-d 'code=iyz1Lpim4NgN6gDQdT1a9PJDVTaCdxG1wJMYiUkfGts' \\\n-d 'state=9606b31k-51d1-4dca-987c-346e3d8767n9' \\\n-d 'scope=openid offline_access'\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/token' \\\n-H 'Accept: application/json' \\\n-H 'Content-Type: application/x-www-form-urlencoded' \\\n-d 'grant_type=authorization_code' \\\n-d 'redirect_uri={redirectUri}' \\\n-d 'code=iyz1Lpim4NgN6gDQdT1a9PJDVTaCdxG1wJMYiUkfGts' \\\n-d 'client_id={clientId}' \\\n-d 'code_verifier=M25iVXpKU3puUjFjYWg3T1NDTDQtcW1rOUY5YXlwalNoc0hhaoxifmZHag'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQ.....rm8EA4osYg\",\n    \"scope\": \"offline_access openid\",\n    \"refresh_token\": \"i6mapTIAVSp2oJkgUnCACKKfZxt_H5MBLiqcybBBd04\",\n    \"id_token\": \"eyJraWQiOiJ.....XAn3ty6o-yeA\"\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/token' \\\n-H 'Accept: application/json' \\\n-H 'Authorization: Basic {Base64({clientId}:{clientSecret})}' \\\n-H 'Content-Type: application/x-www-form-urlencoded' \\\n-d 'grant_type=password' \\\n-d 'redirect_uri={redirectUri}' \\\n-d 'username=example@mailinator.com' \\\n-d 'password=a.gReAt.pasSword' \\\n-d 'scope=openid offline_access'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQi.....T2aA5ottg\",\n    \"scope\": \"offline_access openid\",\n    \"refresh_token\": \"cBMrwDsXRwPqVmCQx7I5IX0jQ9-Lc_zHOgYeab1xZm4\",\n    \"id_token\": \"eyJra.....ezAriw\"\n}\n```\n\nExample:\n```bash\nhttp --form POST https://{yourOktaDomain}/oauth2/v1/token \\\n  accept:application/json \\\n  authorization:'Basic MG9hYmg3M...' \\\n  cache-control:no-cache \\\n  content-type:application/x-www-form-urlencoded \\\n  grant_type=refresh_token \\\n  redirect_uri=http://localhost:8080 \\\n  scope=offline_access%20openid \\\n  refresh_token=MIOf-U1zQbyfa3MUfJHhvnUqIut9ClH0xjlDXGJAyqo\n```\n\nExample:\n```json\n{\n    \"access_token\": \"eyJhbGciOiJ[...]K1Sun9bA\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"scope\": \"offline_access%20openid\",\n    \"refresh_token\": \"MIOf-U1zQbyfa3MUfJHhvnUqIut9ClH0xjlDXGJAyqo\",\n    \"id_token\": \"eyJraWQiO[...]hMEJQX6WRQ\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.746Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":118,"estimatedTokens":789}}67{"id":"doc-federated_claims_with_entitlements_okta_develope-20b1314a","source":"documentation","title":"Federated claims with entitlements | Okta Developer","url":"https://developer.okta.com/docs/guides/federated-claims/main/","text":"Example:\n```json\n{\n     \"name\": \"entitlement_claim_name\",\n     \"expression\": \"appuser.entitlements.example_entitlement\"\n  }\n```\n\nExample:\n```bash\n<saml2:AttributeStatement xmlns:saml2=\"urn:oasis:names:tc:SAML:2.0:assertion\">\n            <saml2:Attribute Name=\"PermissionAssignment\" NameFormat=\"urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified\">\n                <saml2:AttributeValue xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"xs:string\">\n                    read\n                </saml2:AttributeValue>\n                <saml2:AttributeValue xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"xs:string\">\n                    write\n                </saml2:AttributeValue>\n            </saml2:Attribute>\n        </saml2:AttributeStatement>\n```\n\nExample:\n```json\n{\n  \"sub\": \"00u47ijy7sRLaeSdC0g7\",\n  \"ver\": 1,\n  \"iss\": \"https://{yourOktaDomain}\",\n  \"aud\": \"0oa87r54wrFDQZM2z0g7\",\n  \"iat\": 1731539752,\n  \"exp\": 1731543352,\n  \"jti\": \"ID.0483Z8YWB5FK6a-QQeP7JGyU1_OIGazHJ74_T2rx758\",\n  \"amr\": [\n    \"pwd\"\n  ],\n  \"idp\": \"00o47ijbqfgnq5gj00g7\",\n  \"auth_time\": 1731532528,\n  \"at_hash\": \"7bSvZiSZ_h28NNAnYEVORA\",\n  \"PermissionAssignment\": [\n    \"Read\",\n    \"Write\"\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.747Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":46,"estimatedTokens":327}}68{"id":"doc-validate_access_tokens_okta_developer-0d7dd933","source":"documentation","title":"Validate Access Tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/validate-access-tokens/dotnet/main/","text":"Example:\n```csharp\n// Replace with your authorization server URL:\nvar issuer = \"https://${yourOktaDomain}/oauth2/default\";\n\nvar configurationManager = new ConfigurationManager<OpenIdConnectConfiguration>(\n    issuer + \"/.well-known/oauth-authorization-server\",\n    new OpenIdConnectConfigurationRetriever(),\n    new HttpDocumentRetriever());\n```\n\nExample:\n```csharp\nprivate static async Task<JwtSecurityToken> ValidateToken(\n    string token,\n    string issuer,\n    IConfigurationManager<OpenIdConnectConfiguration> configurationManager,\n    CancellationToken ct = default(CancellationToken))\n{\n    if (string.IsNullOrEmpty(token)) throw new ArgumentNullException(nameof(token));\n    if (string.IsNullOrEmpty(issuer)) throw new ArgumentNullException(nameof(issuer));\n\n    var discoveryDocument = await configurationManager.GetConfigurationAsync(ct);\n    var signingKeys = discoveryDocument.SigningKeys;\n\n    var validationParameters = new TokenValidationParameters\n    {\n        RequireExpirationTime = true,\n        RequireSignedTokens = true,\n        ValidateIssuer = true,\n        ValidIssuer = issuer,\n        ValidateIssuerSigningKey = true,\n        IssuerSigningKeys = signingKeys,\n        ValidateLifetime = true,\n        // Allow for some drift in server time\n        // (a lower value is better; we recommend two minutes or less)\n        ClockSkew = TimeSpan.FromMinutes(2),\n        // See additional validation for aud below\n        ValidateAudience = false,\n    };\n\n    try\n    {\n        var principal = new JwtSecurityTokenHandler()\n            .ValidateToken(token, validationParameters, out var rawValidatedToken);\n\n        return (JwtSecurityToken)rawValidatedToken;\n    }\n    catch (SecurityTokenValidationException)\n    {\n        // Logging, etc.\n\n        return null;\n    }\n}\n```\n\nExample:\n```csharp\nvar accessToken = \"eyJh...\";\n\nvar validatedToken = await ValidateToken(accessToken, issuer, configurationManager);\n\nif (validatedToken == null)\n{\n    Console.WriteLine(\"Invalid token\");\n}\nelse\n{\n    // Additional validation...\n    Console.WriteLine(\"Token is valid!\");\n}\n```\n\nExample:\n```csharp\nValidateAudience = true,\nValidAudience = \"MyAwesomeApi\",\n```\n\nExample:\n```csharp\n// Validate alg\nvar validatedToken = await ValidateToken(accessToken, issuer, configurationManager);\nvar expectedAlg = SecurityAlgorithms.RsaSha256; //Okta uses RS256\n\nif (validatedToken.Header?.Alg == null || validatedToken.Header?.Alg != expectedAlg)\n{\n    throw new SecurityTokenValidationException(\"The alg must be RS256.\");\n}\n```\n\nExample:\n```csharp\nValidateAudience = true,\nValidAudience = \"xyz123\", // This Application's Client ID\n```\n\nExample:\n```csharp\n// Validate alg\nvar validatedToken = await ValidateToken(idToken, issuer, configurationManager);\nvar expectedAlg = SecurityAlgorithms.RsaSha256; //Okta uses RS256\n\nif (validatedToken.Header?.Alg == null || validatedToken.Header?.Alg != expectedAlg)\n{\n    throw new SecurityTokenValidationException(\"The alg must be RS256.\");\n}\n```\n\nExample:\n```csharp\nvar validatedToken = await ValidateToken(idToken, issuer, configurationManager);\n\n// Validate nonce\nvar expectedNonce = \"foobar\"; // Retrieve this from a saved cookie or other mechanism\nvar nonceMatches = validatedToken.Payload.TryGetValue(\"nonce\", out var rawNonce)\n    && rawNonce.ToString() == expectedNonce;\n\nif (!nonceMatches)\n{\n    throw new SecurityTokenValidationException(\"The nonce was invalid.\");\n}\n```\n\nExample:\n```csharp\nConsole.WriteLine(\"Token subject: {validatedToken.Subject}\");\n```\n\nExample:\n```csharp\nConsole.WriteLine(\"All claims:\");\n\nforeach (var claim in validatedToken.Claims)\n{\n    Console.WriteLine(\"{claim.Type}\\t{claim.Value}\");\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.747Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":141,"estimatedTokens":921}}69{"id":"doc-customize_tokens_returned_from_okta_with_custom_-910aebe5","source":"documentation","title":"Customize tokens returned from Okta with custom claims | Okta Developer","url":"https://developer.okta.com/docs/guides/customize-tokens-returned-from-okta/main/","text":"Example:\n```bash\ncurl -X GET\n\"https://{yourOktaDomain}/oauth2/{authorizationServerId}/v1/authorize?client_id=examplefa39J4jXdcCwWA\n&response_type=id_token\n&scope=openid\n&redirect_uri=https%3A%2F%2FyourRedirectUriHere.com\n&state=myState\n&nonce=myNonceValue\"\n```\n\nExample:\n```bash\nhttps://yourRedirectUriHere.com#id_token=eyJraWQiOiIxLVN5[...]C18aAqT0ixLKnJUR6EfJI-IAjtJDYpsHqML7mppBNhG1W55Qo3IRPAg&state=myState\n```\n\nExample:\n```bash\nhttps://yourRedirectUriHere.com#access_token=eyJraWQiOiIxLVN5M2w2dFl2VTR4MXBSLXR5cVZQWERX[...]YNXrsr1gTzD6C60h0UfLiLUhA&token_type=Bearer&expires_in=3600&scope=openid&state=myState\n```\n\nExample:\n```json\n{\n  \"sub\": \"00uixa271s6x7qt8I0h7\",\n  \"ver\": 1,\n  \"iss\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n  \"aud\": \"0oaoesxtxmPf08QHk0h7\",\n  \"iat\": 1573762864,\n  \"exp\": 1573766464,\n  \"jti\": \"ID.T-ngjNl193t6rg3_eXifJatKDhLPviN8NG02wJLWf2g\",\n  \"amr\": [\n    \"mfa\",\n    \"pwd\",\n    \"kba\"\n  ],\n  \"idp\": \"00oixa26ycdNcX0VT0h7\",\n  \"nonce\": \"myNonceValue\",\n  \"auth_time\": 1573756969,\n  \"IDTClaim\": \"eng\"\n}\n```\n\nExample:\n```json\n{\n  \"ver\": 1,\n  \"jti\": \"AT.bcNo4WsBA8QS81SOrrTxWbqMsO50lrFxlYK88DlAPiM\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/default\",\n  \"aud\": \"api://default\",\n  \"iat\": 1573775216,\n  \"exp\": 1573778816,\n  \"cid\": \"0oaoesxtxmPf08QHk0h7\",\n  \"uid\": \"00uixa271s6x7qt8I0h7\",\n  \"scp\": [\n    \"openid\"\n  ],\n  \"sub\": \"joe.user@example.com\",\n  \"ATClaim\": \"juser@gmail.com\"\n}\n```\n\nExample:\n```json\n{\n      \"name\": \"oidc_client\",\n      \"label\": \"Example App\",\n      \"signOnMode\": \"OPENID_CONNECT\",\n      \"credentials\": {\n        \"oauthClient\": {\n          \"token_endpoint_auth_method\": \"client_secret_post\"\n        }\n      },\n      \"profile\": {\n        \"label\": \"Example App\"\n        },\n      \"settings\": {\n        \"oauthClient\": {\n          \"client_uri\": null,\n          \"logo_uri\": null,\n          \"response_types\": [\n            \"token\"\n          ],\n          \"grant_types\": [\n            \"client_credentials\"\n          ],\n          \"application_type\": \"service\",\n          \"consent_method\": \"REQUIRED\",\n          \"issuer_mode\": \"ORG_URL\"\n        }\n      }\n    }\n```\n\nExample:\n```bash\ncurl -v -X POST \\\n-H \"Content-type:application/x-www-form-urlencoded\" \\\n\"https://{yourOktaDomain}/oauth2/default/v1/token\" \\\n-d \"client_id={clientId}&client_secret={clientSecret}&grant_type=client_credentials&scope=aCustomScope\"\n```\n\nExample:\n```json\n{\n    \"access_token\": \"eyJhbG[...]1LQ\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"scope\": \"aCustomScope\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.748Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":113,"estimatedTokens":630}}70{"id":"doc-webfinger_okta_developer-e9b593d9","source":"documentation","title":"WebFinger | Okta Developer","url":"https://developer.okta.com/docs/reference/api/webfinger/","text":"Example:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/jrd+json\" \\\n-H \"Content-Type: application/json\" \\\n\"https://${yourOktaDomain}/.well-known/webfinger?resource=okta:acct:joe.stormtrooper%40example.com\"\n```\n\nExample:\n```json\n{\n    \"subject\": \"okta:acct:joe.stormtrooper@example.com\",\n    \"links\": [\n        {\n            \"rel\": \"okta:idp\",\n            \"href\": \"https://{yourOktaDomain}/sso/idps/0oas562BigqDJl70T0g3\",\n            \"titles\": {\n                \"und\": \"MySamlIdp\"\n            },\n            \"properties\": {\n                \"okta:idp:metadata\": \"https://{yourOktaDomain}/api/v1/idps/0oas562BigqDJl70T0g3/metadata.xml\",\n                \"okta:idp:type\": \"SAML2\",\n                \"okta:idp:id\": \"0oas562BigqDJl70T0g3\"\n            }\n        }\n    ]\n}\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/jrd+json\" \\\n-H \"Content-Type: application/json\" \\\n\"https://${yourOktaDomain}/.well-known/webfinger?resource=okta:acct:joe.stormtrooper%example.com&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer\"\n```\n\nExample:\n```json\n{\n    \"subject\": \"okta:acct:joe.stormtrooper@example.com\",\n    \"links\": [\n        {\n            \"rel\": \"https://openid.net/specs/connect/1.0/issuer\",\n            \"href\": \"https://{yourOktaDomain}/sso/idps/OKTA\",\n            \"titles\": {\n                \"und\": \"{subdomain}\"\n            },\n            \"properties\": {\n                \"okta:idp:type\": \"OKTA\"\n            }\n        }\n    ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.748Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":57,"estimatedTokens":366}}71{"id":"doc-embedded_okta_sign_in_widget_fundamentals_okta_d-00384186","source":"documentation","title":"Embedded Okta Sign-In Widget fundamentals | Okta Developer","url":"https://developer.okta.com/docs/guides/embedded-siw/main/","text":"Example:\n```html\n<!-- Latest CDN production JavaScript and CSS -->\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest\n```\n\nExample:\n```javascript\nimport OktaSignIn from '@okta/okta-signin-widget';\nimport '@okta/okta-signin-widget/dist/css/okta-sign-in.min.css';\n```\n\nExample:\n```javascript\n<script>\n  const signIn = new OktaSignIn({baseUrl: 'https://{yourOktaDomain}'});\n\n  signIn.showSignInToGetTokens({\n    scopes: ['openid', 'profile'] // optional\n  }).then(function(tokens) {\n    // Store tokens\n  }).catch(function(error) {\n    // This function is invoked with errors the widget cannot recover from:\n    // Known errors: CONFIG_ERROR, UNSUPPORTED_BROWSER_ERROR\n  });\n</script>\n```\n\nExample:\n```html\n<head>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n</head>\n```\n\nExample:\n```html\n<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, shrink-to-fit=no\">\n    <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css\" integrity=\"sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk\" crossorigin=\"anonymous\">\n    <title>Simple Web Page</title>\n    <style>\n      h1 {\n        margin: 2em 0;\n      }\n    </style>\n    <!-- widget stuff here -->\n    <script src=\"https://global.oktacdn.com/okta-signin-widget/{widgetVersion}/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n    <link href=\"https://global.oktacdn.com/okta-signin-widget/{widgetVersion}/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n  </head>\n  <body>\n    <div class=\"container\">\n      <h1 class=\"text-center\">Simple Web Page</h1>\n      <div id=\"messageBox\" class=\"jumbotron\">\n        You are not logged in.\n      </div>\n      <!-- where the sign-in form appears -->\n      <div id=\"okta-login-container\"></div>\n      <button id=\"logout\" class=\"button\" onclick=\"logout()\" style=\"display: none\">Logout</button>\n    </div>\n    <script type=\"text/javascript\">\n      var oktaConfig = {\n        issuer: \"https://{yourOktaDomain}/oauth2/default\",\n        redirectUri: '{https://{yourAppRedirectUri} configured in your Okta OIDC app integration}',\n        clientId: \"{yourClientId}\"\n      }\n      // Search for URL Parameters to see if a user is being routed to the application to recover password\n      var searchParams = new URL(window.location.href).searchParams;\n      oktaConfig.otp = searchParams.get('otp');\n      oktaConfig.state = searchParams.get('state');\n\n     const oktaSignIn = new OktaSignIn(oktaConfig);\n\n      oktaSignIn.authClient.token.getUserInfo().then(function(user) {\n        document.getElementById(\"messageBox\").innerHTML = \"Hello, \" + user.email + \"! You are *still* logged in! :)\";\n        document.getElementById(\"logout\").style.display = 'block';\n      }, function(error) {\n        oktaSignIn.showSignInToGetTokens({\n          el: '#okta-login-container'\n        }).then(function(tokens) {\n          oktaSignIn.authClient.tokenManager.setTokens(tokens);\n          oktaSignIn.remove();\n\n          const idToken = tokens.idToken;\n          document.getElementById(\"messageBox\").innerHTML = \"Hello, \" + idToken.claims.email + \"! You just logged in! :)\";\n          document.getElementById(\"logout\").style.display = 'block';\n\n        }).catch(function(err) {\n          console.error(err);\n        });\n      });\n\n      function logout() {\n        oktaSignIn.authClient.signOut();\n        location.reload();\n      }\n    </script>\n  </body>\n</html>\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js\n```\n\nExample:\n```bash\nnpx http-server . -p 3000\n```\n\nExample:\n```javascript\nvar searchParams = new URL(window.location).searchParams;\nvar otp = searchParams.get('otp');\nvar state = searchParams.get('state');\n\nconst signIn = new OktaSignIn({\n  baseUrl: 'https://{yourOktaDomain}',\n  el: '#widget-container',\n  clientId: '{clientId}',\n  // must be in the list of redirect URIs enabled for the OIDC app\n  redirectUri: '{redirectUri}',\n  authParams: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default'\n  }\n});\n\n// Search for URL Parameters to see if a user is being routed to the application to recover password\nvar searchParams = new URL(window.location.href).searchParams;\nsignIn.otp = searchParams.get('otp');\nsignIn.state = searchParams.get('state');\n\n// SPA and Native apps using PKCE can receive tokens directly without any redirect\nsignIn.showSignInToGetTokens().then(function(tokens) {\n  // store/use tokens\n});\n```\n\nExample:\n```javascript\nfunction callMessagesApi() {\n  const accessToken = signIn.authClient.getAccessToken();\n\n  if (!accessToken) {\n    // This means that the user isn't logged in\n    return;\n  }\n\n  // Make a request using jQuery\n  $.ajax({\n    // Your API or resource server:\n    url: 'http://localhost:8080/api/messages',\n    headers: {\n      Authorization: 'Bearer ' + accessToken.accessToken\n    },\n    success: function(response) {\n      // Received messages!\n      console.log('Messages', response);\n    },\n    error: function(response) {\n      console.error(response);\n    }\n  });\n}\n```\n\nExample:\n```javascript\nfunction error(err) {\n  const errorEl = document.createElement('div');\n  errorEl.textContent = 'Error! ' + err.message;\n  document.body.insertBefore(\n    errorEl,\n    document.body.firstChild\n  );\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.748Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":189,"estimatedTokens":1402}}72{"id":"doc-dynamic_client_registration-610881fc","source":"documentation","title":"Dynamic Client Registration","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/tag/Client/","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/v1/clients?after=string&limit=20&q=string'\n```\n\nExample:\n```text\n[\n  {\n    \"client_id\": \"B6YnDUIpt6Oq354YYaNR\",\n    \"client_id_issued_at\": 1495059435,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Native client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"native\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  },\n  {\n    \"client_id\": \"etwquEhEjxqyA7HDB8lD\",\n    \"client_id_issued_at\": 1495059868,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Service client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"service\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  },\n  {\n    \"client_id\": \"l3O8MfR0eTVfLJ7jG2UB\",\n    \"client_id_issued_at\": 1495059734,\n    \"client_name\": \"Browser client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"none\",\n    \"application_type\": \"browser\"\n  },\n  {\n    \"client_id\": \"rHQoApjizqc4MGVlW5En\",\n    \"client_id_issued_at\": 1495059117,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Web client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"web\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.749Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":70,"estimatedTokens":489}}73{"id":"doc-custom_authorization_servers-c68cbdbd","source":"documentation","title":"Custom Authorization Servers","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/tag/CustomAS/","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/.well-known/oauth-authorization-server/oauth2/{authorizationServerId}?client_id=string'\n```\n\nExample:\n```text\n{\n  \"issuer\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7\",\n  \"authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/authorize\",\n  \"token_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/token\",\n  \"registration_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/clients\",\n  \"jwks_uri\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/keys\",\n  \"response_types_supported\": [\n    \"code\",\n    \"token\",\n    \"id_token\",\n    \"code id_token\",\n    \"code token\",\n    \"id_token token\",\n    \"code id_token token\"\n  ],\n  \"response_modes_supported\": [\n    \"query\",\n    \"fragment\",\n    \"form_post\",\n    \"okta_post_message\"\n  ],\n  \"grant_types_supported\": [\n    \"authorization_code\",\n    \"implicit\",\n    \"refresh_token\",\n    \"password\",\n    \"client_credentials\",\n    \"urn:ietf:params:oauth:grant-type:device_code\"\n  ],\n  \"subject_types_supported\": [\n    \"public\"\n  ],\n  \"scopes_supported\": [\n    \"okta.myAccount.email.manage\",\n    \"okta.myAccount.email.read\",\n    \"okta.myAccount.manage\",\n    \"okta.myAccount.phone.manage\",\n    \"okta.myAccount.phone.read\",\n    \"okta.myAccount.profile.manage\",\n    \"okta.myAccount.profile.read\",\n    \"okta.myAccount.read\",\n    \"openid\",\n    \"profile\",\n    \"email\",\n    \"address\",\n    \"phone\",\n    \"offline_access\",\n    \"device_sso\"\n  ],\n  \"token_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"claims_supported\": [\n    \"ver\",\n    \"jti\",\n    \"iss\",\n    \"aud\",\n    \"iat\",\n    \"exp\",\n    \"cid\",\n    \"uid\",\n    \"scp\",\n    \"sub\"\n  ],\n  \"code_challenge_methods_supported\": [\n    \"S256\"\n  ],\n  \"introspection_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/introspect\",\n  \"introspection_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"revocation_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/revoke\",\n  \"revocation_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"end_session_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/logout\",\n  \"request_parameter_supported\": true,\n  \"request_object_signing_alg_values_supported\": [\n    \"HS256\",\n    \"HS384\",\n    \"HS512\",\n    \"RS256\",\n    \"RS384\",\n    \"RS512\",\n    \"ES256\",\n    \"ES384\",\n    \"ES512\"\n  ],\n  \"device_authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/device/authorize\",\n  \"pushed_authorization_request_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/par\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.749Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":114,"estimatedTokens":728}}74{"id":"doc-integrate_okta_with_identity_verification_vendor-640d146f","source":"documentation","title":"Integrate Okta with identity verification vendors | Okta Developer","url":"https://developer.okta.com/docs/guides/idv-integration/main/","text":"Example:\n```bash\ncurl -L -X POST \"https://idv-vendor.com/oauth2/par\" \\\n  -H \"Content-Type: application/x-www-form-urlencoded\" \\\n  -d '{\n  \"response_type\": \"code\",\n  \"client_id\": \"{client_id}\",\n  \"client_secret\": \"{client_secret}\",\n  \"code_challenge\": \"{code_challenge}\",\n  \"code_challenge_method\": \"{code_challenge_method}\",\n  \"scope\": \"openid profile identity_assurance idv_flow_{idv_flow_id}\",\n  \"nonce\": \"{nonceValue}\",\n  \"claims\": {\n    \"id_token\": {\n      \"verified_claims\": [\n        {\n          \"verification\": {\n            \"trust_framework\": {\n              \"value\": \"IDV-DELEGATED\",\n              \"essential\": true\n            },\n            \"assurance_level\": {\n              \"value\": \"VERIFIED\",\n              \"essential\": true\n            }\n          },\n          \"claims\": {\n            \"given_name\": {\n              \"value\": \"{ud_mapped_first_name}\",\n              \"fuzzy\": true\n            },\n            \"family_name\": {\n              \"value\": \"{ud_mapped_last_name}\",\n              \"fuzzy\": true\n            },\n            \"middle_name\": {\n              \"value\": \"{ud_mapped_middle_name}\"\n              \"fuzzy\": true\n            },\n            \"email\": {\n              \"value\": \"{ud_mapped_email}\"\n              \"fuzzy\": true\n            },\n            \"bithdate\": {\n              \"value\": \"{ud_mapped_birthdate}\",\n              \"fuzzy\": true\n            },\n            \"phone_number\": {\n              \"value\": \"{ud_mapped_phone_number}\",\n              \"fuzzy\": true\n            },\n            \"address\": {\n              \"street_address\": {\n                \"value\": \"{ud_mapped_street_address}\",\n                \"fuzzy\": true\n              },\n              \"locality\": {\n                \"value\": \"{ud_mapped_city}\",\n                \"fuzzy\": true\n              },\n              \"region\": {\n                \"value\": \"{ud_mapped_state}\",\n                \"fuzzy\": true\n              },\n              \"postal_code\": {\n                \"value\": \"{ud_mapped_zipcode}\",\n                \"fuzzy\": true\n              },\n              \"country\": {\n                \"value\": \"{ud_mapped_country}\",\n                \"fuzzy\": true\n              }\n            }\n          }\n        }\n      ]\n    }\n  },\n  \"state\": \"{external_state_token_id}\",\n  \"login_hint\": \"{user_id}\",\n  \"redirect_uri\": \"https://{yourOktadomain}/idp/identity-verification/callback\"\n}'\n```\n\nExample:\n```json\nHTTP/1.1 400 Bad Request\n Content-Type: application/json\n Cache-Control: no-cache, no-store\n\n {\n   \"error\": \"invalid_request\",\n   \"error_description\":\n     \"The redirect_uri is not valid for the given client\"\n }\n```\n\nExample:\n```json\nHTTP/1.1 201 Created\nContent-Type: application/json\nCache-Control: no-cache, no-store\n\n{\n  \"request_uri\": \"urn:ietf:params:oauth:request_uri:6esc_11ACC5bwc014ltc14eY22c\",\n  \"expires_in\": 60\n}\n```\n\nExample:\n```bash\ncurl -L -X GET \"https://idv-vendor.com/oauth2/idv-authorize?request_uri=urn:ietf:params:oauth:request_uri:6esc_11ACC5bwc014ltc14eY22c\"\n```\n\nExample:\n```json\nHTTP/1.1 302\nGET /idp/identity-verification/callback?error=invalid_request&state=30pqcSFzH7H0bIftWwYRbNNwbpOpfY-W\n```\n\nExample:\n```bash\ncurl -L -X GET \"https://{yourOktadomain}/idp/identity-verification/callback?code=42bbe6319f0b04a43d&state=30pqcSFzH7H0bIftWwYRbNNwbpOpfY-W\"\n```\n\nExample:\n```bash\ncurl -L -X POST \"https://idv-vendor.com/token\" \\\n  -H \"Content-Type: application/x-www-form-urlencoded\" \\\n  --data-urlencode \"grant_type=authorization_code\" \\\n  --data-urlencode \"client_id={client_id}\" \\\n  --data-urlencode \"client_secret={client_secret}\" \\\n  --data-urlencode \"code=42bbe6319f0b04a43d\" \\\n  --data-urlencode \"code_verifier=72e0dca42dd87b345f0652899cba4f92e7b9bb2422f7c5a301ffae41\" \\\n  --data-urlencode \"redirect_uri=https://{yourOktadomain}/idp/identity-verification/callback\"\n```\n\nExample:\n```json\nHTTP/1.1 400 Bad Request\n Content-Type: application/json\n Cache-Control: no-cache, no-store\n\n {\n   \"error\": \"invalid_request\",\n   \"error_description\":\n     \"The request is missing a required parameter\"\n }\n```\n\nExample:\n```json\n{\n  \"id_token\": \"eyJhbGciOiJSUzI1NiIs...\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600\n}\n```\n\nExample:\n```json\n{\n  \"iss\": \"https://idv-vendor.com\",\n  \"aud\": \"0oaa7jqrhYIOAWsJ5a\",\n  \"sub\": \"01oabcdefgklgjq\",\n  \"exp\": 1715034683,\n  \"iat\": 1715031083,\n  \"nonce\": \"wc4IPgjuKWspqw-c\",\n  \"verified_claims\": [\n    {\n      \"verification\": {\n        \"assurance_level\": \"VERIFIED\",\n        \"time\": \"2025-07-16T19:26:10\",\n        \"trust_framework\": \"IDV-DELEGATED\",\n        \"verification_process\": \"session-1234567890\"\n      },\n      \"claims\": {\n        \"birthdate\": {\n          \"fuzzy\": true,\n          \"value\": \"2000-01-01\"\n        },\n        \"family_name\": {\n          \"fuzzy\": true,\n          \"value\": \"Jones\"\n        },\n        \"given_name\": {\n          \"fuzzy\": true,\n          \"value\": \"Patrick\"\n        },\n        \"phone_number\": {\n          \"fuzzy\": true,\n          \"value\": \"+15111111111\"\n        },\n        \"email\": {\n          \"fuzzy\": true,\n          \"value\": \"dan@example.com\"\n        },\n        \"address\": {\n          \"street_address\": {\n            \"fuzzy\": true,\n            \"value\": \"123 Main St\"\n          },\n          \"locality\": {\n            \"fuzzy\": true,\n            \"value\": \"Austin\"\n          },\n          \"region\": {\n            \"fuzzy\": true,\n            \"value\": \"TX\"\n          },\n          \"postal_code\": {\n            \"fuzzy\": true,\n            \"value\": \"78701\"\n          },\n          \"country\": {\n            \"fuzzy\": true,\n            \"value\": \"US\"\n          }\n      }\n    }\n  ]\n}\n```\n\nExample:\n```json\n{\n  \"iss\": \"https://idv-vendor.com\",\n  \"aud\": \"0oaa7jqrhYIOAWsJ5a\",\n  \"sub\": \"01oabcdefgklgjq\",\n  \"exp\": 1715034683,\n  \"iat\": 1715031083,\n  \"nonce\": \"wc4IPgjuKWspqw-c\",\n  \"verified_claims\": [\n    {\n      \"verification\": {\n        \"assurance_level\": \"FAILED\",\n        \"time\": \"2024-10-07T10:00:00Z\",\n        \"trust_framework\": \"IDV-DELEGATED\"\n      },\n      \"claims\": {\n        \"given_name\": {\n          \"fuzzy\": true,\n          \"value\": null\n        },\n        \"family_name\": {\n          \"fuzzy\": true,\n          \"value\": \"Jones\"\n        }\n      }\n    }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.750Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":256,"estimatedTokens":1532}}75{"id":"doc-configure_claims_sharing_okta_developer-49864796","source":"documentation","title":"Configure claims sharing | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-claims-sharing/oktaoidc/main/","text":"Example:\n```json\n{\n  \"aud\": \"ts1hjc8xh3\",\n  \"auth_time\": 1720481750,\n  \"email\": \"jon.smith@example.com\",\n  \"exp\": 1720482230,\n  \"family_name\": \"Smith\",\n  \"given_name\": \"Jon\",\n  \"iat\": 1720481810,\n  \"iss\": \"https://idp.okta.com\",\n  \"nonce\": \"3byzgGdVLxjNUQ3X73rYgQBUc_DO4AJ2\",\n  \"sub\": \"jon.smith@example.com\",\n  \"okta_auth\": {...JSON payload...}\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"0oa3q52z4b7iDGJfh806\",\n    \"issuerMode\": \"DYNAMIC\",\n    \"name\": \"Org2Org OIDC IdP\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2025-01-14T21:56:04.000Z\",\n    \"lastUpdated\": \"2025-01-17T20:01:09.000Z\",\n    \"protocol\": {\n        \"type\": \"OIDC\",\n        \"endpoints\": {\n            \"authorization\": {\n                \"url\": \"https://{yourOktaIdPDomain}/oauth2/v1/authorize\",\n                \"binding\": \"HTTP-REDIRECT\"\n            },\n            \"token\": {\n                \"url\": \"https://{yourOktaIdPDomain}/oauth2/v1/token\",\n                \"binding\": \"HTTP-POST\"\n            },\n            \"jwks\": {\n                \"url\": \"https://{yourOktaIdPDomain}/oauth2/v1/keys\",\n                \"binding\": \"HTTP-REDIRECT\"\n            }\n        },\n        \"scopes\": [\n            \"email\",\n            \"openid\",\n            \"profile\"\n        ],\n        \"issuer\": {\n            \"url\": \"https://{yourOktaIdPDomain}\"\n        },\n        \"credentials\": {\n            \"client\": {\n                \"client_id\": \"0oa3q52oiB4UBbQFT806\",\n                \"client_secret\": \"X7i4OV8UXUkrqIhr2vFs0RzeYFy3AUmXe_huqfgMw-eiw1KMUUCEs7X7YXrR_9Sq\"\n            }\n        }\n    },\n    \"policy\": {\n        \"provisioning\": {\n            \"action\": \"AUTO\",\n            \"profileMaster\": false,\n            \"groups\": {\n                \"action\": \"NONE\"\n            },\n            \"conditions\": {\n                \"deprovisioned\": {\n                    \"action\": \"NONE\"\n                },\n                \"suspended\": {\n                    \"action\": \"NONE\"\n                }\n            }\n        },\n        \"accountLink\": {\n            \"filter\": null,\n            \"action\": \"AUTO\"\n        },\n        \"subject\": {\n            \"userNameTemplate\": {\n                \"template\": \"idpuser.email\"\n            },\n            \"filter\": \"\",\n            \"matchType\": \"USERNAME\",\n            \"matchAttribute\": \"\"\n        },\n        \"maxClockSkew\": 0,\n        \"trustClaims\": true\n    },\n    \"type\": \"OIDC\"\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"0oa3q52z4b7iDGJfh806\",\n    \"issuerMode\": \"DYNAMIC\",\n    \"name\": \"Org2Org OIDC IdP\",\n    \"status\": \"ACTIVE\",\n    \"created\": null,\n    \"lastUpdated\": \"2025-01-21T19:52:54.000Z\",\n    \"protocol\": {\n        \"type\": \"OIDC\",\n        \"endpoints\": {\n            \"authorization\": {\n                \"url\": \"https://{yourOktaIdPDomain}/oauth2/v1/authorize\",\n                \"binding\": \"HTTP-REDIRECT\"\n            },\n            \"token\": {\n                \"url\": \"https://{yourOktaIdPDomain}/oauth2/v1/token\",\n                \"binding\": \"HTTP-POST\"\n            },\n            \"jwks\": {\n                \"url\": \"https://{yourOktaIdPDomain}/oauth2/v1/keys\",\n                \"binding\": \"HTTP-REDIRECT\"\n            }\n        },\n        \"scopes\": [\n            \"email\",\n            \"openid\",\n            \"profile\"\n        ],\n        \"issuer\": {\n            \"url\": \"https://{yourOktaIdPDomain}\"\n        },\n        \"credentials\": {\n            \"client\": {\n                \"client_id\": \"0oa3q52oiB4UBbQFT806\",\n                \"client_secret\": \"X7i4OV8UXUkrqIhr2vFs0RzeYFy3AUmXe_huqfgMw-eiw1KMUUCEs7X7YXrR_9Sq\"\n            }\n        }\n    },\n    \"policy\": {\n        \"provisioning\": {\n            \"action\": \"AUTO\",\n            \"profileMaster\": false,\n            \"groups\": {\n                \"action\": \"NONE\"\n            },\n            \"conditions\": {\n                \"deprovisioned\": {\n                    \"action\": \"NONE\"\n                },\n                \"suspended\": {\n                    \"action\": \"NONE\"\n                }\n            }\n        },\n        \"accountLink\": {\n            \"filter\": null,\n            \"action\": \"AUTO\"\n        },\n        \"subject\": {\n            \"userNameTemplate\": {\n                \"template\": \"idpuser.email\"\n            },\n            \"filter\": \"\",\n            \"matchType\": \"USERNAME\",\n            \"matchAttribute\": \"\"\n        },\n        \"maxClockSkew\": 0,\n        \"trustClaims\": true\n    },\n    \"type\": \"OIDC\",\n    .....\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.751Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":169,"estimatedTokens":1080}}76{"id":"doc-submit_an_integration_with_the_oin_wizard_okta_d-19ba1735","source":"documentation","title":"Submit an integration with the OIN Wizard | Okta Developer","url":"https://developer.okta.com/docs/guides/submit-oin-app/openidconnect/main/","text":"Example:\n```js\n{String.stringContains(app.environment, 'PROD') ? 'https://app.data.one/' : 'https://app-sandbox.data.one/'}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.753Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":36}}77{"id":"doc-custom_password_recovery_okta_developer-75fd2d8a","source":"documentation","title":"Custom password recovery | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-custom-pwd-recovery-mfa/nodeexpress/main/","text":"Example:\n```javascript\nrouter.get('/login/callback', async (req, res, next) => {\n  const parsedUrl = new URL(req.protocol + '://' + req.get('host') + req.originalUrl);\n  const { search, href } = parsedUrl;\n  const { state, otp } = req.query;\n  const authClient = getAuthClient(req);\n  ...\n```\n\nExample:\n```javascript\nif (authClient.idx.isEmailVerifyCallback(search)) {\n  ...\n}\n```\n\nExample:\n```javascript\nif (authClient.idx.canProceed({ state })) {\n      res.redirect(`/login?state={state}&otp={otp}`);\n      return;\n```\n\nExample:\n```javascript\nconst widgetConfig = {\n      issuer,\n      clientId,\n      redirectUri,\n      state,\n      scopes,\n      codeChallenge,\n      codeChallengeMethod,\n      otp\n    };\n    res.render('login', {\n      siwVersion: '7.48.2',\n      widgetConfig: JSON.stringify(widgetConfig),\n      selfHosted: !!process.env.SELF_HOSTED_WIDGET\n    });\n```\n\nExample:\n```html\n<script type=\"text/javascript\">\n  const widgetConfig = {{{widgetConfig}}};\n  const signIn = new OktaSignIn({\n    el: '#okta-signin-widget-container',\n    ...widgetConfig\n  });\n  signIn.showSignInAndRedirect()\n    .catch(err => {\n      console.log('Error happen in showSignInAndRedirect: ', err);\n    });\n</script>\n```\n\nExample:\n```javascript\nrouter.get('/login/callback', async (req, res, next) => {\n  const { protocol, originalUrl } = req;\n  const parsedUrl = new URL(protocol + '://' + req.get('host') + originalUrl);\n  const { search, href } = parsedUrl;\n  const authClient = getAuthClient(req);\n  ...\n```\n\nExample:\n```javascript\nconst transaction = await authClient.idx.handleEmailVerifyCallback(search);\nhandleTransaction({ req, res, next, authClient, transaction });\n```\n\nExample:\n```json\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"reset-authenticator\",\n    inputs: [\n      {\n        name: \"password\",\n        label: \"New password\",\n        secret: true,\n        ...\n      },\n    ],\n    type: \"password\",\n    authenticator: {\n      type: \"password\",\n      ...\n    },\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.753Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":98,"estimatedTokens":499}}78{"id":"doc-implement_authorization_by_grant_type_okta_devel-dc9452db","source":"documentation","title":"Implement authorization by grant type | Okta Developer","url":"https://developer.okta.com/docs/guides/implement-grant-type/clientcreds/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'authorization: Basic MG9hY...' \\\n  --header 'cache-control: no-cache' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'grant_type=client_credentials&scope=customScope'\n```\n\nExample:\n```json\n{\n    \"access_token\": \"eyJhbG[...]1LQ\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"scope\": \"customScope\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.755Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":126}}79{"id":"doc-implement_authorization_by_grant_type_okta_devel-b6372b51","source":"documentation","title":"Implement authorization by grant type | Okta Developer","url":"https://developer.okta.com/docs/guides/implement-grant-type/ropassword/main/","text":"Example:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'authorization: Basic MG9hYn...' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'grant_type=password&username=testuser1%40example.com&password=%7CmCovrlnU9oZU4qWGrhQSM%3Dyd&scope=openid'\n```\n\nExample:\n```json\n{\n    \"access_token\": \"eyJhb[...]56Rg\",\n    \"expires_in\": 3600,\n    \"id_token\": \"eyJhb[...]yosFQ\",\n    \"scope\": \"openid\",\n    \"token_type\": \"Bearer\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.755Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":137}}80{"id":"doc-create_an_app_integration_okta_developer-cc6b96b8","source":"documentation","title":"Create an app integration | Okta Developer","url":"https://developer.okta.com/docs/guides/create-an-app-integration/saml2/main/","text":"Example:\n```text\nhttp://example.com/saml/sso/example-okta-com\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.755Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":20}}81{"id":"doc-configure_single_logout_okta_developer-316e6fc0","source":"documentation","title":"Configure Single Logout | Okta Developer","url":"https://developer.okta.com/docs/guides/single-logout/saml2/main/","text":"Example:\n```json\n{ ...\n    \"signOn\": { ...\n        \"spCertificate\": {\n            \"x5c\": [\n            \"MIIDnjC...EruxrghxV\\r\\n\"\n            ]\n        },\n        \"slo\": {\n            \"enabled\": true,\n            \"issuer\": \"https://${myapp.exampleco.com}\",\n            \"logoutUrl\": \"https://${exampleSAMLAppLogoutURL}\"\n        },\n        \"participateSlo\": {\n            \"enabled\": true,\n            \"logoutRequestUrl\": \"http://${exampleSAMLAppLogoutRequestURL}\",\n            \"sessionIndexRequired\": true,\n            \"bindingType\": \"POST\"\n        }\n    }\n}\n```\n\nExample:\n```json\n{...\n    \"signOn\": {\n        \"defaultRelayState\": \"\",\n        \"ssoAcsUrl\": \"http://myapp.exampleco.com/saml/sso\",\n        \"idpIssuer\": \"http://www.okta.com/{org.externalKey}\",\n        \"audience\": \"urn:example:sp\",\n        \"recipient\": \"http://myapp.exampleco.com/saml/sso\",\n        \"destination\": \"http://myapp.exampleco.com/saml/sso\",\n        \"subjectNameIdTemplate\": \"{user.userName}\",\n        \"subjectNameIdFormat\": \"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified\",\n        \"responseSigned\": true,\n        \"assertionSigned\": true,\n        \"signatureAlgorithm\": \"RSA_SHA256\",\n        \"digestAlgorithm\": \"SHA256\",\n        \"honorForceAuthn\": true,\n        \"authnContextClassRef\": \"urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport\",\n        \"spIssuer\": \"https://myapp.exampleco.com\",\n        \"requestCompressed\": false,\n        \"attributeStatements\": [],\n        \"inlineHooks\": [],\n        \"participateSlo\": {\n            \"enabled\": true,\n            \"logoutRequestUrl\": \"http://myapp.exampleco.com/saml/slo\",\n            \"sessionIndexRequired\": true,\n            \"bindingType\": \"POST\"\n        },\n        \"spCertificate\": {\n            \"x5c\": [\n                \"MIIDnjCC ... EruxrghxV\\r\\n\"\n             ]\n        },\n        \"allowMultipleAcsEndpoints\": false,\n        \"acsEndpoints\": [],\n        \"samlSignedRequestEnabled\": false,\n        \"slo\": {\n            \"enabled\": true,\n            \"issuer\": \"https://myapp.exampleco.com\",\n            \"logoutUrl\": \"http://myapp.exampleco.com\"\n        }\n    } ...\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.756Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":70,"estimatedTokens":531}}82{"id":"doc-customize_tokens_returned_from_okta_with_a_stati-ef5cd5a4","source":"documentation","title":"Customize tokens returned from Okta with a static allowlist | Okta Developer","url":"https://developer.okta.com/docs/guides/customize-tokens-static/main/","text":"Example:\n```bash\ncurl -X GET\n\"https://{yourOktaDomain}/oauth2/{authorizationServerId}/v1/authorize?client_id=examplefa39J4jXdcCwWA\n&response_type=id_token\n&scope=openid\n&redirect_uri=https%3A%2F%2FyourRedirectUriHere.com\n&state=myState\n&nonce=myNonceValue\"\n```\n\nExample:\n```bash\nhttps://yourRedirectUriHere.com#id_token=eyJraWQiOiIxLVN5[...]C18aAqT0ixLKnJUR6EfJI-IAjtJDYpsHqML7mppBNhG1W55Qo3IRPAg&state=myState\n```\n\nExample:\n```bash\nhttps://yourRedirectUriHere.com#access_token=eyJraWQiOiIxLVN5M2w2dFl2VTR4MXBSLXR5cVZQWERX[...]YNXrsr1gTzD6C60h0UfLiLUhA&token_type=Bearer&expires_in=3600&scope=openid&state=myState\n```\n\nExample:\n```bash\ncurl --location --request GET 'https://{yourOktaDomain}/api/v1/groups' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS {api_token}'\n```\n\nExample:\n```json\n{\n    \"id\": \"00goeudyucv6CcaeV0h7\",\n    \"created\": \"2019-11-12T19:56:23.000Z\",\n    \"lastUpdated\": \"2019-11-12T19:56:23.000Z\",\n    \"lastMembershipUpdated\": \"2019-11-12T22:59:13.000Z\",\n    \"objectClass\": [\n        \"okta:user_group\"\n    ],\n    \"type\": \"OKTA_GROUP\",\n    \"profile\": {\n        \"name\": \"IT\",\n        \"description\": \"Info Tech\"\n    },\n    \"_links\": {\n        \"logo\": [\n            {\n                \"name\": \"medium\",\n                \"href\": \"https://op1static.oktacdn.com/assets/img/logos/groups/okta-medium.d7fb831bc4e7e1a5d8bd35dfaf405d9e.png\",\n                \"type\": \"image/png\"\n            },\n            {\n                \"name\": \"large\",\n                \"href\": \"https://op1static.oktacdn.com/assets/img/logos/groups/okta-large.511fcb0de9da185b52589cb14d581c2c.png\",\n                \"type\": \"image/png\"\n            }\n        ],\n        \"users\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/groups/00goeudyucv6CcaeV0h7/users\"\n        },\n        \"apps\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/groups/00goeudyucv6CcaeV0h7/apps\"\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"name\": \"oidc_client\",\n    \"label\": \"OIDC APP Name\",\n    \"status\": \"ACTIVE\",\n    \"signOnMode\": \"OPENID_CONNECT\",\n    \"credentials\": {\n        \"oauthClient\": {\n            \"autoKeyRotation\": true,\n            \"client_id\": \"0oaoesxtxmPf08QHk0h7\",\n            \"token_endpoint_auth_method\": \"client_secret_basic\"\n        }\n    },\n    \"settings\": {\n         \"oauthClient\": {\n            \"client_uri\": null,\n            \"logo_uri\": null,\n            \"redirect_uris\": [\n                \"http://yourredirecturihere.com/\"\n            ],\n            \"response_types\": [\n                \"code\",\n                \"id_token\",\n                \"token\"\n            ],\n            \"grant_types\": [\n                \"authorization_code\",\n                \"client_credentials\",\n                \"implicit\"\n            ],\n            \"application_type\": \"web\",\n             \"consent_method\": \"REQUIRED\",\n             \"issuer_mode\": \"CUSTOM_URL\"\n     }\n  },\n  \"profile\": {\n    \"groupallowlist\": [\n        \"00goeudyucv6CcaeV0h7\"\n    ]\n   }\n}\n```\n\nExample:\n```bash\ncurl -X GET \\\n\"https://{yourOktaDomain}/oauth2/v1/authorize?client_id=0oaoesxtxmPf08QHk0h7\n&response_type=id_token\n&scope=openid%20groups\n&redirect_uri=https%3A%2F%2Fexample.com\n&state=myState\n&nonce=yourNonceValue\"\n```\n\nExample:\n```bash\ncurl --location --request GET 'https://{yourOktaDomain}/oauth2/v1/authorize?client_id=0oaiw2v8m6unWCvXM0h7\n&response_type=id_token\n&scope=openid%20groups\n&redirect_uri=https%3A%2F%2Fexample.com\n&state=myState\n&nonce=yourNonceValue' \\\n--header 'Accept: application/json'\n```\n\nExample:\n```json\n{\n  \"sub\": \"00uixa271s6x7qt8I0h7\",\n  \"ver\": 1,\n  \"iss\": \"{yourOktaDomain}\",\n  \"aud\": \"0oaoesxtxmPf08QHk0h7\",\n  \"iat\": 1574117011,\n  \"exp\": 1574120611,\n  \"jti\": \"ID.LPQaDhnBhZ9wy-B5BvamTBs7E2C8EzXuLA5P8Uyx-IE\",\n  \"amr\": [\n    \"mfa\",\n    \"kba\",\n    \"pwd\"\n  ],\n  \"idp\": \"00oixa26ycdNcX0VT0h7\",\n  \"nonce\": \"yourNonceValue\",\n  \"auth_time\": 1574117006,\n  \"groups\": [\n    \"IT\"\n  ]\n}\n```\n\nExample:\n```bash\ncurl --location --request GET 'https://{yourOktaDomain}/oauth2/{authorizationServerId}/v1/authorize?client_id=0oaiw2v8m6unWCvXM0h7\n&response_type=token\n&scope=openid%20groups\n&redirect_uri=https%3A%2F%2Fexample.com\n&state=myState\n&nonce=yourNonceValue' \\\n--header 'Accept: application/json'\n```\n\nExample:\n```json\n{\n  \"ver\": 1,\n  \"jti\": \"AT.wYGuabpyb15nr9fmvb5SQGezLYYlMfvRWvUpI8mqoOY\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/ausocqn9bk00KaKbZ0h7\",\n  \"aud\": \"https://{yourOktaDomain}\",\n  \"iat\": 1574286687,\n  \"exp\": 1574290287,\n  \"cid\": \"0oaoesxtxmPf08QHk0h7\",\n  \"uid\": \"00uixa271s6x7qt8I0h7\",\n  \"scp\": [\n    \"groups\",\n    \"openid\"\n  ],\n  \"sub\": \"joe.user@example.com\",\n  \"groups\": [\n    \"IT\"\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.761Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":191,"estimatedTokens":1164}}83{"id":"doc-oin_submission_requirements_okta_developer-a5401857","source":"documentation","title":"OIN submission requirements | Okta Developer","url":"https://developer.okta.com/docs/guides/submit-app-prereq/main/","text":"Example:\n```markdown\n## Prerequisites\n\nWhen you use SAML as the SSO mode with provisioning, you need to enable a specific account plan on the app side for silent activation.\n```\n\nExample:\n```markdown\n## Supported features\n\n* SP-initiated SSO (Single Sign-On)\n* IdP-initiated SSO (through [Third-party Initiated Login](https://openid.net/specs/openid-connect-core-1_0.html#ThirdPartyInitiatedLogin))\n* Just-In-Time provisioning\n* SP-initiated SLO (Single Logout)\n\nFor more information on the listed features, visit the [Okta Glossary](https://help.okta.com/okta_help.htm?type=oie&id=ext_glossary).\n```\n\nExample:\n```markdown\n## Supported features\n\n* IdP-initiated SSO\n* SP-initiated SSO\n* Just-In-Time provisioning\n* SP-initiated SLO\n* Force authentication\n\nFor more information on the listed features, visit the [Okta Glossary](https://help.okta.com/okta_help.htm?type=oie&id=ext_glossary).\n```\n\nExample:\n```markdown\n## Supported features\n\n* Create users\n* Update user attributes\n* Deactivate users\n* Import users\n* Import groups\n* Sync password\n* Profile sourcing\n* Group push\n\nOkta can't update user attributes for Admin users. This is an API limitation.\n\nFor more information on the listed features, visit the [Okta Glossary](https://help.okta.com/okta_help.htm?type=oie&id=ext_glossary).\n```\n\nExample:\n```markdown\n### Read this before you enable SAML\n\nEnabling SAML affects all users who use this app.\nUsers won't be able to sign in through their regular sign-in page.\nThey are able to access the app through the Okta service.\n\n### Backup URL\n\n{appName} doesn't provide a backup sign-in URL where users can sign in using their regular username and password.\nIf necessary, contact {appName} Support (support@{appName}.com) to turn off SAML.\n```\n\nExample:\n```markdown\n## Configuration steps\n\n1. Copy the Metadata URL from the Okta Admin Console, SAML 2.0 Sign on methods section.\n2. Contact the {appName} support team (for example, support@{appName}.com) and request that they enable SAML 2.0 for your account. Include the \"Metadata URL\" value from the previous step.\n   The {appName} support team processes your request and provides you with an SSO ID and an encryption certificate.\n3. In your Okta Admin Console, select the Sign on tab for the {appName} SAML app, then click \"Edit\" and follow the steps below:\n   * \"Encryption Certificate\": Upload the certificate provided by {appName} support in the previous step.\n   * Scroll down to Advanced Sign-on Settings and enter your \"SSO ID\".\n   * Application username format: Select \"email\".\n   * Click \"Save\".\n4. Your SAML configuration for {appName} is complete. You can start assigning people to the app.\n```\n\nExample:\n```markdown\n## Configuration steps\n\n1. Copy the Metadata URL from the SAML 2.0 Metadata details section in the Admin Console and save this value for the next few steps.\n2. Sign in to {appName}.\n3. Navigate to Admin >  Settings > SAML SSO.\n4. Specify the following:\n   * ENABLE SAML SSO: Select \"Yes\".\n   * IDP Provider: Select \"Okta\".\n   * Metadata URL: Copy and paste the metadata URL value from step one.\n4. Click \"Save Changes\".\n\nThe SAML setting is complete in {appName}.\n```\n\nExample:\n```markdown\n## Note\n\n* Ensure that you entered the correct value in the \"Subdomain\" field under the General tab. The wrong subdomain value prevents you from authenticating through SAML to {appName}.\n\n* Since only SP-initiated flow is supported, Okta recommends hiding the app icon for users.\n\n* The following SAML attributes are supported:\n\n   | Name      | Value          |\n   | --------- | -------------- |\n   | email     | user.email     |\n   | firstName | user.firstName |\n   | lastName  | user.lastName  |\n```\n\nExample:\n```markdown\n## Note\n\nThe External ID is a required attribute, but it doesn't have a default mapping.\nThis is because some customers prefer to set it to `EmployeeNumber`, and others like to set it to `emailAddress`.\nAssign the mapping to the correct value for your organization.\n```\n\nExample:\n```markdown\n## SP-initiated SSO\n\nThe sign-in process is initiated from {yourAppPortal}.\n\n1. From your browser, navigate to the {appName} sign-in page.\n2. Enter your Okta credentials (your email and password) and click \"Sign in with Okta\".\nIf your credentials are valid, you are redirected to the {appName} dashboard.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.762Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":133,"estimatedTokens":1078}}84{"id":"doc-openid_connect_oauth_2_0-90289abc","source":"documentation","title":"OpenID Connect & OAuth 2.0","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/guides/overview/","text":"Example:\n```text\n{\n  \"alg\": \"RS256\",\n  \"kid\": \"45js03w0djwedsw\"\n}\n```\n\nExample:\n```text\n{\n  \"ver\": 1,\n  \"jti\": \"AT.0mP4JKAZX1iACIT4vbEDF7LpvDVjxypPMf0D7uX39RE\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n  \"aud\": \"https://api.example.com\",\n  \"sub\": \"00ujmkLgagxeRrAg20g3\",\n  \"iat\": 1467145094,\n  \"exp\": 1467148694,\n  \"cid\": \"nmdP1fcyvdVO11AL7ECm\",\n  \"uid\": \"00ujmkLgagxeRrAg20g3\",\n  \"scp\": [\n    \"openid\",\n    \"email\",\n    \"flights\",\n    \"custom\"\n  ],\n  \"auth_time\": 1467142021,\n  \"custom_claim\": \"CustomValue\"\n}\n```\n\nExample:\n```text\n{\n  \"ver\": 1,\n  \"sub\": \"00uid4BxXw6I6TV4m0g3\",\n  \"iss\": \"https://{yourOktaDomain}\",\n  \"aud\": \"uAaunofWkaDJxukCFeBx\",\n  \"iat\": 1449624026,\n  \"exp\": 1449627626,\n  \"amr\": [\n    \"pwd\"\n  ],\n  \"jti\": \"ID.4eAWJOCMB3SX8XewDfVR\",\n  \"auth_time\": 1449624026,\n  \"at_hash\": \"cpqKfdQA5eH891Ff5oJr_Q\",\n  \"name\" :\"John Doe\",\n  \"nickname\":\"Jimmy\",\n  \"preferred_username\": \"john.doe@example.com\",\n  \"given_name\":\"John\",\n  \"middle_name\":\"James\",\n  \"family_name\":\"Doe\",\n  \"profile\":\"https://example.com/john.doe\",\n  \"zoneinfo\":\"America/Los_Angeles\",\n  \"locale\":\"en-US\",\n  \"updated_at\":1311280970,\n  \"email\":\"john.doe@example.com\",\n  \"email_verified\":true,\n  \"address\" : { \"street_address\": \"123 Hollywood Blvd.\",\n      \"locality\": \"Los Angeles\",\n      \"region\": \"CA\",\n      \"postal_code\": \"90210\",\n      \"country\": \"US\"\n    },\n  \"phone_number\":\"+1 (425) 555-1212\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.765Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":69,"estimatedTokens":356}}85{"id":"doc-registration_inline_hook_okta_developer-d327b5cc","source":"documentation","title":"Registration inline hook | Okta Developer","url":"https://developer.okta.com/docs/guides/registration-inline-hook/nodejs/main/","text":"Example:\n```json\n{\n    \"eventId\": \"04Dmt8BcT_aEgM\",\n    \"eventTime\": \"2022-04-25T17:35:27.000Z\",\n    \"eventType\": \"com.okta.user.pre-registration\",\n    \"eventTypeVersion\": \"1.0\",\n    \"contentType\": \"application/json\",\n    \"cloudEventVersion\": \"0.1\",\n    \"source\": \"regt4qeBKU29vSoPz0g3\",\n    \"requestType\": \"self.service.registration\",\n    \"data\": {\n        \"context\": {\n            \"request\": {\n                \"method\": \"POST\",\n                \"ipAddress\": \"127.0.0.1\",\n                \"id\": \"123dummyId456\",\n                \"url\": {\n                    \"value\": \"/idp/idx/enroll/new\"\n                }\n            }\n        },\n        \"userProfile\": {\n            \"firstName\": \"Rosario\",\n            \"lastName\": \"Jones\",\n            \"login\": \"rosario.jones@example.com\",\n            \"email\": \"rosario.jones@example.com\"\n        },\n        \"action\": \"ALLOW\"\n    }\n}\n```\n\nExample:\n```json\n{\n    \"eventId\": \"vzYp_zMwQu2htIWRbNJdfw\",\n    \"eventTime\": \"2022-04-25T04:04:41.000Z\",\n    \"eventType\": \"com.okta.user.pre-registration\",\n    \"eventTypeVersion\": \"1.0\",\n    \"contentType\": \"application/json\",\n    \"cloudEventVersion\": \"0.1\",\n    \"source\": \"regt4qeBKU29vS\",\n    \"requestType\": \"progressive.profile\",\n    \"data\": {\n        \"context\": {\n            \"request\": {\n                \"method\": \"POST\",\n                \"ipAddress\": \"127.0.0.1\",\n                \"id\": \"123dummyId456\",\n                \"url\": {\n                    \"value\": \"/idp/idx/enroll/update\"\n                }\n            },\n            \"user\": {\n                \"passwordChanged\": \"2022-01-01T00:00:00.000Z\",\n                \"_links\": {\n                    \"groups\": {\n                        \"href\": \"/api/v1/users/00u48gwcu01WxvNol0g7/groups\"\n                    },\n                    \"factors\": {\n                        \"href\": \"/api/v1/users/00u48gwcu01WxvNol0g7/factors\"\n                    }\n                },\n                \"profile\": {\n                    \"firstName\": \"Rosario\",\n                    \"lastName\": \"Jones\",\n                    \"timeZone\": \"America/Los_Angeles\",\n                    \"login\": \"rosario.jones@example.com\",\n                    \"locale\": \"en_US\"\n                },\n                \"id\": \"00u48gwcu01WxvNo\"\n            }\n        },\n        \"action\": \"ALLOW\",\n        \"userProfileUpdate\": {\n            \"employeeNumber\": \"1234\"\n        }\n    }\n}\n```\n\nExample:\n```bash\nmkdir sample-app\ncd sample-app\n```\n\nExample:\n```bash\nnpm init --yes\n```\n\nExample:\n```bash\nnpm install express express-basic-auth express-validator dotenv\n```\n\nExample:\n```bash\nBASIC_AUTH_USER=admin\nBASIC_AUTH_PASSWORD=supersecret\n```\n\nExample:\n```javascript\n// server.js\n// where your node app starts\n\nrequire('dotenv').config();\nconst express = require(\"express\");\nconst app = express();\nconst { body, validationResult } = require('express-validator');\napp.use(express.json());\n\n// listen for requests :)\nconst listener = app.listen(8082, function () {\n  console.log(\"Your app is listening on port \" + listener.address().port);\n});\n```\n\nExample:\n```javascript\nconst basicAuth = require('express-basic-auth');\n\n/* HTTP Basic auth middleware for Express\n//\n// Refer to https://www.npmjs.com/package/express-basic-auth#custom-authorization for more information\n//\n// Ensure you securely store your credentials for your external service */\n\napp.use(basicAuth( { authorizer: myAuthorizer } ))\n\nfunction myAuthorizer(username, password) {\n\n    const userMatches = basicAuth.safeCompare(username, process.env.BASIC_AUTH_USER)\n    const passwordMatches = basicAuth.safeCompare(password, process.env.BASIC_AUTH_PASSWORD)\n\n    return userMatches & passwordMatches\n}\n```\n\nExample:\n```javascript\napp.post('/registrationHookSSR', async (request, response) => {\n  console.log();\n  console.log(\"Type of Okta registration hook request: \" + request.body.requestType); // confirms the type of Okta request\n  var returnValue = {};\n\n  if (request.body.requestType === 'self.service.registration') {\n    var emailRegistration = (request.body.data.userProfile['login']).split('@');\n    if (emailRegistration[1].includes('okta.com')) {\n      console.log(request.body.data.userProfile['firstName'] + \" \" + request.body.data.userProfile['lastName'] + \" \" + request.body.data.userProfile['email'] + \" has registered!\");\n      returnValue = {\n        'commands':[\n          {\n            type: 'com.okta.action.update',\n            value: {\n              'registration': 'ALLOW',\n            }\n          }\n        ]\n      };\n    } else {\n      console.log(request.body.data.userProfile['firstName'] + \" \" + request.body.data.userProfile['lastName'] + \" \" + request.body.data.userProfile['email'] + \" denied registration!\");\n        returnValue = {\n        'commands':[\n          {\n            type: 'com.okta.action.update',\n            value: {\n              'registration': 'DENY',\n            },\n          }\n        ],\n        'error': {\n          'errorSummary':'Incorrect email address. Please contact your admin.',\n          'errorCauses':[{\n            'errorSummary':'Only okta.com emails can register.',\n            'reason':'INVALID_EMAIL_DOMAIN',\n            'locationType':'body',\n            'location':'data.userProfile.email',\n            'domain':'end-user'\n          }]\n        }\n      };\n    }\n  }\n\n response.status(200).send(JSON.stringify(returnValue));\n})\n```\n\nExample:\n```bash\nnode server.js\n```\n\nExample:\n```shell\nsample-app > ./ngrok http 8082\n```\n\nExample:\n```javascript\napp.post('/registrationHookPP', async (request, response) => {\n  console.log();\n  console.log(\"Type of Okta registration hook request: \" + request.body.requestType); // confirms the type of Okta request\n  var returnValue = {};\n\n  if (request.body.requestType === 'progressive.profile') {\n    var employeeNumber = request.body.data.userProfileUpdate['employeeNumber'];\n    if (employeeNumber && employeeNumber.length === 4) {\n      console.log(request.body.data.context.user.profile['firstName'] + ' ' + request.body.data.context.user.profile['lastName']+ \" \" + request.body.data.context.user.profile['login'] + \" has updated profile!\");\n      returnValue = {\n        'commands':[\n          {\n            type: 'com.okta.user.progressive.profile.update',\n            value: {\n              'employeeNumber': employeeNumber,\n              'mobilePhone': request.body.data.userProfileUpdate['mobilePhone']\n            },\n          }\n        ]\n      };\n    } else {\n      console.log(request.body.data.context.user.profile['firstName'] + ' ' + request.body.data.context.user.profile['lastName']+ \" \" + request.body.data.context.user.profile['login'] + \" employee number is not the correct number of digits!\");\n      returnValue = {\n        'commands':[\n        ],\n        'error': {\n          'errorSummary':'Incorrect employee number. Enter an employee number with 4 digits.',\n          'errorCauses':[{\n            'errorSummary':'Employee numbers must have 4 digits.',\n            'reason':'INVALID_EMPLOYEE_NUMBER',\n            'locationType':'body',\n            'location':'data.userProfile.employeeNumber',\n            'domain':'end-user'\n          }]\n        }\n      };\n    }\n  }\n\n response.status(200).send(JSON.stringify(returnValue));\n\n})\n```\n\nExample:\n```javascript\napp.post('/registrationHookSSRandPP', async (request, response) => {\n  console.log();\n  console.log(\"Type of Okta registration hook request: \" + request.body.requestType); // confirms the type of Okta request\n  var returnValue = {};\n\n  if (request.body.requestType === 'progressive.profile') {\n    console.log('Employee number added to profile ' + request.body.data.context.user.profile['login'] + ': ' + request.body.data.userProfileUpdate['employeeNumber']);\n    var employeeNumber = request.body.data.userProfileUpdate['employeeNumber'];\n    if (employeeNumber && employeeNumber.length === 4) {\n      returnValue = {\n        'commands':[\n          {\n            type: 'com.okta.user.progressive.profile.update',\n            value: {\n              'employeeNumber': employeeNumber,\n            }\n          }\n        ]\n      };\n    } else {\n      returnValue = {\n        'commands':[\n          {\n            type: 'com.okta.action.update',\n            value: {\n              'registration': 'DENY',\n            },\n          }\n        ],\n        'error': {\n          'errorSummary':'Incorrect employee number. Enter an employee number with 4 digits.',\n          'errorCauses':[{\n            'errorSummary':'Only employee numbers with 4 digits can register.',\n            'reason':'INVALID_EMPLOYEE_NUMBER',\n            'locationType':'body',\n            'location':'data.userProfile.employeeNumber',\n            'domain':'end-user'\n          }]\n        }\n      };\n    }\n  } else {\n    var emailRegistration = (request.body.data.userProfile['email']).split('@');\n    var employeeNumberSSR = (request.body.data.userProfile['employeeNumber']);\n    if (emailRegistration[1].includes('okta.com') && (employeeNumberSSR && employeeNumberSSR.length === 4)){\n      console.log(request.body.data.userProfile['firstName'] + \" \" + request.body.data.userProfile['lastName'] + \" \" + request.body.data.userProfile['email'] + \" has registered!\");\n      returnValue = {\n        'commands':[\n          {\n            type: 'com.okta.action.update',\n            value: {\n              'registration': 'ALLOW',\n            }\n          }\n        ]\n      };\n    } else {\n      console.log(request.body.data.userProfile['firstName'] + \" \" + request.body.data.userProfile['lastName'] + \" \" + request.body.data.userProfile['email'] + \" denied registration!\");\n      returnValue = {\n        'commands':[\n          {\n            type: 'com.okta.action.update',\n            value: {\n              'registration': 'DENY',\n            },\n          }\n        ],\n        'error': {\n          'errorSummary':'Incorrect email address or employee number. Please contact your admin.',\n          'errorCauses':[{\n            'errorSummary':'To register, you must have an \"okta\" email and a 4-digit employee number.',\n            'reason':'INVALID_EMAIL_DOMAIN',\n            'locationType':'body',\n            'location':'data.userProfile.email',\n            'domain':'end-user'\n          }]\n        }\n      };\n    }\n  }\n\n  response.send(JSON.stringify(returnValue));\n})\n```\n\nExample:\n```javascript\n\"userProfileUpdate\": {\n   \"employeeNumber\": \"1234\"\n   }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.766Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":343,"estimatedTokens":2587}}86{"id":"doc-implement_authorization_by_grant_type_okta_devel-065f97be","source":"documentation","title":"Implement authorization by grant type | Okta Developer","url":"https://developer.okta.com/docs/guides/implement-grant-type/implicit/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?\n   client_id=0oabv6kx4qq6h1U5l0h7&\n   response_type=token&scope=openid&\n   redirect_uri=https%3A%2F%2Fexample.com&\n   state=state-296bc9a0-a2a2-4a57-be1a-d0e2fd9bb601&\n   nonce=foo'\n```\n\nExample:\n```bash\nhttps://{yourOktaDomain}/#access_token=eyJhb[...]erw&\n   token_type=Bearer&\n   expires_in=3600&\n   scope=openid&\n   state=state-296bc9a0-a2a2-4a57-be1a-d0e2fd9bb601\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.767Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":113}}87{"id":"doc-implement_authorization_by_grant_type_okta_devel-451f44a8","source":"documentation","title":"Implement authorization by grant type | Okta Developer","url":"https://developer.okta.com/docs/guides/implement-grant-type/saml2assert/main/","text":"Example:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/token' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Authorization: Basic MG9hb....' \\\n--data-urlencode 'grant_type=urn:ietf:params:oauth:grant-type:saml2-bearer' \\\n--data-urlencode 'scope=openid offline_access' \\\n--data-urlencode 'assertion=<Base64-encoded assertion>'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJ3UHdvd.....gkJktHWp4YeLBGRxInAP2n4OpK6g1LmtNsEZw\",\n    \"scope\": \"offline_access openid\",\n    \"refresh_token\": \"rHXv2mvdmkfp3MwqYjNzrhyuvlVGZF2WgKsYXfTq3Mk\",\n    \"id_token\": \"eyJraWQ.....h7BYbgCzQ\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.768Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":186}}88{"id":"doc-delete_a_brand-8112f2bf","source":"documentation","title":"Delete a brand","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/brands/other/deletebrand","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.768Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":36}}89{"id":"doc-list_all_domains_associated_with_a_brand-49a7b50a","source":"documentation","title":"List all domains associated with a brand","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/brands/other/listbranddomains","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/domains'\n```\n\nExample:\n```text\n{\n  \"domains\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.769Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":43}}90{"id":"doc-replace_a_brand-613dba8b","source":"documentation","title":"Replace a brand","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/brands/other/replacebrand","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"customPrivacyPolicyUrl\": \"https://www.someHost.com/privacy-policy\",\n    \"agreeToCustomPrivacyPolicy\": true,\n    \"removePoweredByOkta\": true,\n    \"name\": \"New Name For Brand\",\n    \"emailDomainId\": \"OeD114iNkrcN6aR680g4\",\n    \"locale\": \"en\",\n    \"defaultApp\": {\n      \"appInstanceId\": \"0oa114iNkrcN6aR680g4\",\n      \"appLinkName\": null,\n      \"classicApplicationUri\": null\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"bnd114iNkrcN6aR680g4\",\n  \"removePoweredByOkta\": true,\n  \"agreeToCustomPrivacyPolicy\": true,\n  \"name\": \"New Name For Brand\",\n  \"isDefault\": true,\n  \"customPrivacyPolicyUrl\": \"https://www.someHost.com/privacy-policy\",\n  \"emailDomainId\": \"OeD114iNkrcN6aR680g4\",\n  \"defaultApp\": {\n    \"appInstanceId\": \"0oa114iNkrcN6aR680g4\",\n    \"appLinkName\": null,\n    \"classicApplicationUri\": null\n  },\n  \"locale\": \"en\",\n  \"_links\": {\n    \"self\": { … },\n    \"themes\": { … },\n    \"emailDomain\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.769Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":45,"estimatedTokens":266}}91{"id":"doc-create_a_brand-2d0ce20d","source":"documentation","title":"Create a brand","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/brands/other/createbrand","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/brands \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"My Awesome Brand\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"bnd114iNkrcN6aR680g5\",\n  \"removePoweredByOkta\": false,\n  \"customPrivacyPolicyUrl\": \"null,\",\n  \"agreeToCustomPrivacyPolicy\": \"false,\",\n  \"name\": \"My Awesome Brand\",\n  \"locale\": \"en\",\n  \"defaultApp\": {\n    \"appInstanceId\": null,\n    \"appLinkName\": null,\n    \"classicApplicationUri\": null\n  },\n  \"isDefault\": false,\n  \"_links\": {\n    \"self\": { … },\n    \"themes\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.769Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":147}}92{"id":"doc-list_all_brands-d0280157","source":"documentation","title":"List all brands","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/brands/other/listbrands","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands?expand=themes&after=string&limit=20&q=string'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"bnd114iNkrcN6aR680g4\",\n    \"name\": \"Okta Default\",\n    \"isDefault\": true,\n    \"agreeToCustomPrivacyPolicy\": false,\n    \"removePoweredByOkta\": false,\n    \"customPrivacyPolicyUrl\": null,\n    \"locale\": \"en\",\n    \"emailDomainId\": \"OeD114iNkrcN6aR680g4\",\n    \"defaultApp\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.769Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":121}}93{"id":"doc-retrieve_a_brand-43a3c736","source":"documentation","title":"Retrieve a brand","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/brands/other/getbrand","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}?expand=themes'\n```\n\nExample:\n```text\n{\n  \"id\": \"bnd114iNkrcN6aR680g4\",\n  \"agreeToCustomPrivacyPolicy\": false,\n  \"removePoweredByOkta\": false,\n  \"customPrivacyPolicyUrl\": null,\n  \"name\": \"Okta Default\",\n  \"isDefault\": true,\n  \"locale\": \"en\",\n  \"emailDomainId\": \"OeD114iNkrcN6aR680g4\",\n  \"defaultApp\": {\n    \"appInstanceId\": \"0oa114iNkrcN6aR680g4\",\n    \"appLinkName\": null,\n    \"classicApplicationUri\": null\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"themes\": { … },\n    \"emailDomain\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.770Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":151}}94{"id":"doc-okta_api_error_codes_okta_developer-c101d7b8","source":"documentation","title":"Okta API Error Codes | Okta Developer","url":"https://developer.okta.com/docs/reference/error-codes/","text":"Example:\n```text\nhttps://example.com?error=access_denied&error_description=The%20resource%20owner%20or%20authorization%20server%20denied%20the%20request\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.772Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":43}}95{"id":"doc-reference_overview-2416fa00","source":"documentation","title":"Reference overview","url":"https://developer.okta.com/docs/api","text":"Example:\n```text\nhttps://{yourOktaDomain}/api/v1/users\n```\n\nExample:\n```text\nfilter=lastUpdated gt \"2013-06-01T00:00:00.000Z\"\n```\n\nExample:\n```text\nfilter=lastUpdated%20gt%20%222013-06-01T00%3A00%3A00.000Z%22\n```\n\nExample:\n```text\nUser-Agent: Mozilla/5.0 (<system-information>) <platform> (<platform-details>) <extensions>\n```\n\nExample:\n```text\n{\n    \"errorCode\": \"E0000001\",\n    \"errorSummary\": \"Api validation failed\",\n    \"errorLink\": \"E0000001\",\n    \"errorId\": \"oaeHfmOAx1iRLa0H10DeMz5fQ\",\n    \"errorCauses\": [\n        {\n            \"errorSummary\": \"login: An object with this field already exists in the current organization\"\n        }\n    ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nContent-Type: application/json\nETag: \"W/\\\"1234567890abcdef\\\"\"\n\n{\n    \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"profile\": {\n        \"firstName\": \"Isaac\",\n        \"lastName\": \"Brock\",\n        \"email\": \"isaac.brock@example.com\"\n    }\n}\n```\n\nExample:\n```text\nPOST /api/v1/users/00ub0oNGTSWTBKOLGLNR HTTP/1.1\nHost: example.okta.com\nAuthorization: <YOUR_API_KEY_HERE>\nContent-Type: application/json\nIf-Match: \"W/\\\"1234567890abcdef\\\"\"\n\n{\n    \"profile\": {\n        \"email\": \"isaac@example.com\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nlink: <https://{yourOktaDomain}/api/v1/logs?limit=20>; rel=\"self\"\nlink: <https://{yourOktaDomain}/api/v1/logs?limit=20&after=1627500044869_1>; rel=\"next\"\n```\n\nExample:\n```text\n{\n    \"_links\": {\n        \"logo\": [\n            {\n              \"name\": \"medium\",\n              \"href\": \"https://{yourOktaDomain}/assets/img/logos/groups/active_directory-medium.b3959116154f9d44bd4d0f6b2ae31ea6.png\",\n              \"type\": \"image/png\"\n            },\n            {\n              \"name\": \"large\",\n              \"href\": \"https://{yourOktaDomain}/assets/img/logos/groups/active_directory-large.0e7a58559ac90c4bbc7b33fa14018c50.png\",\n              \"type\": \"image/png\"\n            }\n         ],\n        \"self\": { \"href\": \"/example_resource\" },\n        \"next\": { \"href\": \"/page=2\" }\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nX-Okta-Request-Id: reqVy8wsvmBQN27h4soUE3ZEnA\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.773Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":102,"estimatedTokens":522}}96{"id":"doc-delete_all_email_customizations-805d86e2","source":"documentation","title":"Delete all email customizations","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/deleteallcustomizations","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.773Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}97{"id":"doc-delete_an_email_customization-a5c65887","source":"documentation","title":"Delete an email customization","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/deleteemailcustomization","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.773Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":52}}98{"id":"doc-retrieve_a_preview_of_an_email_customization-52ed3af4","source":"documentation","title":"Retrieve a preview of an email customization","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/getcustomizationpreview","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview'\n```\n\nExample:\n```text\n{\n  \"subject\": \"Welcome to Okta!\",\n  \"body\": \"<!DOCTYPE html><html><body><p>Hello, John. Click <a href=\\\"https://{yourOktaDomain}/...\\\">here</a> to activate your account.</body></html>\",\n  \"_links\": {\n    \"self\": { … },\n    \"template\": { … },\n    \"test\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.773Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":117}}99{"id":"doc-retrieve_an_email_template_default_content-4f652047","source":"documentation","title":"Retrieve an email template default content","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/getemaildefaultcontent","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/default-content?language=string'\n```\n\nExample:\n```text\n{\n  \"subject\": \"Welcome to ${org.name}!\",\n  \"body\": \"<!DOCTYPE html><html><body><p>Hello, ${user.profile.firstName}. Click <a href=\\\"${activationLink}\\\">here</a> to activate your account.</body></html>\",\n  \"_links\": {\n    \"self\": { … },\n    \"template\": { … },\n    \"preview\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.773Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":120}}100{"id":"doc-list_all_email_templates-a91d2c4c","source":"documentation","title":"List all email templates","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/listemailtemplates","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email?after=string&limit=20&expand=settings'\n```\n\nExample:\n```text\n[\n  {\n    \"name\": \"UserActivation\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.774Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":67}}101{"id":"doc-retrieve_an_email_template-317241d5","source":"documentation","title":"Retrieve an email template","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/getemailtemplate","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}?expand=settings'\n```\n\nExample:\n```text\n{\n  \"name\": \"UserActivation\",\n  \"_embedded\": {\n    \"customizationCount\": 0,\n    \"settings\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"settings\": { … },\n    \"defaultContent\": { … },\n    \"customizations\": { … },\n    \"test\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.774Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":104}}102{"id":"doc-create_an_email_customization-36d56532","source":"documentation","title":"Create an email customization","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/createemailcustomization","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"language\": \"fr\",\n    \"subject\": \"Bienvenue dans ${org.name}!\",\n    \"body\": \"<!DOCTYPE html><html><body><p>Bonjour ${user.profile.firstName}. <a href=\\\"${activationLink}\\\">Activer le compte</a></p></body></html>\",\n    \"isDefault\": false\n  }'\n```\n\nExample:\n```text\n{\n  \"language\": \"fr\",\n  \"subject\": \"Bienvenue dans ${org.name}!\",\n  \"body\": \"<!DOCTYPE html><html><body><p>Bonjour ${user.profile.firstName}. <a href=\\\"${activationLink}\\\">Activer le compte</a></p></body></html>\",\n  \"isDefault\": false,\n  \"id\": \"oel11u6DqUiMbQkpl0g4\",\n  \"created\": \"2021-11-09T20:38:10.000Z\",\n  \"lastUpdated\": \"2021-11-11T20:38:10.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"template\": { … },\n    \"preview\": { … },\n    \"test\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.774Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":232}}103{"id":"doc-retrieve_an_email_customization-b21f0cc7","source":"documentation","title":"Retrieve an email customization","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/getemailcustomization","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}'\n```\n\nExample:\n```text\n{\n  \"language\": \"en\",\n  \"isDefault\": true,\n  \"subject\": \"Welcome to ${org.name}!\",\n  \"body\": \"<!DOCTYPE html><html><body><p>Hello, ${user.profile.firstName}. Click <a href=\\\"${activationLink}\\\">here</a> to activate your account.</body></html>\",\n  \"id\": \"oel11u6DqUiMbQkpl0g4\",\n  \"created\": \"2021-11-09T20:38:10.000Z\",\n  \"lastUpdated\": \"2021-11-11T20:38:10.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"template\": { … },\n    \"preview\": { … },\n    \"test\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.774Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":165}}104{"id":"doc-list_all_email_customizations-451ce47b","source":"documentation","title":"List all email customizations","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/listemailcustomizations","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"language\": \"en\",\n    \"isDefault\": true,\n    \"subject\": \"Welcome to ${org.name}!\",\n    \"body\": \"<!DOCTYPE html><html><body><p>Hello, ${user.profile.firstName}. Click <a href=\\\"${activationLink}\\\">here</a> to activate your account.</body></html>\",\n    \"id\": \"oel11u6DqUiMbQkpl0g4\",\n    \"created\": \"2021-11-09T20:38:10.000Z\",\n    \"lastUpdated\": \"2021-11-11T20:38:10.000Z\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.774Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":151}}105{"id":"doc-replace_an_email_customization-26a374e3","source":"documentation","title":"Replace an email customization","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/replaceemailcustomization","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"language\": \"fr\",\n    \"subject\": \"Bienvenue dans ${org.name}!\",\n    \"body\": \"<!DOCTYPE html><html><body><p>Bonjour ${user.profile.firstName}. <a href=\\\"${activationLink}\\\">Activer le compte</a></p></body></html>\",\n    \"isDefault\": false\n  }'\n```\n\nExample:\n```text\n{\n  \"language\": \"fr\",\n  \"subject\": \"Bienvenue dans ${org.name}!\",\n  \"body\": \"<!DOCTYPE html><html><body><p>Bonjour ${user.profile.firstName}. <a href=\\\"${activationLink}\\\">Activer le compte</a></p></body></html>\",\n  \"isDefault\": false,\n  \"id\": \"oel11u6DqUiMbQkpl0g4\",\n  \"created\": \"2021-11-09T20:38:10.000Z\",\n  \"lastUpdated\": \"2021-11-11T20:38:10.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"template\": { … },\n    \"preview\": { … },\n    \"test\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.775Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":236}}106{"id":"doc-create_an_sms_template-6e976522","source":"documentation","title":"Create an SMS template","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/template/other/createsmstemplate","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/templates/sms \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Custom\",\n    \"type\": \"SMS_VERIFY_CODE\",\n    \"template\": \"${org.name}: your verification code is ${code}\",\n    \"translations\": {\n      \"es\": \"${org.name}: el código de verificación es ${code}\",\n      \"fr\": \"${org.name}: votre code de vérification est ${code}\",\n      \"it\": \"${org.name}: il codice di verifica è ${code}\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"6NQUJ5yR3bpgEiYmq8IC\",\n  \"name\": \"Custom\",\n  \"type\": \"SMS_VERIFY_CODE\",\n  \"template\": \"${org.name}: your verification code is ${code}\",\n  \"translations\": {\n    \"es\": \"${org.name}: el código de verificación es ${code}\",\n    \"fr\": \"${org.name}: votre code de vérification est ${code}\",\n    \"it\": \"${org.name}: il codice di verifica è ${code}\"\n  },\n  \"created\": \"2024-04-25T17:35:02.000Z\",\n  \"lastUpdated\": \"2024-04-25T17:35:02.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.775Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":241}}107{"id":"doc-send_a_test_email-46e2b3e8","source":"documentation","title":"Send a test email","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/sendtestemail","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/test?language=string'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.775Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":48}}108{"id":"doc-delete_an_sms_template-ed11cf3e","source":"documentation","title":"Delete an SMS template","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/template/other/deletesmstemplate","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/templates/sms/6NQUJ5yR3bpgEiYmq8IC\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.775Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":40}}109{"id":"doc-retrieve_the_email_template_settings-4b321fd4","source":"documentation","title":"Retrieve the email template settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/getemailsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/settings'\n```\n\nExample:\n```text\n{\n  \"recipients\": \"ALL_USERS\",\n  \"_links\": {\n    \"self\": { … },\n    \"template\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.775Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":65}}110{"id":"doc-replace_an_sms_template-9789ce06","source":"documentation","title":"Replace an SMS template","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/template/other/replacesmstemplate","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/templates/sms/6NQUJ5yR3bpgEiYmq8IC \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Custom\",\n    \"type\": \"SMS_VERIFY_CODE\",\n    \"template\": \"${org.name}: your verification code is ${code}\",\n    \"translations\": {\n      \"es\": \"${org.name}: el código de verificación es ${code}\",\n      \"fr\": \"${org.name}: votre code de vérification est ${code}\",\n      \"it\": \"${org.name}: il codice di verifica è ${code}\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"6NQUJ5yR3bpgEiYmq8IC\",\n  \"name\": \"Custom\",\n  \"type\": \"SMS_VERIFY_CODE\",\n  \"template\": \"${org.name}: your verification code is ${code}\",\n  \"translations\": {\n    \"es\": \"${org.name}: el código de verificación es ${code}\",\n    \"fr\": \"${org.name}: votre code de vérification est ${code}\",\n    \"it\": \"${org.name}: il codice di verifica è ${code}\"\n  },\n  \"created\": \"2024-04-25T17:35:02.000Z\",\n  \"lastUpdated\": \"2024-04-25T17:35:02.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.775Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":246}}111{"id":"doc-list_all_sms_templates-7d0ea9d2","source":"documentation","title":"List all SMS templates","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/template/other/listsmstemplates","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/templates/sms?templateType=SMS_VERIFY_CODE'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"6NQUJ5yR3bpgEiYmq8IC\",\n    \"name\": \"Custom\",\n    \"type\": \"SMS_VERIFY_CODE\",\n    \"template\": \"${org.name}: your verification code is ${code}\",\n    \"translations\": { … },\n    \"created\": \"2024-04-25T17:35:02.000Z\",\n    \"lastUpdated\": \"2024-04-25T17:35:02.000Z\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.775Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":109}}112{"id":"doc-replace_the_email_template_settings-909865e2","source":"documentation","title":"Replace the email template settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/replaceemailsettings","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/settings' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"recipients\": \"ALL_USERS\"\n  }'\n```\n\nExample:\n```text\n{\n  \"recipients\": \"ALL_USERS\",\n  \"_links\": {\n    \"self\": { … },\n    \"template\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.776Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":87}}113{"id":"doc-retrieve_an_sms_template-199cfd41","source":"documentation","title":"Retrieve an SMS template","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/template/other/getsmstemplate","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/templates/sms/6NQUJ5yR3bpgEiYmq8IC\n```\n\nExample:\n```text\n{\n  \"id\": \"6NQUJ5yR3bpgEiYmq8IC\",\n  \"name\": \"Custom\",\n  \"type\": \"SMS_VERIFY_CODE\",\n  \"template\": \"${org.name}: your verification code is ${code}\",\n  \"translations\": {\n    \"es\": \"${org.name}: el código de verificación es ${code}\",\n    \"fr\": \"${org.name}: votre code de vérification est ${code}\",\n    \"it\": \"${org.name}: il codice di verifica è ${code}\"\n  },\n  \"created\": \"2024-04-25T17:35:02.000Z\",\n  \"lastUpdated\": \"2024-04-25T17:35:02.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.776Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":147}}114{"id":"doc-retrieve_a_preview_of_the_email_template_default-cbd6a2ef","source":"documentation","title":"Retrieve a preview of the email template default content","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtemplates/other/getemaildefaultpreview","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview?language=string'\n```\n\nExample:\n```text\n{\n  \"subject\": \"Welcome to Okta!\",\n  \"body\": \"<!DOCTYPE html><html><body><p>Hello, John. Click <a href=\\\"https://{yourOktaDomain}/...\\\">here</a> to activate your account.</body></html>\",\n  \"_links\": {\n    \"self\": { … },\n    \"template\": { … },\n    \"defaultContent\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.776Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":119}}115{"id":"doc-update_an_sms_template-01aa222e","source":"documentation","title":"Update an SMS template","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/template/other/updatesmstemplate","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/templates/sms/6NQUJ5yR3bpgEiYmq8IC \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"translations\": {\n      \"de\": \"${org.name}: ihre bestätigungscode ist ${code}.\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"6NQUJ5yR3bpgEiYmq8IC\",\n  \"name\": \"Custom\",\n  \"type\": \"SMS_VERIFY_CODE\",\n  \"template\": \"${org.name}: your verification code is ${code}\",\n  \"translations\": {\n    \"es\": \"${org.name}: el código de verificación es ${code}\",\n    \"fr\": \"${org.name}: votre code de vérification est ${code}\",\n    \"it\": \"${org.name}: il codice di verifica è ${code}\",\n    \"de\": \"${org.name}: ihre bestätigungscode ist ${code}.\"\n  },\n  \"created\": \"2024-04-25T17:35:02.000Z\",\n  \"lastUpdated\": \"2024-04-25T17:35:02.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.776Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":199}}116{"id":"doc-core_okta_api_okta_developer-58c0df06","source":"documentation","title":"Core Okta API | Okta Developer","url":"https://developer.okta.com/docs/reference/core-okta-api/","text":"Example:\n```http\nhttps://${yourOktaDomain}/api/v1/users\n```\n\nExample:\n```text\nYYYY-MM-DDTHH:mm:ss.SSSZ\n```\n\nExample:\n```json\n{\n    \"errorCode\": \"E0000001\",\n    \"errorSummary\": \"Api validation failed\",\n    \"errorLink\": \"E0000001\",\n    \"errorId\": \"oaeHfmOAx1iRLa0H10DeMz5fQ\",\n    \"errorCauses\": [\n        {\n            \"errorSummary\": \"login: An object with this field already exists in the current organization\"\n        }\n    ]\n}\n```\n\nExample:\n```json\nAuthorization: SSWS 00QCjAl4MlV-WPXM...0HmjFx-vbGua\n```\n\nExample:\n```http\nHTTP/1.1 200 OK\nlink: <https://{yourOktaDomain}/api/v1/logs?limit=20>; rel=\"self\"\nlink: <https://{yourOktaDomain}/api/v1/logs?limit=20&after=1627500044869_1>; rel=\"next\"\n```\n\nExample:\n```text\nfilter=profile.firstName Eq \"john\"\n\nfilter=profile.firstName eq \"john\"\n```\n\nExample:\n```json\n{\n    \"_links\": {\n        \"logo\": [\n            {\n              \"name\": \"medium\",\n              \"href\": \"https://{yourOktaDomain}/assets/img/logos/groups/active_directory-medium.b3959116154f9d44bd4d0f6b2ae31ea6.png\",\n              \"type\": \"image/png\"\n            },\n            {\n              \"name\": \"large\",\n              \"href\": \"https://{yourOktaDomain}/assets/img/logos/groups/active_directory-large.0e7a58559ac90c4bbc7b33fa14018c50.png\",\n              \"type\": \"image/png\"\n            }\n         ],\n        \"self\": { \"href\": \"/example_resource\" },\n        \"next\": { \"href\": \"/page=2\" }\n    }\n}\n```\n\nExample:\n```http\nHTTP/1.1 200 OK\nX-Okta-Request-Id: reqVy8wsvmBQN27h4soUE3ZEnA\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.779Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":73,"estimatedTokens":378}}117{"id":"doc-retrieve_a_user-1f3812c5","source":"documentation","title":"Retrieve a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/other/getuser","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/{id}' \\\n  -H 'Content-Type: application/json; okta-response=omitCredentials,omitCredentialsLinks'\n```\n\nExample:\n```text\n{\n  \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2013-06-24T16:39:18.000Z\",\n  \"activated\": \"2013-06-24T16:39:19.000Z\",\n  \"statusChanged\": \"2013-06-24T16:39:19.000Z\",\n  \"lastLogin\": \"2013-06-24T17:39:19.000Z\",\n  \"lastUpdated\": \"2013-07-02T21:36:25.344Z\",\n  \"passwordChanged\": \"2013-07-02T21:36:25.344Z\",\n  \"profile\": {\n    \"login\": \"isaac.brock@example.com\",\n    \"firstName\": \"Isaac\",\n    \"lastName\": \"Brock\",\n    \"nickName\": \"issac\",\n    \"displayName\": \"Isaac Brock\",\n    \"email\": \"isaac.brock@example.com\",\n    \"secondEmail\": \"isaac@example.org\",\n    \"profileUrl\": \"http://www.example.com/profile\",\n    \"preferredLanguage\": \"en-US\",\n    \"userType\": \"Employee\",\n    \"organization\": \"Okta\",\n    \"title\": \"Director\",\n    \"division\": \"R&D\",\n    \"department\": \"Engineering\",\n    \"costCenter\": \"10\",\n    \"employeeNumber\": \"187\",\n    \"mobilePhone\": \"+1-555-415-1337\",\n    \"primaryPhone\": \"+1-555-514-1337\",\n    \"streetAddress\": \"301 Brannan St.\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"zipCode\": \"94107\",\n    \"countryCode\": \"US\"\n  },\n  \"credentials\": {\n    \"password\": {},\n    \"recovery_question\": { … },\n    \"provider\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.779Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":55,"estimatedTokens":354}}118{"id":"doc-submit_an_integration_with_the_oin_wizard_okta_d-f584e426","source":"documentation","title":"Submit an integration with the OIN Wizard | Okta Developer","url":"https://developer.okta.com/docs/guides/submit-oin-app/scim/main/","text":"Example:\n```js\n'https://' + app.subdomain + '.example.org/strawberry/scim2/'`\n```\n\nExample:\n```js\n'https://' + (app.region == 'us' ? 'myfruit' : 'myveggie') + '.example.com/strawberry/oauth/token'\n```\n\nExample:\n```js\n(String.len(app.baseUrl) == 0 ? 'https://fruit.example.com/scim2/' : app.baseUrl) + 'v1/oauth_token'\n```\n\nExample:\n```js\n(String.stringContains(app.environment,\"PROD\") ? 'https://fruit.example.com' : 'https://fruit-sandbox.example.com') + '/v1/oauth2/token'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.782Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":123}}119{"id":"doc-submit_an_integration_with_the_oin_wizard_okta_d-46430b44","source":"documentation","title":"Submit an integration with the OIN Wizard | Okta Developer","url":"https://developer.okta.com/docs/guides/submit-oin-app/saml2/main/","text":"Example:\n```js\n${empty org.baseUrl ? 'https://app.mydomain.com' : org.baseUrl}\n```\n\nExample:\n```js\n${fn:substringAfter(org.base_url, '//')}\n```\n\nExample:\n```js\n${fn:substringBefore(user.userName, '@')}@example.com\n```\n\nExample:\n```js\nhttps://${fn:endsWith(org.site_url, 'host1.com') ? 'host1.com' : fn:endsWith(org.site_url, 'host2.com') ? 'host2.com' : '.host.com'}/sso/saml\n```\n\nExample:\n```js\nhttps://${fn:contains(org.environment, 'production') ? 'productiondomain.com' : 'previewdomain.com'}/sso/saml\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.788Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":26,"estimatedTokens":131}}120{"id":"doc-client_authentication_methods-15dde475","source":"documentation","title":"Client authentication methods","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/guides/client-auth/","text":"Example:\n```text\nAuthorization: Basic {Base64(<client_id>:<client_secret>)}\n```\n\nExample:\n```text\nPOST /token HTTP/1.1\nHost: server.example.com\nContent-Type: application/x-www-form-urlencoded\ngrant_type=authorization_code&\n  code=i1WsRn1uB1&\n  client_id=0oajncakofQmjxlSw0h3\n  client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&\n  client_assertion=PHNhbWxwOl ... ZT\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.788Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":105}}121{"id":"doc-multibrand_architecture_okta_developer-a6e7598a","source":"documentation","title":"Multibrand architecture | Okta Developer","url":"https://developer.okta.com/docs/concepts/multibrand-architecture","text":"Example:\n```javascript\napp:{\n  type: \"object\"\n  value:{\n    id: \"0oa1wzp8ilsi2M9pk1d8\"\n    label: \"Blue Application|brand_xyz\"\n    name: \"oidc_client\"\n```\n\nExample:\n```javascript\n//console.log(oktaData);\nfunction getApp() {\n    if (!OktaUtil) return undefined;\n\n    var requestContext = OktaUtil.getRequestContext();\n    if (requestContext && requestContext.app && requestContext.app.value) {\n        return requestContext.app.value;\n    }else{\n        return \"unknown\"\n    }\n}\n```\n\nExample:\n```json\nGET /api/public/clientid2brand/{clientId}\n\nHTTP 200 application/json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"name\": {\n          \"type\": \"string\"\n        },\n        \"help_url\": {\n          \"type\": \"string\"\n        },\n        \"logo\": {\n          \"type\": \"string\"\n        },\n        \"design_tokens\": {\n          \"type\": \"string\"\n        },\n        \"additional_css\": {\n          \"type\": \"string\"\n        },\n        \"additional_html\": {\n          \"type\": \"string\"\n        },\n        \"showWorkforceIdp\": {\n          \"type\": \"boolean\",\n          \"description\": \"Toggle on workforce identity provider option\"\n        }\n      }\n    }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":65,"estimatedTokens":305}}122{"id":"doc-event_hook_implementation_okta_developer-3bd85db4","source":"documentation","title":"Event hook implementation | Okta Developer","url":"https://developer.okta.com/docs/guides/event-hook-implementation/nodejs/main/","text":"Example:\n```javascript\n// Event hook initial verification\n// Extract header 'x-okta-verification-challenge' from Okta request\n// Return value as JSON object verification\n\napp.get(\"/userDeactivated\", (request, response) => {\n  var returnValue = {\n    \"verification\": request.headers['x-okta-verification-challenge'],\n  };\n  console.log(\"Event hook verification request received.\")\n  response.json(returnValue);\n});\n```\n\nExample:\n```javascript\n//userDeactived event request, POST from Okta\n\napp.post(\"/userDeactivated\", (request, response) => {\n  console.log(\" \");\n  console.log('The user ' + request.body.data.events[0].target[0][\"alternateId\"] + \" has been deactivated on the Okta org!\");\n  response.sendStatus(200);\n\n  }\n)\n```\n\nExample:\n```javascript\nhttps://{yourOktaDomain}/api/v1/logs?filter=eventType eq \"user.lifecycle.deactivate\"\n```\n\nExample:\n```json\n{\n        \"actor\": {\n            \"id\": \"00u2di94bAMSEPvAY1d6\",\n            \"type\": \"User\",\n            \"alternateId\": \"okta.trainer@okta.com\",\n            \"displayName\": \"Okta Trainer\",\n            \"detailEntry\": null\n        },\n        \"client\": {\n            \"userAgent\": {\n                \"rawUserAgent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36\",\n                \"os\": \"Mac OS X\",\n                \"browser\": \"CHROME\"\n            },\n            \"zone\": \"null\",\n            \"device\": \"Computer\",\n            \"id\": null,\n            \"ipAddress\": \"174.89.174.56\",\n            \"geographicalContext\": {\n                \"city\": \"Toronto\",\n                \"state\": \"Ontario\",\n                \"country\": \"Canada\",\n                \"postalCode\": \"M6B\",\n                \"geolocation\": {\n                    \"lat\": 43.7114,\n                    \"lon\": -79.4462\n                }\n            }\n        },\n        \"authenticationContext\": {\n            \"authenticationProvider\": null,\n            \"credentialProvider\": null,\n            \"credentialType\": null,\n            \"issuer\": null,\n            \"interface\": null,\n            \"authenticationStep\": 0,\n            \"externalSessionId\": \"102lMcfHbwSTuS5V1oPHJs3lw\"\n        },\n        \"displayMessage\": \"Deactivate Okta User\",\n        \"eventType\": \"user.lifecycle.deactivate\",\n        \"outcome\": {\n            \"result\": \"SUCCESS\",\n            \"reason\": null\n        },\n        \"published\": \"2020-11-16T18:15:12.862Z\",\n        \"securityContext\": {\n            \"asNumber\": 577,\n            \"asOrg\": \"example\",\n            \"isp\": \"exampleISP\",\n            \"domain\": \"example.com\",\n            \"isProxy\": false\n        },\n        \"severity\": \"INFO\",\n        \"debugContext\": {\n            \"debugData\": {\n                \"requestId\": \"X7LBsMxeqO-ADcGcmp0WGQAAB@g\",\n                \"requestUri\": \"/admin/user/deactivate/00u3m90rxKjGQ0G6L1d6\",\n                \"threatSuspected\": \"false\",\n                \"url\": \"/admin/user/deactivate/00u3m90rxKjGQ0G6L1d6?\"\n            }\n        },\n        \"legacyEventType\": \"core.user.config.user_deactivated\",\n        \"transaction\": {\n            \"type\": \"WEB\",\n            \"id\": \"X7LBsMxeqO-ADcGcmp0WGQAAB@g\",\n            \"detail\": {}\n        },\n        \"uuid\": \"ab62c0bc-2837-11eb-9823-9fb8f750c5a9\",\n        \"version\": \"0\",\n        \"request\": {\n            \"ipChain\": [\n                {\n                    \"ip\": \"174.89.174.56\",\n                    \"geographicalContext\": {\n                        \"city\": \"Toronto\",\n                        \"state\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postalCode\": \"M6B\",\n                        \"geolocation\": {\n                            \"lat\": 43.7114,\n                            \"lon\": -79.4462\n                        }\n                    },\n                    \"version\": \"V4\",\n                    \"source\": null\n                }\n            ]\n        },\n        \"target\": [\n            {\n                \"id\": \"00u3m90rxKjGQ0G6L1d6\",\n                \"type\": \"User\",\n                \"alternateId\": \"john.doe@example.com\",\n                \"displayName\": \"John Doe\",\n                \"detailEntry\": null\n            }\n        ]\n    }\n```\n\nExample:\n```json\n\"target\": [\n        {\n            \"id\": \"00u3m90rsKgGQ0G6L1d76\",\n            \"type\": \"User\",\n            \"alternateId\": \"john.doe@example.com\",\n            \"displayName\": \"John Doe\",\n            \"detailEntry\": null\n        }\n    ]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":149,"estimatedTokens":1102}}123{"id":"doc-enterprise_identity_verification_vendor_okta_dev-47889a10","source":"documentation","title":"Enterprise identity verification vendor | Okta Developer","url":"https://developer.okta.com/docs/guides/add-id-verification-idp/customidv/main/","text":"Example:\n```json\n{\n  \"type\": \"IDV_STANDARD\",\n  \"name\": \"Custom IDV\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"endpoints\": {\n      \"par\": {\n        \"url\": \"https://idv.example.com/par\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"authorization\": {\n        \"url\": \"https://idv.example.com/authorize\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"token\": {\n        \"url\": \"https://idv.example.com/token\",\n        \"binding\": \"HTTP-POST\"\n      },\n      \"jwks\": {\n        \"url\": \"https://idv.example.com/jwks\",\n        \"binding\": \"HTTP-REDIRECT\"\n      }\n    },\n    \"issuer\": {\n      \"url\": \"https://idv.example.com\"\n    },\n    \"scopes\": [\n      \"profile\",\n      \"identity_assurance\",\n      \"openid\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"accountLink\": {\n      \"filter\": null,\n      \"action\": \"AUTO\"\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  },\n  \"properties\": {\n    \"idvMetadata\": {\n      \"vendorDisplayName\": \"Custom IDV\",\n      \"termsOfUse\": \"https://idv.example.com/terms\",\n      \"privacyPolicy\": \"https://idv.example.com/privacy\"\n    }\n  }\n}\n```\n\nExample:\n```json\n{\n  \"id\": \"0oa2pstvoFV4GYCw30g5\",\n  \"name\": \"Custom IDV IdP\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2025-01-15T20:54:04.000Z\",\n  \"lastUpdated\": \"2025-01-15T20:54:05.000Z\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"endpoints\": {\n      \"par\": {\n        \"url\": \"https://idv.example.com/par\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"authorization\": {\n        \"url\": \"https://idv.example.com/authorize\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"token\": {\n        \"url\": \"https://idv.example.com/token\",\n        \"binding\": \"HTTP-POST\"\n      },\n      \"jwks\": {\n        \"url\": \"https://idv.example.com/jwks\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"issuer\": {\n        \"url\": \"https://idv.example.com\"\n      },\n      \"scopes\": [\n        \"openid\",\n        \"profile\",\n        \"identity_assurance\"\n      ],\n      \"credentials\": {\n        \"client\": {\n          \"client_id\": \"your-client-id\",\n          \"client_secret\": \"your-client-secret\"\n        }\n      },\n      \"policy\": {\n        \"provisioning\": {\n          \"action\": \"DISABLED\",\n          \"profileMaster\": false,\n          \"groups\": null\n        },\n        \"subject\": {\n          \"userNameTemplate\": {\n            \"template\": \"source.userName\",\n            \"filter\": null,\n            \"matchType\": \"USERNAME\",\n            \"matchAttribute\": null\n          },\n          \"maxClockSkew\": 0,\n          \"properties\": {\n            \"idvMetadata\": {\n              \"vendorDisplayName\": \"Custom IDV\",\n              \"termsOfUse\": \"https://idv.example.com/terms\",\n              \"privacyPolicy\": \"https://idv.example.com/privacy\"\n            }\n          }\n        },\n        \"type\": \"IDV_STANDARD\",\n        \"_links\": {\n          \"users\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oa2pstvoFV4GYCw30g5/users\",\n            \"hints\": {\n              \"allow\": [\n                \"GET\"\n              ]\n            }\n          },\n          \"deactivate\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oa2pstvoFV4GYCw30g5/lifecycle/deactivate\",\n            \"hints\": {\n              \"allow\": [\n                \"POST\"\n              ]\n            }\n          }\n        }\n      }\n    }\n  }\n}\n```\n\nExample:\n```json\n\"elCondition\": {\n        \"condition\": \"accessRequest.operation == 'enroll'\"\n    }\n```\n\nExample:\n```json\n{\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\":\n                    [\"{groupId}\"]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": \"{IDVId}\",\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"created\": \"2024-11-14T21:16:55.000Z\",\n    \"lastUpdated\": \"2024-11-14T21:16:55.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            },\n            \"groups\": {\n                \"include\": [\n                    {\"groupId\"}\n                ]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": {\"IDVId\"},\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"ACCESS_POLICY\"\n}\n```\n\nExample:\n```text\naccessRequest.operation == 'enroll'\n```\n\nExample:\n```text\naccessRequest.authenticator.key == 'okta_password' && accessRequest.operation == 'recover'\n```\n\nExample:\n```text\n{\n  'okta_verify',\n  'webauthn',\n  'smart_card_idp',\n  'yubikey_token'\n}.contains(accessRequest.authenticator.key) &&\naccessRequest.operation == 'enroll'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.790Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":295,"estimatedTokens":1655}}124{"id":"doc-build_an_api_service_integration_okta_developer-16d54f62","source":"documentation","title":"Build an API service integration | Okta Developer","url":"https://developer.okta.com/docs/guides/build-api-integration/main/","text":"Example:\n```sh\nAuthorization: Basic {Base64({clientId}:{clientSecret})}\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{customerOktaDomain}/oauth2/v1/token \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Basic MG9hY...' \\\n  --header 'Cache-control: no-cache' \\\n  --header 'Content-type: application/x-www-form-urlencoded' \\\n  --data 'grant_type=client_credentials&scope=okta.users.read okta.groups.read'\n```\n\nExample:\n```json\n{\n   \"token_type\": \"Bearer\",\n   \"expires_in\": 3600,\n   \"access_token\": \"eyJraWQiOiJ.....UfThlJ7w\",\n   \"scope\": \"okta.users.read okta.groups.read\"\n}\n```\n\nExample:\n```json\n{\n   \"error\": \"invalid_client\",\n   \"error_description\": \"The client secret supplied for a confidential client is invalid.\"\n}\n```\n\nExample:\n```bash\ncurl -X GET \"https://{customerOktaDomain}/api/v1/users\"\n    -H \"Accept: application/json\"\n    -H \"Authorization: Bearer {accessToken}\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.790Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":42,"estimatedTokens":233}}125{"id":"doc-overview_of_the_mobile_identity_engine_sdk_okta_-b1924e0d","source":"documentation","title":"Overview of the mobile Identity Engine SDK | Okta Developer","url":"https://developer.okta.com/docs/guides/mobile-idx-sdk-overview/ios/main/","text":"Example:\n```swift\nimport OktaIdx\n```\n\nExample:\n```xml\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n    <key>issuer</key>\n    <string>{yourIssuerUrl}</string>\n    <key>clientId</key>\n    <string>{yourClientId}</string>\n    <key>redirectUri</key>\n    <string>com.sample.:/callback</string>\n    <key>scopes</key>\n    <string>openid email profile offline_access</string>\n</dict>\n</plist>\n```\n\nExample:\n```swift\nimport OktaIdx\n\n...\n\n// A struct that represents the configuration in a plist.\nstruct OktaPlistContent: Codable {\n    var scopes: String\n    var redirectUri: String\n    var clientId: String\n    var clientSecret: String\n    var issuer: String\n\n    var scopeArray: [String] {\n        get {\n            scopes.components(separatedBy: \" \")\n        }\n    }\n}\n\n// Read the contents of the plist and return a configuration.\nfunc loadConfiguration() -> IDXClient.Configuration? {\n    let decoder = PropertyListDecoder()\n\n    guard let data = try? Data.init(contentsOf: plistURL),\n          let configuration = try? decoder.decode(OktaPlistContent.self, from: data)\n    else { return nil }\n\n    // NOTE: The client secret isn't used on mobile.\n    return IDXClient.Configuration(issuer: configuration.issuer,\n                                   clientId: configuration.clientId,\n                                   clientSecret: nil,\n                                   scopes: configuration.scopeArray,\n                                   redirectUri: configuration.redirectUri)\n}\n```\n\nExample:\n```swift\nimport OktaIdx\n\nstruct OktaPlistContent: Codable {\n...\n}\n\nclass SignInController {\n    // Return the singleton controller, creating the instance on the first call.\n    static let shared: SignInController? = {\n        let instance = SignInController(configuration: nil,\n                                        client: nil)\n\n        return instance\n    }()\n\n    var configuration: IDXClient.Configuration?\n    var client: IDXClient?\n\n    ...\n\n\n    // Create a client and request the first response.\n    func initializeSDK() {\n        guard let configuration = loadConfiguration() else {\n            // Could not create a configuration. Handle the error.\n            return\n        }\n\n        self.configuration = configuration\n\n        IDXClient.start(with: configuration) { (client, error) in\n            guard let client = client else {\n                // Handle the error.\n                return\n            }\n\n            self.client = client\n\n            // Request the first response.\n            client.resume()\n        }\n    }\n\n    func loadConfiguration() -> IDXClient.Configuration? {\n    ...\n    }\n```\n\nExample:\n```swift\nimport OktaIdx\n\nclass SignInController: IDXClientDelegate {\n    ...\n\n    var currentResponse: Response? = nil\n\n    ...\n\n    // Delegate function called for each sign-in step.\n    public func idx(client: IDXClient, didReceive response: Response) {\n        currentResponse = response\n\n        // If a response is successful, exchange it for a token.\n        guard !response.isLoginSuccessful else {\n            // Handle retrieving the access token.\n            return\n        }\n\n\n        // If no remediations are present, abort the sign-in flow.\n        guard let remediation = currentResponse?.remediations.first else {\n            // Handle the error and finish the sign-in flow.\n            return\n        }\n\n        // Check for messages, such as entering an incorrect code.\n        if let message = response.messages.allMessages.first {\n            // Handle the messages as appropriate.\n            return\n        }\n\n        // Build the UI using the information in the remediations and authenticators.\n\n        ...\n    }\n\n    // Delegate function sent when an error occurs.\n    public func idx(client: IDXClient, didReceive error: Error) {\n        // Handle the error and finish the sign-in flow.\n    }\n```\n\nExample:\n```swift\nimport OktaIdx\n\nclass SignInController {\n    ...\n\n    var currentResponse: Response? = nil\n\n    ...\n\n    // Delegate function called for each sign-in step.\n    public func idx(client: IDXClient, didReceive response: Response) {\n        currentResponse = response\n\n        // If a response is successful, exchange the session token for an access token.\n        guard !response.isLoginSuccessful else {\n            response.exchangeCode()\n            return\n        }\n\n        ...\n    }\n\n    // Delegate function called when a token is successfully exchanged.\n    public func idx(client: IDXClient, didReceive token: Token) {\n        // Save the token securely and finish the sign-in flow.\n    }\n```\n\nExample:\n```swift\nimport Foundation\nimport OktaIdx\n\nenum TokenManagerError: Error {\n    case unableToReadToken(String)\n}\n\nclass TokenManager {\n    static let shared = TokenManager()\n\n    // Change com.example.okta-samplecode.Okta-Login to your bundle identifier.\n    private struct UserDefaultsKeys {\n        static let storedTokenKey = \"com.example.okta-samplecode.Okta-Login.storedToken\"\n    }\n\n    // Save the token to user defaults.\n    func saveToken(_ token: Token) {\n        let defaults = UserDefaults.standard\n\n        // Convert the token to a format that you can save in user defaults.\n        guard let tokenData = try? JSONEncoder().encode(token) else {\n            // Handle the error.\n            return\n        }\n\n        defaults.set(tokenData, forKey: UserDefaultsKeys.storedTokenKey)\n        defaults.synchronize()\n    }\n\n    // Read the token from user defaults.\n    func readToken() -> Token? {\n        // Check for an existing token and convert from JSON to an SDK Token object.\n        guard let tokenData = UserDefaults.standard.object(forKey: UserDefaultsKeys.storedTokenKey) as? Data,\n              let token = try? JSONDecoder().decode(Token.self, from: tokenData) else {\n            // Handle the error.\n            return nil\n        }\n\n        return token\n    }\n\n    func revokeToken(completion: @escaping(_ successful: Bool, _ error: Error?) -> Void) {\n        if let token = readToken() {\n            token.revoke() { (success, error) in\n               let defaults = UserDefaults.standard\n               if success {\n                    // Delete the token from user defaults.\n                    defaults.removeObject(forKey: UserDefaultsKeys.storedTokenKey)\n                    defaults.synchronize()\n\n                    completion(true, nil)\n                } else {\n                    completion(false, error)\n                }\n            }\n        } else {\n            completion(false, TokenManagerError.unableToReadToken(\"Unable to read the Token.\"))\n            return\n        }\n    }\n}\n```\n\nExample:\n```swift\npublic func idx(client: IDXClient, didReceive token: Token) {\n    TokenManager.shared.save(token)\n}\n```\n\nExample:\n```swift\nif let token = TokenManager.shared.readToken() {\n    token.revoke() { (success, error) in\n        guard success else {\n            // Handle the error.\n            return\n        }\n        // The token is revoked.\n        // In SwiftUI, update variables for presenting UI.\n        // For ViewControllers perform the call on the main thread using `DispatchQueue.main.async`.\n        return\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.791Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":275,"estimatedTokens":1820}}126{"id":"doc-configure_an_okta_account_management_policy_okta-0f5d8562","source":"documentation","title":"Configure an Okta account management policy | Okta Developer","url":"https://developer.okta.com/docs/guides/okta-account-management-policy/main","text":"Example:\n```bash\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/policies?type=ACCESS_POLICY' \\\n  -H 'Authorization: SSWS {apiToken}'\n```\n\nExample:\n```json\n{\n        \"id\": \"rst5czs80uoZHaUxK0g7\",\n        \"status\": \"ACTIVE\",\n        \"name\": \"Okta Account Management Policy\",\n        \"description\": \"This policy defines how users must authenticate for authenticator enrollment, password reset, or unlock account. Password policy rules control whether to enforce this policy for password reset and unlock account.\",\n        \"priority\": 1,\n        \"system\": false,\n        \"conditions\": null,\n        \"created\": \"2024-07-08T17:31:39.000Z\",\n        \"lastUpdated\": \"2024-07-08T17:31:39.000Z\",\n        \"_links\": {\n            \"self\": {\n                \"href\": \"https://{yourSubdomain}/api/v1/policies/rst5czs80uoZHaUxK0g7\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\"\n                    ]\n                }\n            },\n            \"rules\": {\n                \"href\": \"https://{yourSubdomain}/api/v1/policies/rst5czs80uoZHaUxK0g7/rules\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\",\n                        \"POST\"\n                    ]\n                }\n            }\n        },\n        \"_embedded\": {\n            \"resourceType\": \"END_USER_ACCOUNT_MANAGEMENT\"\n        },\n        \"type\": \"ACCESS_POLICY\"\n    }\n```\n\nExample:\n```bash\n\"elCondition\": {\n    \"condition\": \"accessRequest.operation == \\'enroll\\' || accessRequest.operation == \\'unenroll\\' && ( accessRequest.authenticator.key == \\'okta_verify\\' || accessRequest.authenticator.key == \\'webauthn\\' || accessRequest.authenticator.key == \\'smart_card_idp\\' || accessRequest.authenticator.key == \\'yubikey_token\\' )\"\n},\n```\n\nExample:\n```bash\ncurl --location --globoff 'https://{yourOktaDomain}/api/v1/policies/{policyId/rules?activate=true' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: application/json' \\\n--header 'Authorization: SSWS {apiToken}' \\\n--data '{\n    \"system\": false,\n    \"type\": \"ACCESS_POLICY\",\n    \"id\": \"rul2p9xACRTDf9qZV0g4\",\n    \"name\": \"Test rule\",\n    \"priority\": 1,\n    \"status\": \"ACTIVE\",\n    \"created\": \"2024-07-16T20:27:25.000Z\",\n    \"lastUpdated\": \"2024-07-16T20:27:25.000Z\",\n    \"conditions\": {\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        },\n        \"network\": {\n          \"connection\": \"ZONE\",\n          \"include\": [\n            \"nzo5dtwhzly9mXvlN0g7\"\n            ]\n        },\n        \"people\": {\n            \"users\": {\n                \"exclude\": [],\n                \"include\": []\n            },\n            \"groups\": {\n                \"include\": [],\n                \"exclude\": []\n            }\n        },\n        \"riskScore\": {\n            \"level\": \"LOW\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == \\'enroll\\' || accessRequest.operation == \\'unenroll\\' && ( accessRequest.authenticator.key == \\'okta_verify\\' || accessRequest.authenticator.key == \\'webauthn\\' || accessRequest.authenticator.key == \\'smart_card_idp\\' || accessRequest.authenticator.key == \\'yubikey_token\\' )\"\n        },\n        \"platform\": {\n            \"include\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"factorMode\": \"2FA\",\n                \"reauthenticateIn\": \"PT0S\",\n                \"constraints\": [\n                    {\n                        \"possession\": {\n                            \"userPresence\": \"OPTIONAL\"\n                        }\n                    }\n                ],\n                \"type\": \"ASSURANCE\"\n            }\n        }\n    },\n    \"initialMode\": false,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://brent-stellar-org.trexcloud.com/api/v1/policies/rst1k0mWSjjvYzqQv0g4/rules/rul2p9xACRTDf9qZV0g4\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://brent-stellar-org.trexcloud.com/api/v1/policies/rst1k0mWSjjvYzqQv0g4/rules/rul2p9xACRTDf9qZV0g4/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}'\n```\n\nExample:\n```bash\ncurl --location --request PUT '{yourSubdomain}/api/v1/policies/{policyId}/rules/{ruleId}' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS {apiToken}' \\\n--data '{\n    \"id\": \"{ruleId}\",\n    \"name\": \"sdfsd\",\n    \"priority\": ,\n    \"status\": \"ACTIVE\",\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        }\n    },\n    \"actions\": {\n        \"passwordChange\": {\n            \"access\": \"ALLOW\"\n        },\n        \"selfServicePasswordReset\": {\n            \"access\": \"ALLOW\",\n            \"requirement\": {\n                \"primary\": {\n                    \"methods\": [\n                        \"email\"\n                    ]\n                },\n                \"stepUp\": {\n                    \"required\": false\n                },\n                \"accessControl\": \"AUTH_POLICY\"\n            }\n        },\n        \"selfServiceUnlock\": {\n            \"access\": \"ALLOW\"\n        }\n    },\n    \"system\": false,\n    \"type\": \"PASSWORD\"\n}'\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/policies/{policyId}/rules' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS {apiToken}' \\\n--data '{\n    \"name\": \"Require registered device for password recovery\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\": []\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.authenticator.key == '\\''okta_password'\\'' && accessRequest.operation == '\\''recover'\\''\"\n        },\n        \"device\": {\n            \"registered\": true,\n            \"managed\": true,\n            \"assurance\": {\n                \"include\": []\n            }\n        },\n        \"actions\": {\n            \"appSignOn\": {\n                \"access\": \"ALLOW\",\n                \"verificationMethod\": {\n                    \"factorMode\": \"2FA\",\n                    \"type\": \"ASSURANCE\",\n                    \"reauthenticateIn\": \"PT1H\",\n                    \"constraints\": [\n                        {\n                            \"possession\": {\n                                \"required\": true,\n                                \"phishingResistant\": \"REQUIRED\",\n                                \"userPresence\": \"OPTIONAL\"\n                            }\n                        }\n                    ]\n                }\n            }\n        }\n    }\n}'\n```\n\nExample:\n```bash\ncurl --location --request PUT 'http://devorg1.okta1.com:1802/api/v1/policies/{policyId}/rules/{ruleId}' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS {apiToken}' \\\n--data '{\n    \"id\": \"<RULE_ID>\",\n    \"name\": \"sdfsd\",\n    \"priority\": 1,\n    \"status\": \"ACTIVE\",\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        }\n    },\n    \"actions\": {\n        \"passwordChange\": {\n            \"access\": \"ALLOW\"\n        },\n        \"selfServicePasswordReset\": {\n            \"access\": \"ALLOW\",\n            \"requirement\": {\n                \"primary\": {\n                    \"methods\": [\n                        \"email\"\n                    ]\n                },\n                \"stepUp\": {\n                    \"required\": false\n                },\n                \"accessControl\": \"LEGACY\"\n            }\n        },\n        \"selfServiceUnlock\": {\n            \"access\": \"ALLOW\"\n        }\n    },\n    \"system\": false,\n    \"type\": \"PASSWORD\"\n}'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.792Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":292,"estimatedTokens":2068}}127{"id":"doc-revoke_a_session-9601c100","source":"documentation","title":"Revoke a session","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/session/other/revokesession","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/sessions/l7FbDVqS8zHSy65uJD85\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.793Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}128{"id":"doc-retrieve_a_session-7b902845","source":"documentation","title":"Retrieve a session","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/session/other/getsession","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/sessions/l7FbDVqS8zHSy65uJD85\n```\n\nExample:\n```text\n{\n  \"amr\": [\n    \"pwd\"\n  ],\n  \"createdAt\": \"2019-08-24T14:15:22Z\",\n  \"expiresAt\": \"2019-08-24T14:15:22Z\",\n  \"id\": \"l7FbDVqS8zHSy65uJD85\",\n  \"idp\": {\n    \"id\": \"01a2bcdef3GHIJKLMNOP\",\n    \"type\": \"ACTIVE_DIRECTORY\"\n  },\n  \"lastFactorVerification\": \"2019-08-24T14:15:22Z\",\n  \"lastPasswordVerification\": \"2019-08-24T14:15:22Z\",\n  \"login\": \"user@example.com\",\n  \"status\": \"ACTIVE\",\n  \"userId\": \"00u0abcdefGHIJKLMNOP\",\n  \"_links\": {\n    \"self\": { … },\n    \"href\": \"https://{yourOktaDomain}/api/v1/sessions/l7FbDVqS8zHSy65uJD85\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.794Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":167}}129{"id":"doc-okta_and_scim_version_2_0-383146d6","source":"documentation","title":"Okta and SCIM Version 2.0","url":"https://developer.okta.com/docs/api/openapi/okta-scim/guides/scim-20/","text":"Example:\n```text\nGET /scim/v2/Users?startIndex=1&count=2 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v2/Groups?startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v2/Users?filter=userName%20eq%20%22test.user%40okta.local%22&startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 01:49:39 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:ListResponse\"],\n    \"totalResults\": 0,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 0,\n    \"Resources\": []\n}\n```\n\nExample:\n```text\nHTTP/1.1 404 Not Found\nDate: Tue, 10 Sep 2019 01:58:03 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:Error\"],\n    \"detail\": \"User not found\",\n    \"status\": \"404\"\n}\n```\n\nExample:\n```text\nPOST /scim/v2/Users HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"externalId\": \"00ujl29u0le5T6Aj10h7\",\n    \"groups\": [],\n    \"password\": \"1mz050nq\",\n    \"active\": true\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Tue, 10 Sep 2019 02:02:58 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"externalId\": \"00ujl29u0le5T6Aj10h7\",\n    \"active\": true,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nPOST /scim/v2/Users HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"groups\": [],\n    \"password\": \"1mz050nq\",\n    \"active\": true\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Tue, 10 Sep 2019 02:02:58 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"externalId\": \"00ujl29u0le5T6Aj10h7\",\n    \"active\": true,\n    \"userType\": \"Contractor\"\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 409 Conflict\nDate: Tue, 10 Sep 2019 02:22:30 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:Error\"],\n    \"detail\": \"User already exists in the database.\",\n    \"status\": \"409\"\n}\n```\n\nExample:\n```text\nGET /scim/v2/Users?startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v2/Users/23a35c27-23d3-4c03-b4c5-6443c09e7173 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 03:46:53 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"middleName\": \"\",\n        \"familyName\": \"User\"\n    },\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 03:46:53 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Another\",\n        \"middleName\": \"\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"active\": true,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nPUT /scim/v2/Users/23a35c27-23d3-4c03-b4c5-6443c09e7173 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Another\",\n        \"middleName\": \"Excited\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"active\": true,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 03:48:10 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Another\",\n        \"middleName\": \"Excited\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"active\": true,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v2/Users/23a35c27-23d3-4c03-b4c5-6443c09e7173 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],\n    \"Operations\": [{\n        \"op\": \"replace\",\n        \"value\": {\n            \"active\": false\n        }\n    }]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 03:50:23 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Another\",\n        \"middleName\": \"\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"active\": false,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nPOST /scim/v2/Groups HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"displayName\": \"Test SCIMv2\",\n    \"members\": []\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Tue, 10 Sep 2019 04:54:18 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n    \"displayName\": \"Test SCIMv2\",\n    \"members\": [],\n    \"meta\": {\n        \"resourceType\": \"Group\"\n    }\n}\n```\n\nExample:\n```text\nGET /scim/v2/Groups?filter=displayName%20eq%20%22Test%20SCIMv2%22&startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Wed, 15 May 2024 10:02:45 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\n        \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n    ],\n    \"totalResults\": 1,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 1,\n    \"Resources\": [\n        {\n        \"id\": \"e7d09e9b3faa4888b65cf9e9316cba1c\",\n        \"meta\": {\n            \"created\": \"2024-05-15T09:21:23\",\n            \"lastModified\": \"2024-05-15T09:21:23\",\n            \"version\": \"v1.0\"\n        },\n        \"displayName\": \"Test SCIMv1\"\n       },\n    ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Wed, 15 May 2024 11:02:14 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:ListResponse\"],\n    \"totalResults\": 0,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 0,\n    \"Resources\": []\n}\n```\n\nExample:\n```text\nGET /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 05:06:25 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n    \"displayName\": \"Test SCIMv2\",\n    \"members\":  [{\n        \"value\": \"b1c794f24f4c49f4b5d503a4cb2686ea\",\n        \"display\": \"SCIM 2 Group A\"\n    }],\n    \"meta\": {\n        \"resourceType\": \"Group\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],\n    \"Operations\": [{\n        \"op\": \"replace\",\n        \"value\": {\n            \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n            \"displayName\": \"Test SCIMv2\"\n        }\n    }]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 05:08:48 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n    \"displayName\": \"Test SCIMv20\",\n    \"members\": null,\n    \"meta\": {\n        \"resourceType\": \"Group\"\n    }\n}\n```\n\nExample:\n```text\nPUT /scim/v2/Groups/U0FP0NMEE HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n{\n        \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n        \"id\":\"e9e30dba-f08f-4109-8486-d5c6a331660a\",\n        \"displayName\": \"Tour Guides\",\n        \"members\": [\n        {\n        \"value\": \"some-member-1\",\n        \"display\": \"Babs Jensen\"\n        },\n        {\n        \"value\": \"some-member-2\",\n        \"display\": \"Mandy Pepperidge\"\n        }\n        ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\":\"e9e30dba-f08f-4109-8486-d5c6a331660a\",\n    \"displayName\": \"Tour Guides\",\n    \"members\": [\n        {\n            \"value\": \"some-member-1\",\n            \"display\": \"Babs Jensen\"\n        },\n        {\n            \"value\": \"some-member-2\",\n            \"display\": \"Mandy Pepperidge\"\n        }\n    ],\n    \"meta\": {\n        \"resourceType\": \"Group\",\n        \"created\": \"01-23-2017 00:00:00\",\n        \"lastModified\": \"01-23-2017 00:00:00\",\n        \"version\": \"v1.0\"\n        }\n}\n```\n\nExample:\n```text\nPATCH /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],\n    \"Operations\": [{\n        \"op\": \"remove\",\n        \"path\": \"members[value eq \\\"89bb1940-b905-4575-9e7f-6f887cfb368e\\\"]\"\n        },\n        {\n        \"op\": \"add\",\n        \"path\": \"members\",\n        \"value\": [{\n            \"value\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n            \"display\": \"test.user@okta.local\"\n        }]\n    }]\n}\n```\n\nExample:\n```text\nPUT /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"displayName\": \"Test SCIMv2\",\n    \"members\": [\n            {\n            \"value\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n            \"display\": \"test.user@okta.local\"\n            }\n    ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 05:06:25 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n    \"displayName\": \"Test SCIMv20\",\n    \"members\": [\n        {\n            \"value\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n            \"display\": \"test.user@okta.local\"\n        }\n     ],\n    \"meta\": {\n        \"resourceType\": \"Group\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n  \"schemas\": [\n    \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n  ],\n  \"Operations\": [\n    {\n      \"op\": \"replace\",\n      \"path\": \"members\",\n      \"value\": [\n        {\n          \"value\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n          \"display\": \"test.user@okta.local\"\n        },\n        {\n          \"value\": \"89bb1940-b905-4575-9e7f-6f887cfb368e\",\n          \"display\": \"test.user@okta.local\"\n        }\n      ]\n    }\n  ]\n}\n```\n\nExample:\n```text\nDELETE /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 204 No Content\nDate: Tue, 10 Sep 2019 05:29:25 GMT\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.797Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":35,"totalLines":649,"estimatedTokens":3566}}130{"id":"doc-concurrency_limits_okta_developer-7392500c","source":"documentation","title":"Concurrency limits | Okta Developer","url":"https://developer.okta.com/docs/reference/rl2-concurrency/","text":"Example:\n```bash\nConcurrency = (RPM / 60) * (avgRequestDurationMillis / 1000)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.797Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":24}}131{"id":"doc-okta_and_scim_version_1_1-7fa1f5fc","source":"documentation","title":"Okta and SCIM Version 1.1","url":"https://developer.okta.com/docs/api/openapi/okta-scim/guides/scim-11/","text":"Example:\n```text\nGET /scim/v1/Users?startIndex=1&count=2 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v1/Groups?startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v1/Users?filter=userName%20eq%20%22test.user%40okta.local%22&startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 06:39:03 GMT\nContent-Type: application/json\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"totalResults\": 0,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 0,\n    \"Resources\": []\n}\n```\n\nExample:\n```text\nPUT /scim/v1/Users/e155dc98-aeee-4f58-b683-12b93dbc86b3 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"e155dc98-aeee-4f58-b683-12b93dbc86b3\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": []\n}\n```\n\nExample:\n```text\nPOST /scim/v1/Users HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en_US\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"groups\": [],\n    \"password\": \"1mz050nq\",\n    \"active\": true\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Fri, 18 Oct 2019 06:39:04 GMT\nContent-Type: application/json\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"e155dc98-aeee-4f58-b683-12b93dbc86b3\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:39:04+00:00\",\n        \"lastModified\": \"2019-10-18T06:39:04+00:00\",\n        \"version\": \"fe2a80129b16ff934d485c3c9c45892f\"\n    }\n}\n```\n\nExample:\n```text\nPOST /scim/v1/Users HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"groups\": [],\n    \"password\": \"1mz050nq\",\n    \"active\": true\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Tue, 10 Sep 2019 02:02:58 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"externalId\": \"00ujl29u0le5T6Aj10h7\",\n    \"active\": true,\n    \"userType\": \"Contractor\"\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 409 Conflict\nDate: Fri, 18 Oct 2019 06:50:25 GMT\nContent-Type: application/json\n\n{\n    \"Errors\": [{\n        \"description\": \"User already exists in the database.\",\n        \"code\": 409\n    }]\n}\n```\n\nExample:\n```text\nGET /scim/v1/Users?startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v1/Users/48e0a2da-0999-4f2c-87f4-80432cfe6617 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 06:54:35 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T06:50:23+00:00\",\n        \"version\": \"6d8ef4c9b0ae96fae6623e549f820a60\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 06:56:38 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test user\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T06:56:20+00:00\",\n        \"version\": \"a7fc04c68e3f5551e29a448031d45425\"\n    }\n}\n```\n\nExample:\n```text\nPUT /scim/v1/Users/48e0a2da-0999-4f2c-87f4-80432cfe6617 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test1\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test1 User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T06:56:20+00:00\",\n        \"version\": \"a7fc04c68e3f5551e29a448031d45425\"\n    },\n    \"groups\": []\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 06:56:39 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test1\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test1 User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T06:56:39+00:00\",\n        \"version\": \"7c9d14512d03434910940e5574f6f8f0\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v1/Users/48e0a2da-0999-4f2c-87f4-80432cfe6617 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"active\": false\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 07:00:47 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test1\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test1 User\",\n    \"locale\": \"en_US\",\n    \"active\": false,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T07:00:47+00:00\",\n        \"version\": \"6feac5cd8e2e3a617037e2543e3e83d0\"\n    }\n}\n```\n\nExample:\n```text\nPOST /scim/v1/Groups HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"displayName\": \"Test SCIMv1\"\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Fri, 18 Oct 2019 07:02:44 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv1\",\n    \"members\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T07:02:44+00:00\",\n        \"lastModified\": \"2019-10-18T07:02:44+00:00\",\n        \"version\": \"12ba4e7e158aa0b78d78c7e9ae15d917\"\n    }\n}\n```\n\nExample:\n```text\n{\n\"schemas\": [\"urn:scim:schemas:core:1.0\", \"urn:okta:custom:group:1.0\"],\n    \"displayName\": \"Group 10\",\n    \"urn:okta:custom:group:1.0\": {\n        \"description\": \"All Users West of the Rockies\"\n    }\n}\n```\n\nExample:\n```text\nGET /scim/v1/Groups?filter=displayName%20eq%20%22Test%20SCIMv1%22&startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Wed, 15 May 2024 10:02:45 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\n        \"urn:scim:schemas:core:1.0\"\n    ],\n    \"totalResults\": 1,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 1,\n    \"Resources\": [\n        {\n        \"id\": \"e7d09e9b3faa4888b65cf9e9316cba1c\",\n        \"meta\": {\n            \"created\": \"2024-05-15T09:21:23\",\n            \"lastModified\": \"2024-05-15T09:21:23\",\n            \"version\": \"v1.0\"\n        },\n        \"displayName\": \"Test SCIMv1\"\n       },\n    ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Wed, 15 May 2024 11:02:14 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"totalResults\": 0,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 0,\n    \"Resources\": []\n}\n```\n\nExample:\n```text\nGET /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 07:08:51 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv1\",\n    \"members\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T07:02:44+00:00\",\n        \"lastModified\": \"2019-10-18T07:02:44+00:00\",\n        \"version\": \"12ba4e7e158aa0b78d78c7e9ae15d917\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv11\"\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 07:11:00 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv11\",\n    \"members\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T07:02:44+00:00\",\n        \"lastModified\": \"2019-10-18T07:11:00+00:00\",\n        \"version\": \"3a0c8354ccfcaab56019859469078a0b\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"members\": [{\n        \"value\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n        \"display\": \"test.user@okta.local\"\n    }]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 07:11:01 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv11\",\n    \"members\": [{\n        \"value\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"meta\": {\n        \"created\": \"2019-10-18T07:02:44+00:00\",\n        \"lastModified\": \"2019-10-18T07:11:01+00:00\",\n        \"version\": \"cca3a6ab18596cc450377eddcc4b5a58\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\n        \"urn:scim:schemas:core:1.0\"\n    ],\n    \"members\": [\n        {\n            \"value\": \"b4327d81-fc79-47ad-a7ff-182d9e103291\",\n            \"display\": \"test.user2@okta.local\",\n            \"operation\": \"delete\"\n        }\n    ]\n}\n```\n\nExample:\n```text\nDELETE /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 204 No Content\nDate: Fri, 18 Oct 2019 07:16:10 GMT\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.798Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":600,"estimatedTokens":3341}}132{"id":"doc-refresh_the_access_and_id_tokens_okta_developer-e8808be1","source":"documentation","title":"Refresh the access and ID tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-refresh-tokens/ios/main/","text":"Example:\n```javascript\ntoken.refresh { (newToken, error) in\n    ...\n}\n```\n\nExample:\n```http\nPOST /oauth2/default/v1/token HTTP/1.1\nAccept: application/json\nContent-Type: application/x-www-form-urlencoded\n\ngrant_type=refresh_token\nredirect_uri=com.embeddedauth://callback\nscope=offline_access openid profile\nrefresh_token=03_hBtVj-Hk0Mxo9TPSdl7TLkxQioKqQEzud3ldqHqs\nclient_id=0oa94el1z4nUDxx0z5d7\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJoQkZNR...\",\n    \"scope\": \"offline_access openid profile\",\n    \"refresh_token\": \"HRzOBfj1A1g6akWqNHfCE-KX-9NASmnFqhRFOt_rEdc\",\n    \"id_token\": \"eyJraWQiOiJoQkZN...\"\n}\n```\n\nExample:\n```http\nPOST /oauth2/default/v1/introspect HTTP/1.1\nAccept: application/json\nContent-Type: application/x-www-form-urlencoded\n\ntoken=eyJraWQiOiJoQk...\nclient_id=0oa14dl1z4nUJxx0z5d7\ntoken_type_hint=access_token\n```\n\nExample:\n```json\n{\n    \"active\": true,\n    \"scope\": \"profile openid offline_access\",\n    \"username\": \"jessie.smith@example.com\",\n    \"exp\": 1626128470,\n    \"iat\": 1626124870,\n    \"sub\": \"jessie.smith@example.com\",\n    \"aud\": \"api://default\",\n    \"iss\": \"https://integrator-12345678.okta.com/oauth2/default\",\n    \"jti\": \"AT.4PAhL3RW5Yxn5leKbT3_xpiflVWYvcrKtzgkt9HHwDo.oar2str41LSUbsgXb5d6\",\n    \"token_type\": \"Bearer\",\n    \"client_id\": \"0oa14dl1z4nUJxx0z5d7\",\n    \"uid\": \"00u128itb5sYrGii55d7\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.799Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":62,"estimatedTokens":353}}133{"id":"doc-refresh_a_session-f101d03f","source":"documentation","title":"Refresh a session","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/session/other/refreshsession","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/sessions/l7FbDVqS8zHSy65uJD85/lifecycle/refresh\n```\n\nExample:\n```text\n{\n  \"amr\": [\n    \"pwd\"\n  ],\n  \"createdAt\": \"2019-08-25T14:17:22Z\",\n  \"expiresAt\": \"2019-08-25T14:17:22Z\",\n  \"id\": \"l7FbDVqS8zHSy65uJD85\",\n  \"idp\": {\n    \"id\": \"01a2bcdef3GHIJKLMNOP\",\n    \"type\": \"ACTIVE_DIRECTORY\"\n  },\n  \"lastFactorVerification\": \"2019-08-24T14:15:22Z\",\n  \"lastPasswordVerification\": \"2019-08-24T14:15:22Z\",\n  \"login\": \"user@example.com\",\n  \"status\": \"ACTIVE\",\n  \"userId\": \"00u0abcdefGHIJKLMNOP\",\n  \"_links\": {\n    \"self\": { … },\n    \"href\": \"https://{yourOktaDomain}/api/v1/sessions/l7FbDVqS8zHSy65uJD85\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.799Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":172}}134{"id":"doc-refresh_the_access_and_id_tokens_okta_developer-43a177b5","source":"documentation","title":"Refresh the access and ID tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-refresh-tokens/android/main/","text":"Example:\n```http\nPOST /oauth2/default/v1/token HTTP/1.1\nAccept: application/json\nContent-Type: application/x-www-form-urlencoded\n\ngrant_type=refresh_token\nredirect_uri=com.embeddedauth://callback\nscope=offline_access openid profile\nrefresh_token=03_hBtVj-Hk0Mxo9TPSdl7TLkxQioKqQEzud3ldqHqs\nclient_id=0oa94el1z4nUDxx0z5d7\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJoQkZNR...\",\n    \"scope\": \"offline_access openid profile\",\n    \"refresh_token\": \"HRzOBfj1A1g6akWqNHfCE-KX-9NASmnFqhRFOt_rEdc\",\n    \"id_token\": \"eyJraWQiOiJoQkZN...\"\n}\n```\n\nExample:\n```http\nPOST /oauth2/default/v1/introspect HTTP/1.1\nAccept: application/json\nContent-Type: application/x-www-form-urlencoded\n\ntoken=eyJraWQiOiJoQk...\nclient_id=0oa14dl1z4nUJxx0z5d7\ntoken_type_hint=access_token\n```\n\nExample:\n```json\n{\n    \"active\": true,\n    \"scope\": \"profile openid offline_access\",\n    \"username\": \"jessie.smith@example.com\",\n    \"exp\": 1626128470,\n    \"iat\": 1626124870,\n    \"sub\": \"jessie.smith@example.com\",\n    \"aud\": \"api://default\",\n    \"iss\": \"https://integrator-12345678.okta.com/oauth2/default\",\n    \"jti\": \"AT.4PAhL3RW5Yxn5leKbT3_xpiflVWYvcrKtzgkt9HHwDo.oar2str41LSUbsgXb5d6\",\n    \"token_type\": \"Bearer\",\n    \"client_id\": \"0oa14dl1z4nUJxx0z5d7\",\n    \"uid\": \"00u128itb5sYrGii55d7\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.799Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":55,"estimatedTokens":334}}135{"id":"doc-user_sign_out_flow_local_app_okta_developer-670a51a0","source":"documentation","title":"User sign out flow (local app) | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-out/ios/main/","text":"Example:\n```swift\nimport AuthFoundation\n\n@MainActor\nfunc signOutLocally() async {\n    guard let credential = Credential.default else { return }\n\n    do {\n        // Revoke refresh/access tokens server-side (the safest approach).\n        // The SDK's 'revoke' typically also removes the tokens from local storage upon success.\n        try await credential.revoke()\n\n        // If 'revoke()' succeeds, we're done. Navigate to the signed-out page.\n\n    } catch {\n        // If 'revoke()' fails (for example, due to a temporary network issue or invalid token).\n        // Log the server-side revocation error but always continue to clear local state.\n        // Log the error: print(\"Server-side revocation failed: \\(error)\")\n\n        do {\n            // Remove tokens and user state from local secure storage. This is essential for a proper sign-out, even if the server-side call failed.\n            try await credential.remove()\n\n            // Local removal succeeded. Navigate to signed-out page.\n\n        } catch {\n            // Handle/log if local storage removal also fails. This is rare but possible.\n            // Handle/remove fallback, if needed.\n            // Log the error: print(\"Local removal failed: \\(error)\")\n        }\n    }\n}\n```\n\nExample:\n```swift\nfunc switchDefaultAccount(to userEmail: String) throws {\n    // Retrieve the credential object for the target account using its email address.\n\n    guard let newCredential = try Credential.find(where: { meta in\n        meta.preferredUsername == userEmail\n    }) else {\n        throw AccountError.credentialNotFound(account.username)\n    }\n\n    // Set the retrieved credential as the new default.\n    // This immediately makes this account the active user (Credential.default).\n    Credential.default = newCredential\n\n    print(\"Switched active user to: \\(newCredential.preferredUsername ?? \"Unknown User\")\")\n\n    // The app can now update to use the new default credential, or may be automatically updated in response to the Notification.Name.defaultCredentialChanged notification..\n}\n```\n\nExample:\n```swift\nimport BrowserSignin\n@MainActor\nfunc signOutFromBrowser() async throws {\n    guard let credential = Credential.default else {\n        return\n    }\n\n    // Ends Okta browser session (opens auth session and returns to your logout_redirect_uri)\n    do {\n        // This revokes tokens and ends the Okta browser session\n        try await BrowserSignin.shared?.signOut(token: credential.token)\n    } catch {\n        // If there's no browser session or a callback mismatch, log and continue\n    }\n\n    // Note: This revokes the token but does not remove it from storage. You still need to delete the credentials.\n    try? credential.remove()\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.799Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":79,"estimatedTokens":683}}136{"id":"doc-work_with_okta_session_cookies_okta_developer-c111ad12","source":"documentation","title":"Work with Okta session cookies | Okta Developer","url":"https://developer.okta.com/docs/guides/session-cookie/main/","text":"Example:\n```http\nhttps://{yourOktaDomain}/oauth2/v1/authorize?client_id={clientId}&response_type=id_token&scope=openid&prompt=none&redirect_uri=https%3A%2F%2Fyour-app.example.com&state=Af0ifjslDkj&nonce=n-0S6_WzA2Mj&sessionToken=0HsohZYpJgMSHwmL9TQy7RRzuY\n```\n\nExample:\n```text\nHTTP/1.1 302 Moved Temporarily\nSet-Cookie: sid=lGj4FPxaG63Wm89TpJnaDF6; Path=/\nLocation: https://your-app.example.com#id_token=S4sx3uixdsalasd&state=Af0ifjslDkj&nonce=n-0S6_WzA2Mj\n```\n\nExample:\n```http\nHTTP/1.1 302 Moved Temporarily\nSet-Cookie: my_app_session_cookie_name=my_apps_session_cookie_value; Path=/\nLocation: https://{yourOktaDomain}/login/sessionCookieRedirect?token=0HsohZYpJgMSHwmL9TQy7RRzuY&redirectUrl=https%3A%2F%2Fwww.example.com%2Fportal%2Fhome\n```\n\nExample:\n```http\nGET /login/sessionCookieRedirect?token=0HsohZYpJgMSHwmL9TQy7RRzuY&redirectUrl=https%3A%2F%2Fyour-app.example.com HTTP/1.1\nHost: your-domain.okta.com\nAccept: */*\n```\n\nExample:\n```http\nHTTP/1.1 302 Moved Temporarily\nSet-Cookie: sid=000aC_z7AZKTpSqtHFc0Ak6Vg; Path=/\nLocation: https://your-app.example.com\n```\n\nExample:\n```http\nHTTP/1.1 302 Moved Temporarily\nLocation: https://your-subdomain/app/google/go1013td3mXAQOJCHEHQ/mail?sessionToken=0HsohZYpJgMSHwmL9TQy7RRzuY\n```\n\nExample:\n```http\nHTTP/1.1 302 Moved Temporarily\nSet-Cookie: sid=000aC_z7AZKTpSqtHFc0Ak6Vg; Path=/\nLocation: https://mail.google.com/a/your-subdomain\n```\n\nExample:\n```http\nGET /home/appwizardsaml_1/0oalkgr25YMb5reZp0g4/alnlkriVMi9J5WYmk0g4?RelayState=%2Fcustom%2Fdeep%2Flink&sessionToken=0HsohZYpJgMSHwmL9TQy7RRzuY HTTP/1.1\nHost: your-domain.okta.com\nAccept: */*\n```\n\nExample:\n```http\nHTTP/1.1 200 OK\nContent-Type: text/html;charset=utf-8\nSet-Cookie: sid=000aC_z7AZKTpSqtHFc0Ak6Vg; Path=/\n\n<html>\n<body>\n    <div>\n        <form id=\"appForm\" action=\"https://sp.example.com/auth/saml20\" method=\"POST\">\n            <input name=\"SAMLResponse\" type=\"hidden\" value=\"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c2FtbDJwOlJlc3BvbnNlIHhtbG5zOnNhbWwycD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIiBEZXN0aW5hdGlvbj0iaHR0cHM6Ly9va3RhcHMxLm9rdGEuY29tL2F1dGgvc2FtbDIwL2thcmwiIElEPSJpZDEzODE1MzU1NjY3MTAwODkwMDAxMzkzODMwOTY2IiBJc3N1ZUluc3RhbnQ9IjIwMTMtMTAtMTFUMjM6NTI6NDYuNjk4WiIgVmVyc2lvbj0iMi4wIj48c2FtbDI6SXNzdWVyIHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIiBGb3JtYXQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpuYW1laWQtZm9ybWF0OmVudGl0eSI+aHR0cDovL3d3dy5va3RhLmNvbS9rYml5TU9JTUhOTEdISk5DQlVSTTwvc2FtbDI6SXNzdWVyPjxkczpTaWduYXR1cmUgeG1sbnM6ZHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyMiPjxkczpTaWduZWRJbmZvPjxkczpDYW5vbmljYWxpemF0aW9uTWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8xMC94bWwtZXhjLWMxNG4jIi8+PGRzOlNpZ25hdHVyZU1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNyc2Etc2hhMSIvPjxkczpSZWZlcmVuY2UgVVJJPSIjaWQxMzgxNTM1NTY2NzEwMDg5MDAwMTM5MzgzMDk2NiI+PGRzOlRyYW5zZm9ybXM+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNlbnZlbG9wZWQtc2lnbmF0dXJlIi8+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIvPjwvZHM6VHJhbnNmb3Jtcz48ZHM6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI3NoYTEiLz48ZHM6RGlnZXN0VmFsdWU+enNDNjJuOUI3S1RxN1pZdG5YM3M2dW9jYXRBPTwvZHM6RGlnZXN0VmFsdWU+PC9kczpSZWZlcmVuY2U+PC9kczpTaWduZWRJbmZvPjxkczpTaWduYXR1cmVWYWx1ZT5aZ3YvamFJdkpGSW9EV29GRnUyM0dJVVJLSU9JMUdOd2FmWXhZbmdWY01pRnQ5UTRwOS9MQUhMSXVKYzhjdXh4UmlmYlpza1ZlRWh1TG1xV3JSSFpMRHh2djJ4Wm15eUM4UGlSc2xFSGlzMEhhQTY3bDF3dlBaTURTSWxhV3lJaFFzVkppVE90Nk9GSXpjNkZwZEFZVWU0Y3ptcEEyaW4vK2RmQTl0S1dYbkU9PC9kczpTaWduYXR1cmVWYWx1ZT48ZHM6S2V5SW5mbz48ZHM6WDUwOURhdGE+PGRzOlg1MDlDZXJ0aWZpY2F0ZT5NSUlDblRDQ0FnYWdBd0lCQWdJR0FTbE1OYXdETUEwR0NTcUdTSWIzRFFFQkJRVUFNSUdSTVFzd0NRWURWUVFHRXdKVlV6RVRNQkVHCkExVUVDQXdLUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnd3TlUyRnVJRVp5WVc1amFYTmpiekVOTUFzR0ExVUVDZ3dFVDJ0MFlURVUKTUJJR0ExVUVDd3dMVTFOUFVISnZkbWxrWlhJeEVqQVFCZ05WQkFNTUNXSnZiM1J6ZEhKaGNERWNNQm9HQ1NxR1NJYjNEUUVKQVJZTgphVzVtYjBCdmEzUmhMbU52YlRBZUZ3MHhNREEyTVRneE56VTJOVEphRncwME1EQTJNVGd4TnpVM05USmFNSUdSTVFzd0NRWURWUVFHCkV3SlZVekVUTUJFR0ExVUVDQXdLUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnd3TlUyRnVJRVp5WVc1amFYTmpiekVOTUFzR0ExVUUKQ2d3RVQydDBZVEVVTUJJR0ExVUVDd3dMVTFOUFVISnZkbWxrWlhJeEVqQVFCZ05WQkFNTUNXSnZiM1J6ZEhKaGNERWNNQm9HQ1NxRwpTSWIzRFFFSkFSWU5hVzVtYjBCdmEzUmhMbU52YlRDQm56QU5CZ2txaGtpRzl3MEJBUUVGQUFPQmpRQXdnWWtDZ1lFQWtIUDlpSGNYCnRja0ZVMmliNkpWUTNVUDRaMDFoc1QyWXh1ZUhqa2pxL0Z3N1o3aEtueDMwb0JBeFl6dGxUZitsSVpjVWlRVnc5WUF2NVVKNC9uaEMKSTdiQmM2SVVuYnIzUTZ5NitjbWJ1VlVnaVhodzVsTTR5a2tMQ2dLZ01uVk5hcHRYNGt4RGY0ZGVRbEorS0pLeFdDWjN5TXR5aEZYZQo0bUtvbUwxQzRyc0NBd0VBQVRBTkJna3Foa2lHOXcwQkFRVUZBQU9CZ1FBbVJEODBnMVYzU2lNYjdEdHZwMG1CZWk5elczaEw3Y0RYCnV2ZFlBMXU0Vmhhais1bWppYVJ5QlFDODJLaU1UZ1l4MGExOWZGeUVRWHlwcGU0Nzh3MUNBUFFBbjhIWEFMVHR3WUJpMUgvbHpKRTUKaU5MRE55dWVtTjhaUVV5TTFNeVNYbDhiVmNRSE4wZmpnOWVmWG9kYkw4VzVhLzZwTW9Mc2NaaDJHTUsrVkE9PTwvZHM6WDUwOUNlcnRpZmljYXRlPjwvZHM6WDUwOURhdGE+PC9kczpLZXlJbmZvPjwvZHM6U2lnbmF0dXJlPjxzYW1sMnA6U3RhdHVzIHhtbG5zOnNhbWwycD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIj48c2FtbDJwOlN0YXR1c0NvZGUgVmFsdWU9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpzdGF0dXM6U3VjY2VzcyIvPjwvc2FtbDJwOlN0YXR1cz48c2FtbDI6QXNzZXJ0aW9uIHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIiBJRD0iaWQxMzgxNTM1NTY2NzE0OTg5MDAwMjMxOTQzNDgiIElzc3VlSW5zdGFudD0iMjAxMy0xMC0xMVQyMzo1Mjo0Ni42OThaIiBWZXJzaW9uPSIyLjAiPjxzYW1sMjpJc3N1ZXIgRm9ybWF0PSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6bmFtZWlkLWZvcm1hdDplbnRpdHkiIHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIj5odHRwOi8vd3d3Lm9rdGEuY29tL2tiaXlNT0lNSE5MR0hKTkNCVVJNPC9zYW1sMjpJc3N1ZXI+PGRzOlNpZ25hdHVyZSB4bWxuczpkcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnIyI+PGRzOlNpZ25lZEluZm8+PGRzOkNhbm9uaWNhbGl6YXRpb25NZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiLz48ZHM6U2lnbmF0dXJlTWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI3JzYS1zaGExIi8+PGRzOlJlZmVyZW5jZSBVUkk9IiNpZDEzODE1MzU1NjY3MTQ5ODkwMDAyMzE5NDM0OCI+PGRzOlRyYW5zZm9ybXM+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNlbnZlbG9wZWQtc2lnbmF0dXJlIi8+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIvPjwvZHM6VHJhbnNmb3Jtcz48ZHM6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI3NoYTEiLz48ZHM6RGlnZXN0VmFsdWU+LzRvakxrbFE3SDVLVlQvYXhMSk9nVEttQkRRPTwvZHM6RGlnZXN0VmFsdWU+PC9kczpSZWZlcmVuY2U+PC9kczpTaWduZWRJbmZvPjxkczpTaWduYXR1cmVWYWx1ZT5OSGNxQVJGT2FHd2N3bVlyRklMeTlGendnWDZDenVMcDlhQm5UZkxXdFpic0tOWFRvSS92dG9GVjhDMzFEOUlKVlVoOVhNcmtQckN4Q2VZZGczdnlUbmx5dG80SlJ1TlR2elhncFBEcGlDZ2RGaWhHeFJPRk9JVFhoQkdkRFNXbVdkYkNuQWJDZzBWT2xlZHNnQjMxTExudXFJaGIxSGJGVy9ZeFBhUTRmbEU9PC9kczpTaWduYXR1cmVWYWx1ZT48ZHM6S2V5SW5mbz48ZHM6WDUwOURhdGE+PGRzOlg1MDlDZXJ0aWZpY2F0ZT5NSUlDblRDQ0FnYWdBd0lCQWdJR0FTbE1OYXdETUEwR0NTcUdTSWIzRFFFQkJRVUFNSUdSTVFzd0NRWURWUVFHRXdKVlV6RVRNQkVHCkExVUVDQXdLUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnd3TlUyRnVJRVp5WVc1amFYTmpiekVOTUFzR0ExVUVDZ3dFVDJ0MFlURVUKTUJJR0ExVUVDd3dMVTFOUFVISnZkbWxrWlhJeEVqQVFCZ05WQkFNTUNXSnZiM1J6ZEhKaGNERWNNQm9HQ1NxR1NJYjNEUUVKQVJZTgphVzVtYjBCdmEzUmhMbU52YlRBZUZ3MHhNREEyTVRneE56VTJOVEphRncwME1EQTJNVGd4TnpVM05USmFNSUdSTVFzd0NRWURWUVFHCkV3SlZVekVUTUJFR0ExVUVDQXdLUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnd3TlUyRnVJRVp5WVc1amFYTmpiekVOTUFzR0ExVUUKQ2d3RVQydDBZVEVVTUJJR0ExVUVDd3dMVTFOUFVISnZkbWxrWlhJeEVqQVFCZ05WQkFNTUNXSnZiM1J6ZEhKaGNERWNNQm9HQ1NxRwpTSWIzRFFFSkFSWU5hVzVtYjBCdmEzUmhMbU52YlRDQm56QU5CZ2txaGtpRzl3MEJBUUVGQUFPQmpRQXdnWWtDZ1lFQWtIUDlpSGNYCnRja0ZVMmliNkpWUTNVUDRaMDFoc1QyWXh1ZUhqa2pxL0Z3N1o3aEtueDMwb0JBeFl6dGxUZitsSVpjVWlRVnc5WUF2NVVKNC9uaEMKSTdiQmM2SVVuYnIzUTZ5NitjbWJ1VlVnaVhodzVsTTR5a2tMQ2dLZ01uVk5hcHRYNGt4RGY0ZGVRbEorS0pLeFdDWjN5TXR5aEZYZQo0bUtvbUwxQzRyc0NBd0VBQVRBTkJna3Foa2lHOXcwQkFRVUZBQU9CZ1FBbVJEODBnMVYzU2lNYjdEdHZwMG1CZWk5elczaEw3Y0RYCnV2ZFlBMXU0Vmhhais1bWppYVJ5QlFDODJLaU1UZ1l4MGExOWZGeUVRWHlwcGU0Nzh3MUNBUFFBbjhIWEFMVHR3WUJpMUgvbHpKRTUKaU5MRE55dWVtTjhaUVV5TTFNeVNYbDhiVmNRSE4wZmpnOWVmWG9kYkw4VzVhLzZwTW9Mc2NaaDJHTUsrVkE9PTwvZHM6WDUwOUNlcnRpZmljYXRlPjwvZHM6WDUwOURhdGE+PC9kczpLZXlJbmZvPjwvZHM6U2lnbmF0dXJlPjxzYW1sMjpTdWJqZWN0IHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIj48c2FtbDI6TmFtZUlEIEZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4xOm5hbWVpZC1mb3JtYXQ6ZW1haWxBZGRyZXNzIj5mcmVkZmxpbnRzdG9uZUByaW5jb25oaWxsLmNvbTwvc2FtbDI6TmFtZUlEPjxzYW1sMjpTdWJqZWN0Q29uZmlybWF0aW9uIE1ldGhvZD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmNtOmJlYXJlciI+PHNhbWwyOlN1YmplY3RDb25maXJtYXRpb25EYXRhIE5vdE9uT3JBZnRlcj0iMjAxMy0xMC0xMVQyMzo1Nzo0Ni43MTdaIiBSZWNpcGllbnQ9Imh0dHBzOi8vb2t0YXBzMS5va3RhLmNvbS9hdXRoL3NhbWwyMC9rYXJsIi8+PC9zYW1sMjpTdWJqZWN0Q29uZmlybWF0aW9uPjwvc2FtbDI6U3ViamVjdD48c2FtbDI6Q29uZGl0aW9ucyBOb3RCZWZvcmU9IjIwMTMtMTAtMTFUMjM6NDc6NDYuNzE3WiIgTm90T25PckFmdGVyPSIyMDEzLTEwLTExVDIzOjU3OjQ2LjcxN1oiIHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIj48c2FtbDI6QXVkaWVuY2VSZXN0cmljdGlvbj48c2FtbDI6QXVkaWVuY2U+aHR0cHM6Ly93d3cub2t0YS5jb20vc2FtbDIvc2VydmljZS1wcm92aWRlci9zcGJmZHY5MnFLU0JUR1VZR1VQTzwvc2FtbDI6QXVkaWVuY2U+PC9zYW1sMjpBdWRpZW5jZVJlc3RyaWN0aW9uPjwvc2FtbDI6Q29uZGl0aW9ucz48c2FtbDI6QXV0aG5TdGF0ZW1lbnQgQXV0aG5JbnN0YW50PSIyMDEzLTEwLTExVDIzOjUyOjQ2LjY5OFoiIFNlc3Npb25JbmRleD0iaWQxMzgxNTM1NTY2Njk4LjY4MDQ3Mjc3IiB4bWxuczpzYW1sMj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiI+PHNhbWwyOkF1dGhuQ29udGV4dD48c2FtbDI6QXV0aG5Db250ZXh0Q2xhc3NSZWY+dXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFjOmNsYXNzZXM6UGFzc3dvcmRQcm90ZWN0ZWRUcmFuc3BvcnQ8L3NhbWwyOkF1dGhuQ29udGV4dENsYXNzUmVmPjwvc2FtbDI6QXV0aG5Db250ZXh0Pjwvc2FtbDI6QXV0aG5TdGF0ZW1lbnQ+PC9zYW1sMjpBc3NlcnRpb24+PC9zYW1sMnA6UmVzcG9uc2U+\"/>\n            <input name=\"RelayState\" type=\"hidden\" value=\"/some/deep/link\"/>\n        </form>\n\n        <script type=\"text/javascript\">\n\n          $(function(){\n            document.getElementById('appForm').submit();\n          });\n      </script>\n  </div>\n</body>\n</html>\n```\n\nExample:\n```http\nGET /app/template_wsfed/k9x69oiKYSUWMIYZBKTY/sso/wsfed/passive?wa=wsignin1.0&wtrealm=https%3A%2F%2Fexample.com%2FApp%2F&wctx=rm%3D0%26id%3Dpassive%26ru%3D%2FApp%2FHome%2FAbout&sessionToken=0HsohZYpJgMSHwmL9TQy7RRzuY HTTP/1.1\nHost: your-domain.okta.com\nAccept: */*\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.800Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":86,"estimatedTokens":2537}}137{"id":"doc-secure_your_inline_and_event_hooks_okta_develope-814e5f18","source":"documentation","title":"Secure your inline and event hooks | Okta Developer","url":"https://developer.okta.com/docs/guides/secure-hooks/nodejs/main/","text":"Example:\n```javascript\n// Basic Auth\nconst basicAuth = require('express-basic-auth');\n\napp.use(basicAuth( { authorizer: myAuthorizer } ))\n\nfunction myAuthorizer(username, password) {\n    const userMatches = basicAuth.safeCompare(username, process.env.USER)\n    const passwordMatches = basicAuth.safeCompare(password, process.env.PASSWORD)\n\n    return userMatches & passwordMatches\n}\n```\n\nExample:\n```javascript\nconst OktaJwtVerifier = require(\"@okta/jwt-verifier\");\n\nconst oktaJwtVerifier = new OktaJwtVerifier({\n  issuer: 'https://{yourOktaDomain}/oauth2/default' // required\n});\n\nconst authenticationRequired = async (request, response, next) => {\n  const authHeader = request.headers.authorization || '';\n  const match = authHeader.match(/Bearer (.+)/);\n  if (!match) {\n    return response.status(401).send();\n  }\n\n  try {\n    const accessToken = match[1];\n    console.log(accessToken);\n    if (!accessToken) {\n      console.log(\"no access token\");\n      return request.status(401, 'Not authorized').send();\n    }\n    request.jwt = await oktaJwtVerifier.verifyAccessToken(accessToken,  'api://default');\n    console.log('token is valid');\n    next();\n  } catch (err) {\n    console.warn('token failed validation');\n    return response.status(401).send(err.message);\n  }\n};\n\napp.all('*', authenticationRequired); // Require authentication for all routes\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.800Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":50,"estimatedTokens":343}}138{"id":"doc-create_a_registration_inline_hook-c33f9759","source":"documentation","title":"Create a registration inline hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/inlinehook/webhooks/create-registration-hook","text":"Example:\n```text\n{\n  \"eventId\": \"04Dmt8BcT_aEgM\",\n  \"eventTime\": \"2022-04-25T17:35:27.000Z\",\n  \"eventType\": \"com.okta.user.pre-registration\",\n  \"eventTypeVersion\": 1,\n  \"contentType\": \"application/json\",\n  \"cloudEventVersion\": 0.1,\n  \"source\": \"regt4qeBKU29vSoPz0g3\",\n  \"requestType\": \"self.service.registration\",\n  \"data\": {\n    \"context\": { … },\n    \"userProfile\": { … },\n    \"action\": \"ALLOW\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"commands\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.801Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":119}}139{"id":"doc-create_a_telephony_inline_hook-634f7076","source":"documentation","title":"Create a telephony inline hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/inlinehook/webhooks/createtelephonyinlinehook","text":"Example:\n```text\n{\n  \"eventId\": \"uS5871kJThSsU8qlA1LTcg\",\n  \"eventTime\": \"2020-01-17T21:23:56.000Z\",\n  \"eventType\": \"com.okta.telephony.provider\",\n  \"eventTypeVersion\": \"1.0\",\n  \"contentType\": \"application/json\",\n  \"cloudEventVersion\": \"0.1\",\n  \"source\": \"https://${yourOktaDomain}/api/v1/inlineHooks/cbl2ad6phv9fsPLcF0g7\",\n  \"data\": {\n    \"context\": { … },\n    \"userProfile\": { … },\n    \"messageProfile\": { … }\n  }\n}\n```\n\nExample:\n```text\n{\n  \"commands\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.801Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":123}}140{"id":"doc-create_a_token_inline_hook-5d4c8350","source":"documentation","title":"Create a token inline hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/inlinehook/webhooks/createtokeninlinehook","text":"Example:\n```text\n{\n  \"source\": \"https://{yourOktaDomain}/oauth2/default/v1/authorize\",\n  \"eventId\": \"3OWo4oo-QQ-rBWfRyTmQYw\",\n  \"eventTime\": \"2019-01-15T23:20:47.000Z\",\n  \"eventTypeVersion\": \"1.0\",\n  \"cloudEventVersion\": \"0.1\",\n  \"contentType\": \"application/json\",\n  \"eventType\": \"com.okta.oauth2.tokens.transform\",\n  \"data\": {\n    \"context\": { … },\n    \"identity\": { … },\n    \"access\": { … },\n    \"refresh_token\": { … }\n  }\n}\n```\n\nExample:\n```text\n{\n  \"commands\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.802Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":128}}141{"id":"doc-create_a_password_import_inline_hook-034bcbb6","source":"documentation","title":"Create a password import inline hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/inlinehook/webhooks/createpasswordimportinlinehook","text":"Example:\n```text\n{\n  \"eventId\": \"3o9jBzq1SmOGmmsDsqyyeQ\",\n  \"eventTime\": \"2020-01-17T21:23:56.000Z\",\n  \"eventType\": \"com.okta.user.credential.password.import\",\n  \"eventTypeVersion\": \"1.0\",\n  \"contentType\": \"application/json\",\n  \"cloudEventVersion\": \"0.1\",\n  \"source\": \"https://${yourOktaDomain}/api/v1/inlineHooks/cbl2ad6phv9fsPLcF0g7\",\n  \"data\": {\n    \"context\": { … },\n    \"action\": { … }\n  }\n}\n```\n\nExample:\n```text\n{\n  \"commands\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.802Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":118}}142{"id":"doc-add_the_identity_engine_sdk_to_your_app_okta_dev-55e446c7","source":"documentation","title":"Add the Identity Engine SDK to your app | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-add-sdk-to-your-app/android/main/","text":"Example:\n```shell\nimplementation \"com.okta.idx.sdk:okta-idx-java-api:{okta.idx.sdk.version}\"\n```\n\nExample:\n```java\nimport com.okta.commons.lang.Strings;\nimport com.okta.idx.sdk.api.client.Authenticator;\nimport com.okta.idx.sdk.api.client.IDXAuthenticationWrapper;\nimport com.okta.idx.sdk.api.client.ProceedContext;\nimport com.okta.idx.sdk.api.model.FormValue;\nimport com.okta.idx.sdk.api.response.AuthenticationResponse;\nimport com.okta.idx.sdk.api.response.TokenResponse;\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.802Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":123}}143{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-4906d90e","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/ios/main/","text":"Example:\n```swift\nlet configuration = IDXClient.Configuration(\n    issuer: \"https:///<#oktaDomain#>/oauth2/default\", // e.g. https://foo.okta.com/oauth2/default, https://foo.okta.com/oauth2/ausar5vgt5TSDsfcJ0h7\n    clientId: \"<#clientId#>\",\n    clientSecret: nil, // Optional, only required for confidential clients.\n    scopes: [\"openid\", \"email\", \"offline_access\", \"<#otherScopes#>\"],\n    redirectUri: \"<#redirectUri#>\") // Must match the redirect uri in client app settings/console\n```\n\nExample:\n```swift\ndependencies: [\n    .Package(url: \"https://github.com/okta/okta-idx-swift.git\", majorVersion: <majorVersion>, minor: <minor>)\n]\n```\n\nExample:\n```swift\nimport OktaIdx\n```\n\nExample:\n```swift\nIDXClient.start(with: configuration) { (client, error) in\n    guard let client = client else {\n        // Handle the error\n        return\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.803Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":215}}144{"id":"doc-basic_sign_in_with_the_password_factor_okta_deve-72db0b6b","source":"documentation","title":"Basic sign in with the password factor | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-in/ios/main/","text":"Example:\n```swift\nself.authHandler = BasicLogin(configuration: configuration)\n```\n\nExample:\n```swift\nself.authHandler.login(username: \"user@example.com\",\n                       password: \"secretPassword\")\n{ result in\n    switch result {\n    case .success(let token):\n        print(token)\n    case .failure(let error):\n        print(error)\n    }\n}\n```\n\nExample:\n```swift\npublic class BasicLogin {\n    let configuration: IDXClient.Configuration\n    var username: String?\n    var password: String?\n\n    var client: IDXClient?\n    var completion: ((Result<IDXClient.Token, LoginError>) -> Void)?\n\n    public init(configuration: IDXClient.Configuration) {\n        self.configuration = configuration\n    }\n\n    // Public method that initiates the login flow.\n    public func login(username: String, password: String, completion: @escaping (Result<IDXClient.Token, LoginError>) -> Void) {\n        self.username = username\n        self.password = password\n        self.completion = completion\n\n        // Initiates the creation of an IDX client.\n        IDXClient.start(with: configuration) { (client, error) in\n            guard let client = client else {\n                self.finish(with: error)\n                return\n            }\n\n            self.client = client\n\n            // Assign ourselves as the delegate receiver, to be notified\n            // when responses or errors are returned.\n            client.delegate = self\n\n            // Calls the IDX API to receive the first IDX response.\n            client.resume(completion: nil)\n        }\n    }\n\n    public enum LoginError: Error {\n        case error(_ error: Error)\n        case message(_ string: String)\n        case cannotProceed\n        case unexpectedAuthenticator\n        case unknown\n    }\n}\n\n/// Implementation details of performing basic username/password authentication.\nextension BasicLogin: IDXClientDelegate {\n    // Delegate method sent when an error occurs.\n    public func idx(client: IDXClient, didReceive error: Error) {\n        finish(with: error)\n    }\n\n    // Delegate method sent when a token is successfully exchanged.\n    public func idx(client: IDXClient, didReceive token: IDXClient.Token) {\n        finish(with: token)\n    }\n\n    // Delegate method invoked whenever an IDX response is received, regardless\n    // of what action or remediation is called.\n    public func idx(client: IDXClient, didReceive response: IDXClient.Response) {\n        // If a response is successful, immediately exchange it for a token.\n        guard !response.isLoginSuccessful else {\n            response.exchangeCode(completion: nil)\n            return\n        }\n\n        // If no remediations are present, abort the login process.\n        guard let remediation = response.remediations.first else {\n            finish(with: .cannotProceed)\n            return\n        }\n\n        // If any error messages are returned, report them and abort the process.\n        if let message = response.messages.allMessages.first {\n            finish(with: .message(message.message))\n            return\n        }\n\n        // Handle the various remediation choices the client may be presented with within this policy.\n        switch remediation.type {\n        case .identify:\n            remediation.identifier?.value = username\n            remediation.credentials?.passcode?.value = password\n            remediation.proceed(completion: nil)\n\n        // In identify-first policies, the password is supplied on a separate response.\n        case .challengeAuthenticator:\n            guard remediation.authenticators.first?.type == .password else {\n                finish(with: .unexpectedAuthenticator)\n                return\n            }\n\n            remediation.credentials?.passcode?.value = password\n            remediation.proceed(completion: nil)\n\n        default:\n            finish(with: .cannotProceed)\n        }\n    }\n}\n\n// Utility functions to help return responses to the caller.\nextension BasicLogin {\n    func finish(with error: Error?) {\n        if let error = error {\n            finish(with: .error(error))\n        } else {\n            finish(with: .unknown)\n        }\n    }\n\n    func finish(with error: LoginError) {\n        completion?(.failure(error))\n        completion = nil\n    }\n\n    func finish(with token: IDXClient.Token) {\n        completion?(.success(token))\n        completion = nil\n    }\n}\n```\n\nExample:\n```swift\nguard let url = URL(string: \"https://${yourOktaDomain}/oauth2/default/v1/userinfo\") else { return }\nvar request = URLRequest(url: url)\nrequest.addValue(\"Bearer \\(token.accessToken)\", forHTTPHeaderField: \"Authorization\")\nURLSession.shared.dataTask(with: request) { (data, response, error) in\n    guard let data = data else {\n        // Handle error\n        return\n    }\n    if let json = try? JSONSerialization.jsonObject(with: data, options: []) {\n        // Use the User info JSON\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.803Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":161,"estimatedTokens":1224}}145{"id":"doc-basic_sign_in_with_the_password_factor_okta_deve-2e9cdc39","source":"documentation","title":"Basic sign in with the password factor | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-in/android/main/","text":"Example:\n```kotlin\nval beginResponse = idxAuthenticationWrapper.begin()\nval beginProceedContext = beginResponse.proceedContext\n```\n\nExample:\n```java\nfun signIn() {\n   if (!viewModel.isValid()) return\n\n   formAction.proceed {\n      // Need to begin the transaction again, in case an error occurred.\n      val beginResponse = authenticationWrapper.begin()\n      handleTerminalTransitions(beginResponse)?.let { return@proceed it }\n\n      val options = AuthenticationOptions(\n         viewModel.username, viewModel.password)\n      val response = authenticationWrapper.authenticate(\n         options, beginResponse.proceedContext)\n      handleKnownTransitions(response)\n   }\n}\n```\n\nExample:\n```kotlin\nfun handleTerminalTransitions(response: AuthenticationResponse)\n: ProceedTransition? {\n   if (response.tokenResponse != null) {\n      return ProceedTransition.TokenTransition(response.tokenResponse)\n   }\n   if (response.authenticationStatus == AuthenticationStatus.SKIP_COMPLETE) {\n      return ProceedTransition.TerminalTransition(\n         response.errors ?: emptyList())\n   }\n   if (response.errors.isNotEmpty()) {\n      return ProceedTransition.ErrorTransition(response.errors)\n   }\n   return null\n}\n```\n\nExample:\n```kotlin\nfun handleKnownTransitions(\n   response: AuthenticationResponse): ProceedTransition {\n   handleTerminalTransitions(response)?.let { return it }\n\n   return when (response.authenticationStatus) {\n         AuthenticationStatus.AWAITING_PASSWORD_RESET -> {\n            registerPasswordForm(response, \"Reset my Password\")\n         }\n         AuthenticationStatus.PASSWORD_EXPIRED -> {\n            registerPasswordForm(response, \"Password Expired\")\n         }\n         AuthenticationStatus.AWAITING_AUTHENTICATOR_SELECTION -> {\n            selectAuthenticatorForm(response, \"Select Authenticator\")\n         }\n         AuthenticationStatus.AWAITING_AUTHENTICATOR_VERIFICATION -> {\n            verifyForm(response)\n         }\n         AuthenticationStatus.AWAITING_AUTHENTICATOR_ENROLLMENT_SELECTION -> {\n            selectAuthenticatorForm(response, \"Enroll Authenticator\")\n         }\n         AuthenticationStatus.AWAITING_AUTHENTICATOR_VERIFICATION_DATA -> {\n            // This is possible when email is not required and\n            // you're authenticating without verifying email.\n            if (response.authenticators.size == 1) {\n               selectFactorForm(\n                  response,\n                  response.authenticators.first().factors,\n                  \"Select Factor\")\n            } else {\n               unsupportedPolicy()\n            }\n         }\n         else -> unsupportedPolicy()\n   }\n}\n```\n\nExample:\n```kotlin\nif (response.errors.isNotEmpty()) {\n    return ProceedTransition.ErrorTransition(response.errors)\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.804Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":90,"estimatedTokens":695}}146{"id":"doc-create_a_user_import_inline_hook-023e06aa","source":"documentation","title":"Create a user import inline hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/inlinehook/webhooks/createuserimportinlinehook","text":"Example:\n```text\n{\n  \"source\": \"cal7eyxOsnb20oWbZ0g4\",\n  \"eventId\": \"JUGOUiYZTaKPmH6db0nDag\",\n  \"eventTime\": \"2019-02-27T20:59:04.000Z\",\n  \"eventTypeVersion\": \"1.0\",\n  \"cloudEventVersion\": \"0.1\",\n  \"eventType\": \"com.okta.import.transform\",\n  \"contentType\": \"application/json\",\n  \"data\": {\n    \"context\": { … },\n    \"action\": { … },\n    \"appUser\": { … },\n    \"user\": { … }\n  }\n}\n```\n\nExample:\n```text\n{\n  \"commands\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.804Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":113}}147{"id":"doc-sign_in_with_password_and_email_factors_okta_dev-e9dfc027","source":"documentation","title":"Sign in with password and email factors | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-pwd-email/android/main/","text":"Example:\n```kotlin\nval beginResponse = idxAuthenticationWrapper.begin()\nval proceedContext = beginResponse.proceedContext\n```\n\nExample:\n```kotlin\nval authenticationResponse =\n     idxAuthenticationWrapper.authenticate(AuthenticationOptions(username, password)), proceedContext)\n```\n\nExample:\n```kotlin\nval authenticationResponse = idxAuthenticationWrapper.selectAuthenticator(proceedContext, authenticator)\n```\n\nExample:\n```kotlin\nval verifyAuthenticatorOptions = VerifyAuthenticatorOptions(code)\nval authenticationResponse =\n   idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.804Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":25,"estimatedTokens":159}}148{"id":"doc-user_password_recovery_okta_developer-d7864b7f","source":"documentation","title":"User password recovery | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-pwd-recovery-mfa/android/main/","text":"Example:\n```kotlin\nval beginResponse = idxAuthenticationWrapper.begin()\nval proceedContext = beginResponse.proceedContext\n```\n\nExample:\n```kotlin\nval authenticationResponse = idxAuthenticationWrapper.recoverPassword(username, proceedContext)\n```\n\nExample:\n```kotlin\nval authenticationResponse = idxAuthenticationWrapper.selectAuthenticator(proceedContext, authenticator)\n```\n\nExample:\n```kotlin\nval verifyAuthenticatorOptions = VerifyAuthenticatorOptions(code)\nval authenticationResponse =\n   idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions)\n```\n\nExample:\n```kotlin\nval verifyAuthenticatorOptions = VerifyAuthenticatorOptions(newPassword)\nval authenticationResponse = idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.805Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":30,"estimatedTokens":204}}149{"id":"doc-add_a_group-14c69692","source":"documentation","title":"Add a group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/addgroup","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/groups \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"profile\": {\n      \"description\": \"All users West of The Rockies\",\n      \"name\": \"West Coast users\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00g1emaKYZTWRYYRRTSK\",\n  \"created\": \"2015-02-06T10:11:28.000Z\",\n  \"lastUpdated\": \"2015-10-05T19:16:43.000Z\",\n  \"lastMembershipUpdated\": \"2015-11-28T19:15:32.000Z\",\n  \"objectClass\": [\n    \"okta:user_group\"\n  ],\n  \"type\": \"OKTA_GROUP\",\n  \"profile\": {\n    \"name\": \"West Coast users\",\n    \"description\": \"All users West of The Rockies\"\n  },\n  \"_links\": {\n    \"logo\": [ … ],\n    \"users\": { … },\n    \"apps\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.805Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":177}}150{"id":"doc-replace_a_group-3ea37002","source":"documentation","title":"Replace a group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/replacegroup","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"profile\": {\n      \"description\": \"All users West of The Rockies\",\n      \"name\": \"West Coast users\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00g1emaKYZTWRYYRRTSK\",\n  \"created\": \"2015-02-06T10:11:28.000Z\",\n  \"lastUpdated\": \"2015-10-05T19:16:43.000Z\",\n  \"lastMembershipUpdated\": \"2015-11-28T19:15:32.000Z\",\n  \"objectClass\": [\n    \"okta:user_group\"\n  ],\n  \"type\": \"OKTA_GROUP\",\n  \"profile\": {\n    \"name\": \"West Coast users\",\n    \"description\": \"All users West of The Rockies\"\n  },\n  \"_links\": {\n    \"logo\": [ … ],\n    \"users\": { … },\n    \"apps\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":182}}151{"id":"doc-assign_a_user_to_a_group-43c9e6d7","source":"documentation","title":"Assign a user to a group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/assignusertogroup","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/users/00ub0oNGTSWTBKOLGLNR\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}152{"id":"doc-unassign_a_user_from_a_group-e1fc1309","source":"documentation","title":"Unassign a user from a group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/unassignuserfromgroup","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/users/00ub0oNGTSWTBKOLGLNR\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}153{"id":"doc-delete_a_group-ccba47d6","source":"documentation","title":"Delete a group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/deletegroup","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}154{"id":"doc-list_all_groups-45e8894c","source":"documentation","title":"List all groups","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/listgroups","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/groups?search=type%20eq%20%22APP_GROUP%22&filter=id%20eq%20%2200g1emaKYZTWRYYRRTSK%22&q=West%26limit%3D10&after=string&limit=10000&expand=string&sortBy=lastUpdated&sortOrder=asc&fields=id%2Ctype'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"00g1emaKYZTWRYYRRTSK\",\n    \"created\": \"2015-02-06T10:11:28.000Z\",\n    \"lastUpdated\": \"2015-10-05T19:16:43.000Z\",\n    \"lastMembershipUpdated\": \"2015-11-28T19:15:32.000Z\",\n    \"objectClass\": [ … ],\n    \"type\": \"OKTA_GROUP\",\n    \"profile\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"00garwpuyxHaWOkdV0g4\",\n    \"created\": \"2015-08-15T19:15:17.000Z\",\n    \"lastUpdated\": \"2015-11-18T04:02:19.000Z\",\n    \"lastMembershipUpdated\": \"2015-08-15T19:15:17.000Z\",\n    \"objectClass\": [ … ],\n    \"type\": \"APP_GROUP\",\n    \"profile\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":219}}155{"id":"doc-retrieve_a_group-bca81bb1","source":"documentation","title":"Retrieve a group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/getgroup","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK\n```\n\nExample:\n```text\n{\n  \"id\": \"00g1emaKYZTWRYYRRTSK\",\n  \"created\": \"2015-02-06T10:11:28.000Z\",\n  \"lastUpdated\": \"2015-10-05T19:16:43.000Z\",\n  \"lastMembershipUpdated\": \"2015-11-28T19:15:32.000Z\",\n  \"objectClass\": [\n    \"okta:user_group\"\n  ],\n  \"type\": \"OKTA_GROUP\",\n  \"profile\": {\n    \"name\": \"West Coast users\",\n    \"description\": \"All users West of The Rockies\"\n  },\n  \"_links\": {\n    \"logo\": [ … ],\n    \"users\": { … },\n    \"apps\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":141}}156{"id":"doc-list_all_group_rules_for_a_user-1bd61e18","source":"documentation","title":"List all group rules for a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/listgrouprulesforuseringroup","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/users/00ub0oNGTSWTBKOLGLNR/group-rules\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"string\",\n    \"name\": \"string\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.807Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":58}}157{"id":"doc-list_all_member_users-18c213ce","source":"documentation","title":"List all member users","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/listgroupusers","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/users?after=string&limit=1000&expand=string&search=profile.firstName%20sw%20%22jo%22'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"00u118oQYT4TBTemp0g4\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2022-04-04T15:56:05.000Z\",\n    \"activated\": null,\n    \"statusChanged\": null,\n    \"lastLogin\": \"2022-05-04T19:50:52.000Z\",\n    \"lastUpdated\": \"2022-05-05T18:15:44.000Z\",\n    \"passwordChanged\": \"2022-04-04T16:00:22.000Z\",\n    \"type\": { … },\n    \"profile\": { … },\n    \"credentials\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.807Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":155}}158{"id":"doc-list_all_assigned_apps-e226210d","source":"documentation","title":"List all assigned apps","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/group/other/listassignedapplicationsforgroup","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/apps?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0oafwvZDWJKVLDCUWUAC\",\n    \"name\": \"template_basic_auth\",\n    \"label\": \"Sample Basic Auth App\",\n    \"status\": \"ACTIVE\",\n    \"lastUpdated\": \"2013-09-30T00:56:52.000Z\",\n    \"created\": \"2013-09-30T00:56:52.000Z\",\n    \"accessibility\": { … },\n    \"visibility\": { … },\n    \"features\": [],\n    \"signOnMode\": \"BASIC_AUTH\",\n    \"credentials\": { … },\n    \"settings\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.809Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":144}}159{"id":"doc-clear_the_managed_chrome_profile_browsing_data-2fbd9708","source":"documentation","title":"Clear the managed Chrome profile browsing data","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/other/clearchromedata","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/clear-chrome-data'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}160{"id":"doc-list_all_user_blocks-b3031eae","source":"documentation","title":"List all user blocks","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/other/listuserblocks","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/{id}/blocks'\n```\n\nExample:\n```text\n[\n  {\n    \"type\": \"DEVICE_BASED\",\n    \"appliesTo\": \"UNKNOWN_DEVICES\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":51}}161{"id":"doc-delete_a_user-7806626d","source":"documentation","title":"Delete a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/other/deleteuser","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/users/{id}?sendEmail=false' \\\n  -H 'Prefer: respond-async'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":46}}162{"id":"doc-replace_a_user-82d4307a","source":"documentation","title":"Replace a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/other/replaceuser","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/users/{id}?strict=true' \\\n  -H 'Content-Type: application/json' \\\n  -H 'If-Match: W/\"1234567890abcdef\"' \\\n  -d '{\n    \"credentials\": {\n      \"password\": {\n        \"value\": \"tlpWENT2m\"\n      },\n      \"recovery_question\": {\n        \"question\": \"Who'\\''s a major player in the cowboy scene?\",\n        \"answer\": \"Annie Oakley\"\n      },\n      \"provider\": {\n        \"type\": \"OKTA\",\n        \"name\": \"OKTA\"\n      }\n    },\n    \"profile\": {\n      \"firstName\": \"Isaac\",\n      \"lastName\": \"Brock\",\n      \"email\": \"isaac.brock@example.com\",\n      \"login\": \"isaac.brock@example.com\",\n      \"mobilePhone\": \"555-415-1337\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2013-06-24T16:39:18.000Z\",\n  \"activated\": \"2013-06-24T16:39:19.000Z\",\n  \"statusChanged\": \"2013-06-24T16:39:19.000Z\",\n  \"lastLogin\": \"2013-06-24T17:39:19.000Z\",\n  \"lastUpdated\": \"2013-07-02T21:36:25.344Z\",\n  \"passwordChanged\": \"2013-07-02T21:36:25.344Z\",\n  \"profile\": {\n    \"login\": \"isaac.brock@example.com\",\n    \"firstName\": \"Isaac\",\n    \"lastName\": \"Brock\",\n    \"nickName\": \"issac\",\n    \"displayName\": \"Isaac Brock\",\n    \"email\": \"isaac.brock@example.com\",\n    \"secondEmail\": \"isaac@example.org\",\n    \"profileUrl\": \"http://www.example.com/profile\",\n    \"preferredLanguage\": \"en-US\",\n    \"userType\": \"Employee\",\n    \"organization\": \"Okta\",\n    \"title\": \"Director\",\n    \"division\": \"R&D\",\n    \"department\": \"Engineering\",\n    \"costCenter\": \"10\",\n    \"employeeNumber\": \"187\",\n    \"mobilePhone\": \"+1-555-415-1337\",\n    \"primaryPhone\": \"+1-555-514-1337\",\n    \"streetAddress\": \"301 Brannan St.\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"zipCode\": \"94107\",\n    \"countryCode\": \"US\"\n  },\n  \"credentials\": {\n    \"password\": {},\n    \"recovery_question\": { … },\n    \"provider\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":78,"estimatedTokens":482}}163{"id":"doc-create_a_user-f890fd39","source":"documentation","title":"Create a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/other/createuser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users?activate=true&provider=false&nextLogin=changePassword' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"profile\": {\n      \"firstName\": \"Isaac\",\n      \"lastName\": \"Brock\",\n      \"email\": \"isaac.brock@example.com\",\n      \"login\": \"isaac.brock@example.com\",\n      \"mobilePhone\": \"555-415-1337\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"STAGED\",\n  \"created\": \"2013-07-02T21:36:25.344Z\",\n  \"activated\": null,\n  \"statusChanged\": null,\n  \"lastLogin\": null,\n  \"lastUpdated\": \"2013-07-02T21:36:25.344Z\",\n  \"passwordChanged\": null,\n  \"profile\": {\n    \"firstName\": \"Isaac\",\n    \"lastName\": \"Brock\",\n    \"email\": \"isaac.brock@example.com\",\n    \"login\": \"isaac.brock@example.com\",\n    \"mobilePhone\": \"555-415-1337\"\n  },\n  \"credentials\": {\n    \"provider\": { … }\n  },\n  \"_links\": {\n    \"activate\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.815Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":45,"estimatedTokens":239}}164{"id":"doc-update_a_user-78260cc8","source":"documentation","title":"Update a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user/other/updateuser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}?strict=true' \\\n  -H 'Content-Type: application/json' \\\n  -H 'If-Match: W/\"1234567890abcdef\"' \\\n  -d '{\n    \"profile\": {\n      \"firstName\": \"Isaac\",\n      \"email\": \"isaac.brock@update.example.com\",\n      \"mobilePhone\": \"555-415-1337\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2013-06-24T16:39:18.000Z\",\n  \"activated\": \"2013-06-24T16:39:19.000Z\",\n  \"statusChanged\": \"2013-06-24T16:39:19.000Z\",\n  \"lastLogin\": \"2013-06-24T17:39:19.000Z\",\n  \"lastUpdated\": \"2013-07-02T21:36:25.344Z\",\n  \"passwordChanged\": \"2013-07-02T21:36:25.344Z\",\n  \"profile\": {\n    \"login\": \"isaac.brock@example.com\",\n    \"firstName\": \"Isaac\",\n    \"lastName\": \"Brock\",\n    \"nickName\": \"issac\",\n    \"displayName\": \"Isaac Brock\",\n    \"email\": \"isaac.brock@example.com\",\n    \"secondEmail\": \"isaac@example.org\",\n    \"profileUrl\": \"http://www.example.com/profile\",\n    \"preferredLanguage\": \"en-US\",\n    \"userType\": \"Employee\",\n    \"organization\": \"Okta\",\n    \"title\": \"Director\",\n    \"division\": \"R&D\",\n    \"department\": \"Engineering\",\n    \"costCenter\": \"10\",\n    \"employeeNumber\": \"187\",\n    \"mobilePhone\": \"+1-555-415-1337\",\n    \"primaryPhone\": \"+1-555-514-1337\",\n    \"streetAddress\": \"301 Brannan St.\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"zipCode\": \"94107\",\n    \"countryCode\": \"US\"\n  },\n  \"credentials\": {\n    \"password\": {},\n    \"recovery_question\": { … },\n    \"provider\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.816Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":63,"estimatedTokens":392}}165{"id":"doc-map_a_resource_to_a_policy-950f2b07","source":"documentation","title":"Map a resource to a policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/mapresourcetopolicy","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/mappings \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"resourceId\": \"string\",\n    \"resourceType\": \"ACCESS_POLICY\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"policyId\",\n  \"_links\": {\n    \"application\": { … },\n    \"self\": { … },\n    \"policy\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":94}}166{"id":"doc-deactivate_a_policy-f9da944d","source":"documentation","title":"Deactivate a policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/deactivatepolicy","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":43}}167{"id":"doc-activate_a_policy-f86743e9","source":"documentation","title":"Activate a policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/activatepolicy","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":43}}168{"id":"doc-list_all_resources_mapped_to_a_policy-93346186","source":"documentation","title":"List all resources mapped to a policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/listpolicymappings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/mappings\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"policyId\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":51}}169{"id":"doc-configure_multiple_identifiers_okta_developer-339ca31d","source":"documentation","title":"Configure multiple identifiers | Okta Developer","url":"https://developer.okta.com/docs/guides/multiple-identifiers/main/","text":"Example:\n```bash\ncurl -i -X POST \\\n  'https://{yourOktaDomain}/api/v1/policies?activate=true' \\\n  -H 'Authorization: YOUR_API_KEY_HERE' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"description\": \"Creates a policy for multiple identifiers\",\n    \"name\": \"Multiple identifiers\",\n    \"priority\": \"Last / Lowest Priority, for example `1`\",\n    \"status\": \"ACTIVE\",\n    \"system\": true,\n    \"type\": \"PROFILE_ENROLLMENT\",\n    \"conditions\": {\n      \"people\": {\n          \"groups\": {\n            \"include\": [\n                \"{groupId}\"\n                ]\n            }\n        }\n    }\n  }'\n```\n\nExample:\n```bash\ncurl -i -X PUT \\\n  'https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}' \\\n  -H 'Authorization: YOUR_API_KEY_HERE' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n\"type\": \"PROFILE_ENROLLMENT\",\n\"status\": \"ACTIVE\",\n\"name\": \"Multiple identifiers\",\n\"actions\": {\n    \"profileEnrollment\": {\n        \"allowedIdentifiers\":[\"father_name\",\"middle_name\", \"login\"]\n        }\n    }\n}\n'\n```\n\nExample:\n```bash\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/apps/{appId}/policies/{policyId}' \\\n  -H 'Authorization: YOUR_API_KEY_HERE'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":52,"estimatedTokens":293}}170{"id":"doc-create_a_policy_simulation-6dadc604","source":"documentation","title":"Create a policy simulation","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/createpolicysimulation","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/policies/simulate?expand=EVALUATED' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"policyType\": [\n      \"OKTA_SIGN_ON\",\n      \"MFA_ENROLL\"\n    ],\n    \"appInstance\": \"0oa4eroj3nYCIJIW70g7\",\n    \"policyContext\": {\n      \"groups\": {\n        \"ids\": [\n          \"00g4eralvekR5RLuS0g7\",\n          \"00g4eralvekR5RLuS0g8\"\n        ]\n      },\n      \"risk\": {\n        \"level\": \"LOW\"\n      },\n      \"zones\": {\n        \"ids\": [\n          \"nzo4eralxcRnbIHYJ0g7\"\n        ]\n      },\n      \"device\": {\n        \"platform\": \"IOS\",\n        \"registered\": true,\n        \"managed\": true\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"evaluation\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.819Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":48,"estimatedTokens":193}}171{"id":"doc-retrieve_a_policy_resource_mapping-b6e3c176","source":"documentation","title":"Retrieve a policy resource mapping","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/getpolicymapping","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/mappings/maplr2rLjZ6NsGn1P0g3\n```\n\nExample:\n```text\n{\n  \"id\": \"policyId\",\n  \"_links\": {\n    \"application\": { … },\n    \"self\": { … },\n    \"policy\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.819Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":69}}172{"id":"doc-build_your_scim_api_service_okta_developer-ac9f2d96","source":"documentation","title":"Build your SCIM API service | Okta Developer","url":"https://developer.okta.com/docs/guides/scim-provisioning-integration-prepare/main/","text":"Example:\n```html\nhttps://{orgSubDomain}-admin.{oktaEnvironment}.com/admin/app/{appName}/instance/{instanceID}/#tab-general\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.819Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":35}}173{"id":"doc-configure_a_device_signal_collection_policy_okta-956fa941","source":"documentation","title":"Configure a device signal collection policy | Okta Developer","url":"https://developer.okta.com/docs/guides/device-signal-collection-policies/main/","text":"Example:\n```json\n{\n    \"name\": \"Device signal collection policy\",\n    \"priority\": \"1\",\n    \"status\": \"ACTIVE\",\n    \"system\": false,\n    \"type\": \"ACCESS_POLICY\",\n    \"conditions\": null,\n    \"_embedded\": {\n        \"resourceType\": \"string\",\n        \"property1\": {},\n        \"property2\": {}\n    }\n}\n```\n\nExample:\n```json\n{\n    \"name\": \"Registered devices rule\",\n    \"type\": \"ACCESS_POLICY\",\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\": [\n                    \"{groupId}\"\n                ]\n            }\n        },\n        \"device\": {\n            \"registered\": \"true\",\n            \"managed\": \"false\"\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"factorMode\": \"2FA\",\n                \"type\": \"ASSURANCE\",\n                \"reauthenticateIn\": \"PT0S\",\n                \"constraints\": [\n                    {\n                        \"possession\": {\n                            \"required\": true,\n                            \"userPresence\": \"OPTIONAL\"\n                        }\n                    }\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"name\": \"Device signal collection policy\",\n    \"type\": \"DEVICE_SIGNAL_COLLECTION\",\n    \"status\": \"INACTIVE\"\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"rst8jpde42q54pj090g7\",\n    \"status\": \"INIACTIVE\",\n    \"name\": \"Device signal collection policy\",\n    \"priority\": 1,\n    \"system\": false,\n    \"conditions\": null,\n    \"created\": \"2025-06-05T18:52:21.000Z\",\n    \"lastUpdated\": \"2025-06-05T18:52:21.000Z\",\n    \"_links\": {\n        \"mappings\": {\n            \"href\": \"https://{yourOktaDomain}m/api/v1/policies/rst8jpde42q54pj090g7/mappings\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"POST\"\n                ]\n            }\n        },\n        \"self\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/rst8jpde42q54pj090g7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"rules\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/rst8jpde42q54pj090g7/rules\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"POST\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/rst8jpde42q54pj090g7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"DEVICE_SIGNAL_COLLECTION\"\n}\n```\n\nExample:\n```json\n{\n  \"resourceId\": \"{AuthenticationPolicyId}\",\n  \"resourceType\": \"APP\"\n}\n```\n\nExample:\n```json\n{\n    \"name\": \"Device signal collection rule\",\n    \"actions\": {\n        \"deviceSignalCollection\": {\n            \"deviceContextProviders\": [\n                {\n                    \"key\": \"OKTA_VERIFY\",\n                    \"userIdentification\": \"IGNORE\"\n                }\n            ]\n        }\n    },\n    \"conditions\": {\n        \"platform\": {\n            \"include\": [\n                {\n                    \"type\": \"MOBILE\",\n                    \"os\": {\n                        \"type\": \"IOS\"\n                    }\n                },\n                {\n                    \"type\": \"MOBILE\",\n                    \"os\": {\n                        \"type\": \"ANDROID\"\n                    }\n                }\n            ]\n        }\n    },\n    \"type\": \"DEVICE_SIGNAL_COLLECTION\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":163,"estimatedTokens":904}}174{"id":"doc-delete_a_policy_rule-b037f111","source":"documentation","title":"Delete a policy rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/deletepolicyrule","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/rules/ruld3hJ7jZh4fn0st0g3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}175{"id":"doc-delete_a_policy_resource_mapping-234a389b","source":"documentation","title":"Delete a policy resource mapping","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/deletepolicyresourcemapping","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/mappings/maplr2rLjZ6NsGn1P0g3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}176{"id":"doc-list_all_policy_rules-56edd0e2","source":"documentation","title":"List all policy rules","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/listpolicyrules","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/rules?limit=string'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0prh1sd28q5sXGW08697\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Test rule\",\n    \"priority\": 0,\n    \"created\": \"2024-04-25T17:35:02.000Z\",\n    \"lastUpdated\": \"2024-04-25T17:35:02.000Z\",\n    \"system\": false,\n    \"conditions\": { … },\n    \"actions\": { … },\n    \"_links\": { … },\n    \"type\": \"SIGN_ON\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":119}}177{"id":"doc-replace_a_policy_rule-a8762f47","source":"documentation","title":"Replace a policy rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/replacepolicyrule","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/rules/ruld3hJ7jZh4fn0st0g3 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"2FA with Post Auth KMSI prompt enabled\",\n    \"actions\": {\n      \"appSignOn\": {\n        \"access\": \"ALLOW\",\n        \"verificationMethod\": {\n          \"factorMode\": \"2FA\",\n          \"type\": \"ASSURANCE\",\n          \"reauthenticateIn\": \"PT2H\",\n          \"constraints\": {\n            \"knowledge\": {\n              \"excludedAuthenticationMethods\": {\n                \"key\": \"okta_password\"\n              }\n            }\n          }\n        },\n        \"keepMeSignedIn\": {\n          \"postAuth\": \"ALLOWED\",\n          \"postAuthPromptFrequency\": \"P30D\"\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rul7yut96gmsOzKAA1d6\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"2FA with Post Auth KMSI prompt enabled\",\n  \"priority\": 0,\n  \"created\": \"2023-05-01T21:13:15.000Z\",\n  \"lastUpdated\": \"2023-05-01T21:13:15.000Z\",\n  \"system\": false,\n  \"conditions\": null,\n  \"actions\": {\n    \"appSignOn\": { … }\n  },\n  \"type\": \"ACCESS_POLICY\",\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.821Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":54,"estimatedTokens":296}}178{"id":"doc-retrieve_a_policy_rule-f56f70b9","source":"documentation","title":"Retrieve a policy rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/getpolicyrule","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/rules/ruld3hJ7jZh4fn0st0g3\n```\n\nExample:\n```text\n{\n  \"id\": \"rulezuo73ySrHndLb1d7\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Rule with conditions - exclude a group\",\n  \"priority\": 0,\n  \"created\": \"2024-04-25T17:35:02.000Z\",\n  \"lastUpdated\": \"2024-04-25T17:35:02.000Z\",\n  \"system\": false,\n  \"conditions\": {\n    \"people\": { … },\n    \"network\": { … },\n    \"platform\": { … },\n    \"riskScore\": { … },\n    \"userType\": { … },\n    \"elCondition\": { … }\n  },\n  \"actions\": {\n    \"appSignOn\": { … },\n    \"type\": \"ACCESS_POLICY\",\n    \"_links\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.821Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":163}}179{"id":"doc-deactivate_a_policy_rule-a973ac59","source":"documentation","title":"Deactivate a policy rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/deactivatepolicyrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/rules/ruld3hJ7jZh4fn0st0g3/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.821Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}180{"id":"doc-list_all_apps_mapped_to_a_policy-87a45f7a","source":"documentation","title":"List all apps mapped to a policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/listpolicyapps","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/app\n```\n\nExample:\n```text\n[\n  {\n    \"accessibility\": { … },\n    \"created\": \"2019-08-24T14:15:22Z\",\n    \"expressConfiguration\": { … },\n    \"features\": [ … ],\n    \"id\": \"string\",\n    \"label\": \"string\",\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"licensing\": { … },\n    \"orn\": \"string\",\n    \"profile\": {},\n    \"signOnMode\": \"AUTO_LOGIN\",\n    \"status\": \"ACTIVE\",\n    \"universalLogout\": \"ACTIVE\",\n    \"visibility\": { … },\n    \"_embedded\": { … },\n    \"_links\": { … },\n    \"credentials\": { … },\n    \"name\": \"string\",\n    \"settings\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.821Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":34,"estimatedTokens":165}}181{"id":"doc-event_hooks_with_ngrok_okta_developer-3aee828b","source":"documentation","title":"Event hooks with ngrok | Okta Developer","url":"https://developer.okta.com/docs/guides/event-hook-ngrok/nodejs/main/","text":"Example:\n```bash\n>sample-app\n```\n\nExample:\n```bash\n>npm init --yes\n```\n\nExample:\n```bash\n>npm install express\n>npm install express-basic-auth\n>npm install body-parser\n```\n\nExample:\n```html\n<html>\n<head>\n<meta charset=\"utf-8\" />\n<title>Simple Test Application</title>\n</head>\n<body>\n<h1>Congratulations, your simple test application is working.</h1>\n<p>See the following links for more information:\n<ul>\n    <li><a href=\"https://developer.okta.com/docs/concepts/event-hooks\">\n    Event hook concepts</a></li>\n    <li><a href=\"https://developer.okta.com/docs/guides/event-hook-implementation/\">\n    Event hook guides</a></li>\n</ul>\n</p>\n</body>\n</html>\n```\n\nExample:\n```javascript\nvar express = require('express');\nvar app = express();\n\nvar bodyParser = require(\"body-parser\");\napp.use(bodyParser.json());\n\n\napp.get('/', function (request, response) {\n    response.sendFile(__dirname + '/index.html');\n});\n\n//Basic Auth\nvar basicAuth = require('express-basic-auth');\napp.use(basicAuth({\nusers: { 'admin': 'supersecret' },\nunauthorizedResponse: req => 'Unauthorized'\n}));\n\n\n// Event hook initial verification\n// Extract header 'x-okta-verification-challenge' from Okta request\n// Return value as JSON object verification\napp.get(\"/userCreated\", (request, response) => {\n    var returnValue = {\n    \"verification\": request.headers['x-okta-verification-challenge'],\n    };\n    response.json(returnValue);\n});\n\n//userCreated Event request, POST from Okta\n\napp.post(\"/userCreated\", (request, response) => {\n\n    var newUser = request.body.data.events[0].target[0][\"alternateId\"];\n    console.log(\" \");\n    if (newUser == null){\n        console.log('No user in request! Update the JSON target field with a value.');\n    } else {\n        console.log('The user ' + newUser +\n        ' has been added to the Okta org!');\n    }\n    response.sendStatus(200);\n   }\n);\n\nvar server = app.listen(8082, function () {\n    console.log('Node server is running on http://localhost:8082');\n});\n```\n\nExample:\n```bash\n>node server.js\n```\n\nExample:\n```shell\nsample-app > ./ngrok http 8082\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.822Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":101,"estimatedTokens":520}}182{"id":"doc-activate_a_policy_rule-b53ebc94","source":"documentation","title":"Activate a policy rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/activatepolicyrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/rules/ruld3hJ7jZh4fn0st0g3/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.822Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}183{"id":"doc-configure_the_identity_claims_sourcing_policy_ok-e30bfd72","source":"documentation","title":"Configure the identity claims sourcing policy | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-identity-claims-sourcing-policy/main/","text":"Example:\n```bash\ncurl -i -X GET \\\n'https://{yourOktaDomain}/api/v1/policies?type=IDENTITY_CLAIM_SOURCING'\n```\n\nExample:\n```json\n[\n    {\n    \"id\": \"policyId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Default Policy\",\n    \"priority\": 1,\n    \"system\": true,\n    \"conditions\": null,\n    \"created\": \"2026-03-23T12:00:00.000Z\",\n    \"lastUpdated\": \"2026-03-23T12:00:00.000Z\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\"\n                ]\n            }\n        },\n        \"rules\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"IDENTITY_CLAIM_SOURCING\"\n    }\n]\n```\n\nExample:\n```bash\ncurl -i -X GET \\\n'https://{yourOktaDomain}/api/v1/policies/{policyId}/rules'\n```\n\nExample:\n```json\n[\n{\n    \"id\": \"rul971e5smrwQB7Tz0g7\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Catch-all rule\",\n    \"priority\": 99,\n    \"created\": \"2026-03-23T16:00:00.000Z\",\n    \"lastUpdated\": \"2026-03-23T16:00:00.000Z\",\n    \"system\": true,\n    \"conditions\": null,\n    \"actions\": {\n        \"claimSourcing\": {\n            \"redirectType\": \"IDP_DISCOVERY\",\n            \"refresh\": {\n                \"redirectType\": \"NONE\",\n                \"filter\": null\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\"\n                ]\n            }\n        }\n    },\n    \"type\": \"IDENTITY_CLAIM_SOURCING\"\n}\n]\n```\n\nExample:\n```bash\ncurl -i -X PUT \\\n'https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}' \\\n-H 'Content-Type: application/json' \\\n-d '{\n    \"type\": \"IDENTITY_CLAIM_SOURCING\",\n    \"name\": \"Catch-all rule\",\n    \"status\": \"ACTIVE\",\n    \"priority\": 99,\n    \"conditions\": null,\n    \"actions\": {\n    \"claimSourcing\": {\n        \"redirectType\": \"IDP_DISCOVERY\",\n        \"refresh\": {\n        \"redirectType\": \"FIXED\",\n        \"filter\": {\n            \"include\": [\n            {\n                \"id\": \"idpId1\",\n                \"name\": \"idpName1\"\n            },\n            {\n                \"id\": \"idpId2\",\n                \"name\": \"idpName2\"\n            }\n            ]\n        }\n        }\n    }\n    }\n}'\n```\n\nExample:\n```json\n{\n    \"id\": \"rulIdentityClaimSourcing\",\n    \"name\": \"Catch-all rule\",\n    \"status\": \"ACTIVE\",\n    \"priority\": 99,\n    \"created\": \"2026-02-17T15:12:42.000Z\",\n    \"lastUpdated\": \"2026-02-19T20:59:00.000Z\",\n    \"system\": true,\n    \"type\": \"IDENTITY_CLAIM_SOURCING\",\n    \"conditions\": null,\n    \"actions\": {\n        \"claimSourcing\": {\n        \"redirectType\": \"IDP_DISCOVERY\",\n        \"refresh\": {\n            \"redirectType\": \"FIXED\",\n            \"filter\": {\n            \"include\": [\n                {\n                \"id\": \"idpId1\",\n                \"name\": \"idpName1\"\n                },\n                {\n                \"id\": \"idpId2\",\n                \"name\": \"idpName2\"\n                }\n            ]\n            }\n        }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n        \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}\",\n        \"hints\": {\n            \"allow\": [\n            \"GET\",\n            \"PUT\"\n            ]\n        }\n        }\n    }\n    }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.823Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":167,"estimatedTokens":889}}184{"id":"doc-configure_an_okta_account_management_policy_okta-d781153f","source":"documentation","title":"Configure an Okta account management policy | Okta Developer","url":"https://developer.okta.com/docs/guides/okta-account-management-policy/main/","text":"Example:\n```bash\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/policies?type=ACCESS_POLICY' \\\n  -H 'Authorization: SSWS {apiToken}'\n```\n\nExample:\n```json\n{\n        \"id\": \"rst5czs80uoZHaUxK0g7\",\n        \"status\": \"ACTIVE\",\n        \"name\": \"Okta Account Management Policy\",\n        \"description\": \"This policy defines how users must authenticate for authenticator enrollment, password reset, or unlock account. Password policy rules control whether to enforce this policy for password reset and unlock account.\",\n        \"priority\": 1,\n        \"system\": false,\n        \"conditions\": null,\n        \"created\": \"2024-07-08T17:31:39.000Z\",\n        \"lastUpdated\": \"2024-07-08T17:31:39.000Z\",\n        \"_links\": {\n            \"self\": {\n                \"href\": \"https://{yourSubdomain}/api/v1/policies/rst5czs80uoZHaUxK0g7\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\"\n                    ]\n                }\n            },\n            \"rules\": {\n                \"href\": \"https://{yourSubdomain}/api/v1/policies/rst5czs80uoZHaUxK0g7/rules\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\",\n                        \"POST\"\n                    ]\n                }\n            }\n        },\n        \"_embedded\": {\n            \"resourceType\": \"END_USER_ACCOUNT_MANAGEMENT\"\n        },\n        \"type\": \"ACCESS_POLICY\"\n    }\n```\n\nExample:\n```bash\n\"elCondition\": {\n    \"condition\": \"accessRequest.operation == \\'enroll\\' || accessRequest.operation == \\'unenroll\\' && ( accessRequest.authenticator.key == \\'okta_verify\\' || accessRequest.authenticator.key == \\'webauthn\\' || accessRequest.authenticator.key == \\'smart_card_idp\\' || accessRequest.authenticator.key == \\'yubikey_token\\' )\"\n},\n```\n\nExample:\n```bash\ncurl --location --globoff 'https://{yourOktaDomain}/api/v1/policies/{policyId/rules?activate=true' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: application/json' \\\n--header 'Authorization: SSWS {apiToken}' \\\n--data '{\n    \"system\": false,\n    \"type\": \"ACCESS_POLICY\",\n    \"id\": \"rul2p9xACRTDf9qZV0g4\",\n    \"name\": \"Test rule\",\n    \"priority\": 1,\n    \"status\": \"ACTIVE\",\n    \"created\": \"2024-07-16T20:27:25.000Z\",\n    \"lastUpdated\": \"2024-07-16T20:27:25.000Z\",\n    \"conditions\": {\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        },\n        \"network\": {\n          \"connection\": \"ZONE\",\n          \"include\": [\n            \"nzo5dtwhzly9mXvlN0g7\"\n            ]\n        },\n        \"people\": {\n            \"users\": {\n                \"exclude\": [],\n                \"include\": []\n            },\n            \"groups\": {\n                \"include\": [],\n                \"exclude\": []\n            }\n        },\n        \"riskScore\": {\n            \"level\": \"LOW\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == \\'enroll\\' || accessRequest.operation == \\'unenroll\\' && ( accessRequest.authenticator.key == \\'okta_verify\\' || accessRequest.authenticator.key == \\'webauthn\\' || accessRequest.authenticator.key == \\'smart_card_idp\\' || accessRequest.authenticator.key == \\'yubikey_token\\' )\"\n        },\n        \"platform\": {\n            \"include\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"factorMode\": \"2FA\",\n                \"reauthenticateIn\": \"PT0S\",\n                \"constraints\": [\n                    {\n                        \"possession\": {\n                            \"userPresence\": \"OPTIONAL\"\n                        }\n                    }\n                ],\n                \"type\": \"ASSURANCE\"\n            }\n        }\n    },\n    \"initialMode\": false,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://brent-stellar-org.trexcloud.com/api/v1/policies/rst1k0mWSjjvYzqQv0g4/rules/rul2p9xACRTDf9qZV0g4\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://brent-stellar-org.trexcloud.com/api/v1/policies/rst1k0mWSjjvYzqQv0g4/rules/rul2p9xACRTDf9qZV0g4/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}'\n```\n\nExample:\n```bash\ncurl --location --request PUT '{yourSubdomain}/api/v1/policies/{policyId}/rules/{ruleId}' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS {apiToken}' \\\n--data '{\n    \"id\": \"{ruleId}\",\n    \"name\": \"sdfsd\",\n    \"priority\": ,\n    \"status\": \"ACTIVE\",\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        }\n    },\n    \"actions\": {\n        \"passwordChange\": {\n            \"access\": \"ALLOW\"\n        },\n        \"selfServicePasswordReset\": {\n            \"access\": \"ALLOW\",\n            \"requirement\": {\n                \"primary\": {\n                    \"methods\": [\n                        \"email\"\n                    ]\n                },\n                \"stepUp\": {\n                    \"required\": false\n                },\n                \"accessControl\": \"AUTH_POLICY\"\n            }\n        },\n        \"selfServiceUnlock\": {\n            \"access\": \"ALLOW\"\n        }\n    },\n    \"system\": false,\n    \"type\": \"PASSWORD\"\n}'\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/policies/{policyId}/rules' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS {apiToken}' \\\n--data '{\n    \"name\": \"Require registered device for password recovery\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\": []\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.authenticator.key == '\\''okta_password'\\'' && accessRequest.operation == '\\''recover'\\''\"\n        },\n        \"device\": {\n            \"registered\": true,\n            \"managed\": true,\n            \"assurance\": {\n                \"include\": []\n            }\n        },\n        \"actions\": {\n            \"appSignOn\": {\n                \"access\": \"ALLOW\",\n                \"verificationMethod\": {\n                    \"factorMode\": \"2FA\",\n                    \"type\": \"ASSURANCE\",\n                    \"reauthenticateIn\": \"PT1H\",\n                    \"constraints\": [\n                        {\n                            \"possession\": {\n                                \"required\": true,\n                                \"phishingResistant\": \"REQUIRED\",\n                                \"userPresence\": \"OPTIONAL\"\n                            }\n                        }\n                    ]\n                }\n            }\n        }\n    }\n}'\n```\n\nExample:\n```bash\ncurl --location --request PUT 'http://devorg1.okta1.com:1802/api/v1/policies/{policyId}/rules/{ruleId}' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS {apiToken}' \\\n--data '{\n    \"id\": \"<RULE_ID>\",\n    \"name\": \"sdfsd\",\n    \"priority\": 1,\n    \"status\": \"ACTIVE\",\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        }\n    },\n    \"actions\": {\n        \"passwordChange\": {\n            \"access\": \"ALLOW\"\n        },\n        \"selfServicePasswordReset\": {\n            \"access\": \"ALLOW\",\n            \"requirement\": {\n                \"primary\": {\n                    \"methods\": [\n                        \"email\"\n                    ]\n                },\n                \"stepUp\": {\n                    \"required\": false\n                },\n                \"accessControl\": \"LEGACY\"\n            }\n        },\n        \"selfServiceUnlock\": {\n            \"access\": \"ALLOW\"\n        }\n    },\n    \"system\": false,\n    \"type\": \"PASSWORD\"\n}'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.824Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":292,"estimatedTokens":2068}}185{"id":"doc-configure_a_device_assurance_policy_okta_develop-1ab9e037","source":"documentation","title":"Configure a device assurance policy | Okta Developer","url":"https://developer.okta.com/docs/guides/device-assurance-policies/main/","text":"Example:\n```bash\ncurl -i -X POST \\\n  https://${yourOktaDomain}/api/v1/device-assurances \\\n  -H 'Accept: application/json' \\\n  -H 'Content-Type: application/json' \\\n  -H 'Authorization: Bearer ${yourOktaAccessToken}' \\\n  -d '{\n    \"name\": \"Device assurance iOS\",\n    \"osVersion\": {\n      \"dynamicVersionRequirement\": {\n        \"type\": \"EXACT_ANY_SUPPORTED\",\n        \"latestSecurityPatch\": true\n      }\n    },\n    \"jailbreak\": false,\n    \"platform\": \"IOS\"\n  }'\n```\n\nExample:\n```bash\ncurl -i -X PUT \\\n  https://${yourOktaDomain}/api/v1/device-assurances/${deviceAssuranceId} \\\n  -H 'Accept: application/json' \\\n  -H 'Content-Type: application/json' \\\n  -H 'Authorization: Bearer ${yourOktaAccessToken}' \\\n  -d '{\n    \"name\": \"Device assurance iOS\",\n    \"osVersion\": {\n      \"dynamicVersionRequirement\": {\n        \"type\": \"EXACT_ANY_SUPPORTED\",\n        \"latestSecurityPatch\": true\n      }\n    },\n    \"jailbreak\": false,\n    \"platform\": \"IOS\",\n    \"gracePeriod\": {\n      \"type\": \"BY_DURATION\",\n      \"expiry\": \"P30D\"\n    },\n    \"displayRemediationMode\": \"SHOW\"\n  }'\n```\n\nExample:\n```bash\ncurl -i -X PUT \\\n  \"https://${yourOktaDomain}/api/v1/policies/${policyId}/rules/${ruleId}\" \\\n  -H \"Accept: application/json\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer ${yourOktaAccessToken}\" \\\n  -d '{\n    \"name\": \"Device Assurance Rule\",\n    \"type\": \"ACCESS_POLICY\",\n    \"priority\": 1,\n    \"conditions\": {\n      \"device\": {\n        \"managed\": true,\n        \"registered\": true,\n        \"assurance\": {\n          \"include\": [\"dae3m8o4rWhwReDeM1c5\"]\n        }\n      }\n    },\n    \"actions\": {\n      \"appSignOn\": {\n        \"access\": \"ALLOW\",\n        \"verificationMethod\": {\n          \"factorMode\": \"2FA\",\n          \"type\": \"ASSURANCE\",\n          \"reauthenticateIn\": \"PT2H\",\n          \"constraints\": [\n            {\n              \"knowledge\": {\n                \"types\": [\"password\"]\n              }\n            }\n          ]\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer ${yourOktaAccessToken}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?filter=event_type+eq+%22device.assurance.policy.add%22\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.824Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":95,"estimatedTokens":558}}186{"id":"doc-create_a_policy_rule-ebef4f98","source":"documentation","title":"Create a policy rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policy/other/createpolicyrule","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/policies/00plrilJ7jZ66Gn0X0g3/rules?activate=true&limit=string' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"system\": false,\n    \"type\": \"ACCESS_POLICY\",\n    \"name\": \"Rule with conditions\",\n    \"conditions\": {\n      \"userType\": {\n        \"include\": [],\n        \"exclude\": [\n          \"otyezu4m0xN6w5JEa1d7\"\n        ]\n      },\n      \"network\": {\n        \"connection\": \"ZONE\",\n        \"exclude\": [\n          \"00u7yq5goxNFTiMjW1d7\"\n        ]\n      },\n      \"office365Client\": {\n        \"include\": [\n          \"WEB\",\n          \"MODERN_AUTH\",\n          \"AAD_JOIN\"\n        ]\n      },\n      \"riskScore\": {\n        \"level\": \"ANY\"\n      },\n      \"people\": {\n        \"users\": {\n          \"exclude\": [\n            \"00u7yq5goxNFTiMjW1d7\"\n          ],\n          \"include\": []\n        },\n        \"groups\": {\n          \"include\": [\n            \"00g9i12jictsYdZdi1d7\"\n          ],\n          \"exclude\": []\n        }\n      },\n      \"platform\": {\n        \"include\": [\n          {\n            \"type\": \"MOBILE\",\n            \"os\": {\n              \"type\": \"IOS\"\n            }\n          },\n          {\n            \"type\": \"MOBILE\",\n            \"os\": {\n              \"type\": \"ANDROID\"\n            }\n          },\n          {\n            \"type\": \"DESKTOP\",\n            \"os\": {\n              \"type\": \"MACOS\"\n            }\n          }\n        ]\n      },\n      \"elCondition\": {\n        \"condition\": \"security.risk.level == '\\''HIGH'\\''\"\n      }\n    },\n    \"actions\": {\n      \"appSignOn\": {\n        \"access\": \"ALLOW\",\n        \"verificationMethod\": {\n          \"factorMode\": \"2FA\",\n          \"reauthenticateIn\": \"PT2H\",\n          \"constraints\": [\n            {\n              \"knowledge\": {\n                \"reauthenticateIn\": \"PT2H\",\n                \"types\": [\n                  \"password\"\n                ]\n              }\n            }\n          ],\n          \"type\": \"ASSURANCE\"\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rul7yut96gmsOzKAA1d6\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Passwordless 2FA\",\n  \"priority\": 0,\n  \"created\": \"2023-05-01T21:13:15.000Z\",\n  \"lastUpdated\": \"2023-05-01T21:13:15.000Z\",\n  \"system\": false,\n  \"conditions\": null,\n  \"actions\": {\n    \"appSignOn\": { … }\n  },\n  \"type\": \"ACCESS_POLICY\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":117,"estimatedTokens":585}}187{"id":"doc-configure_a_user_identification_policy_okta_deve-c3650704","source":"documentation","title":"Configure a user identification policy | Okta Developer","url":"https://developer.okta.com/docs/guides/user-identification-policies/main/","text":"Example:\n```json\n[\n    {\n        \"type\": \"USER_IDENTIFICATION\",\n        \"id\": \"policyId\",\n        \"status\": \"ACTIVE\",\n        \"name\": \"Policy name\",\n        \"description\": \"Policy description\",\n        \"priority\": 1,\n        \"system\": false,\n        \"conditions\": null,\n        \"created\": \"2025-04-25T17:35:02.000Z\",\n        \"lastUpdated\": \"2025-04-25T17:35:02.000Z\",\n        \"_links\": {\n            \"self\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\"\n                    ]\n                }\n            },\n            \"rules\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\",\n                        \"POST\"\n                    ]\n                }\n            },\n            \"mappings\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/mappings\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\"\n                    ]\n                }\n            }\n        }\n    }\n]\n```\n\nExample:\n```json\n[\n    {\n        \"type\": \"ACCESS_POLICY\",\n        \"id\": \"appSignOnPolicyId\",\n        \"status\": \"ACTIVE\",\n        \"name\": \"App sign-in policy\",\n        \"description\": \"App sign-in policy description\",\n        \"priority\": 1,\n        \"system\": false,\n        \"conditions\": null,\n        \"created\": \"2025-04-25T17:35:02.000Z\",\n        \"lastUpdated\": \"2025-04-25T17:35:02.000Z\",\n        \"_links\": {\n            \"self\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{appSignOnPolicyId}\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\",\n                        \"PUT\",\n                        \"DELETE\"\n                    ]\n                }\n            },\n            \"rules\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{appSignOnPolicyId}/rules\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\",\n                        \"POST\"\n                    ]\n                }\n            },\n            \"mappings\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{appSignOnPolicyId}/mappings\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\",\n                        \"POST\"\n                    ]\n                }\n            },\n            \"userIdentificationPolicy\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\"\n                    ]\n                }\n            },\n            \"deactivate\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{appSignOnPolicyId}/lifecycle/deactivate\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n            }\n        },\n        \"_embedded\": {\n            \"resourceType\": \"APP\"\n        }\n    }\n]\n```\n\nExample:\n```json\n[\n    {\n        \"id\": \"ruleId\",\n        \"status\": \"ACTIVE\",\n        \"name\": \"Catch-all Rule\",\n        \"priority\": 99,\n        \"created\": \"2025-04-25T17:35:02.000Z\",\n        \"lastUpdated\": \"2025-04-25T17:35:02.000Z\",\n        \"system\": true,\n        \"conditions\": null,\n        \"actions\": {\n            \"userIdentification\": {\n                \"settings\": {}\n            }\n        },\n        \"type\": \"USER_IDENTIFICATION\",\n        \"_links\": {\n            \"self\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}\",\n                \"hints\": {\n                    \"allow\": [\n                        \"GET\",\n                        \"PUT\"\n                    ]\n                }\n            }\n        }\n    }\n]\n```\n\nExample:\n```json\n{\n    \"name\": \"User Identification Rule\",\n    \"conditions\": {\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"platform\": {\n            \"include\": [\n                {\n                    \"type\": \"DESKTOP\",\n                    \"os\": {\n                        \"type\": \"WINDOWS\"\n                    }\n                }\n            ]\n        }\n    },\n    \"actions\": {\n        \"userIdentification\": {\n            \"settings\": {\n                \"securityMethods\": {\n                    \"fastpass\": {\n                        \"showSignInButton\": \"ALWAYS\"\n                    }\n                }\n            }\n        }\n    },\n    \"type\": \"USER_IDENTIFICATION\"\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"User Identification Rule\",\n    \"priority\": 0,\n    \"created\": \"2025-04-25T17:35:02.000Z\",\n    \"lastUpdated\": \"2025-04-25T17:35:02.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"platform\": {\n            \"include\": [\n                {\n                    \"type\": \"DESKTOP\",\n                    \"os\": {\n                        \"type\": \"WINDOWS\"\n                    }\n                }\n            ]\n        }\n    },\n    \"actions\": {\n        \"userIdentification\": {\n            \"settings\": {\n                \"securityMethods\": {\n                    \"fastpass\": {\n                        \"showSignInButton\": \"ALWAYS\"\n                    }\n                }\n            }\n        }\n    },\n    \"type\": \"USER_IDENTIFICATION\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"name\": \"User Identification Rule\",\n    \"conditions\": {\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"platform\": {\n            \"include\": [\n                {\n                    \"type\": \"DESKTOP\",\n                    \"os\": {\n                        \"type\": \"WINDOWS\"\n                    }\n                }\n            ]\n        }\n    },\n    \"actions\": {\n        \"userIdentification\": {\n            \"settings\": {\n                \"securityMethods\": {\n                    \"fastpass\": {\n                        \"showSignInButton\": \"NEVER\"\n                    }\n                }\n            }\n        }\n    },\n    \"type\": \"USER_IDENTIFICATION\"\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"User Identification Rule\",\n    \"priority\": 0,\n    \"created\": \"2025-04-25T17:35:02.000Z\",\n    \"lastUpdated\": \"2025-04-25T17:35:02.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"platform\": {\n            \"include\": [\n                {\n                    \"type\": \"DESKTOP\",\n                    \"os\": {\n                        \"type\": \"WINDOWS\"\n                    }\n                }\n            ]\n        }\n    },\n    \"actions\": {\n        \"userIdentification\": {\n            \"settings\": {\n                \"securityMethods\": {\n                    \"fastpass\": {\n                        \"showSignInButton\": \"NEVER\"\n                    }\n                }\n            }\n        }\n    },\n    \"type\": \"USER_IDENTIFICATION\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":334,"estimatedTokens":2053}}188{"id":"doc-update_recovery_question-7886812d","source":"documentation","title":"Update recovery question","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/other/changerecoveryquestion","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/credentials/change_recovery_question \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"password\": {\n      \"value\": \"tlpWENT2m\"\n    },\n    \"recovery_question\": {\n      \"question\": \"How many roads must a man walk down?\",\n      \"answer\": \"forty two\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"password\": {},\n  \"recovery_question\": {\n    \"question\": \"How many roads must a man walk down?\"\n  },\n  \"provider\": {\n    \"type\": \"OKTA\",\n    \"name\": \"OKTA\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":142}}189{"id":"doc-expire_the_password_with_a_temporary_password-3b9235dc","source":"documentation","title":"Expire the password with a temporary password","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/other/expirepasswordwithtemppassword","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/expire_password_with_temp_password?revokeSessions=false'\n```\n\nExample:\n```text\n{\n  \"tempPassword\": \"F46gy7X4\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":56}}190{"id":"doc-start_forgot_password_flow-bee8a5f0","source":"documentation","title":"Start forgot password flow","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/other/forgotpassword","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/credentials/forgot_password?sendEmail=true'\n```\n\nExample:\n```text\n{\n  \"resetPasswordUrl\": \"https://{yourOktaDomain}/signin/reset-password/XE6wE17zmphl3KqAPFxO\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":70}}191{"id":"doc-expire_the_password-77118abc","source":"documentation","title":"Expire the password","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/other/expirepassword","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/expire_password'\n```\n\nExample:\n```text\n{\n  \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"PASSWORD_EXPIRED\",\n  \"created\": \"2013-06-24T16:39:18.000Z\",\n  \"activated\": \"2013-06-24T16:39:19.000Z\",\n  \"statusChanged\": \"2013-06-24T16:39:19.000Z\",\n  \"lastLogin\": \"2013-06-24T17:39:19.000Z\",\n  \"lastUpdated\": \"2013-06-27T16:35:28.000Z\",\n  \"passwordChanged\": \"2013-06-24T16:39:19.000Z\",\n  \"profile\": {\n    \"firstName\": \"Isaac\",\n    \"lastName\": \"Brock\",\n    \"email\": \"isaac.brock@example.com\",\n    \"login\": \"isaac.brock@example.com\",\n    \"mobilePhone\": \"555-415-1337\"\n  },\n  \"credentials\": {\n    \"password\": {},\n    \"recovery_question\": { … },\n    \"provider\": { … }\n  },\n  \"_links\": {\n    \"resetPassword\": { … },\n    \"resetFactors\": { … },\n    \"expirePassword\": { … },\n    \"forgotPassword\": { … },\n    \"changeRecoveryQuestion\": { … },\n    \"deactivate\": { … },\n    \"changePassword\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":42,"estimatedTokens":248}}192{"id":"doc-reference_overview-3b1f96f9","source":"documentation","title":"Reference overview","url":"https://developer.okta.com/docs/api/","text":"Example:\n```text\nhttps://{yourOktaDomain}/api/v1/users\n```\n\nExample:\n```text\nfilter=lastUpdated gt \"2013-06-01T00:00:00.000Z\"\n```\n\nExample:\n```text\nfilter=lastUpdated%20gt%20%222013-06-01T00%3A00%3A00.000Z%22\n```\n\nExample:\n```text\nUser-Agent: Mozilla/5.0 (<system-information>) <platform> (<platform-details>) <extensions>\n```\n\nExample:\n```text\n{\n    \"errorCode\": \"E0000001\",\n    \"errorSummary\": \"Api validation failed\",\n    \"errorLink\": \"E0000001\",\n    \"errorId\": \"oaeHfmOAx1iRLa0H10DeMz5fQ\",\n    \"errorCauses\": [\n        {\n            \"errorSummary\": \"login: An object with this field already exists in the current organization\"\n        }\n    ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nContent-Type: application/json\nETag: \"W/\\\"1234567890abcdef\\\"\"\n\n{\n    \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"profile\": {\n        \"firstName\": \"Isaac\",\n        \"lastName\": \"Brock\",\n        \"email\": \"isaac.brock@example.com\"\n    }\n}\n```\n\nExample:\n```text\nPOST /api/v1/users/00ub0oNGTSWTBKOLGLNR HTTP/1.1\nHost: example.okta.com\nAuthorization: <YOUR_API_KEY_HERE>\nContent-Type: application/json\nIf-Match: \"W/\\\"1234567890abcdef\\\"\"\n\n{\n    \"profile\": {\n        \"email\": \"isaac@example.com\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nlink: <https://{yourOktaDomain}/api/v1/logs?limit=20>; rel=\"self\"\nlink: <https://{yourOktaDomain}/api/v1/logs?limit=20&after=1627500044869_1>; rel=\"next\"\n```\n\nExample:\n```text\n{\n    \"_links\": {\n        \"logo\": [\n            {\n              \"name\": \"medium\",\n              \"href\": \"https://{yourOktaDomain}/assets/img/logos/groups/active_directory-medium.b3959116154f9d44bd4d0f6b2ae31ea6.png\",\n              \"type\": \"image/png\"\n            },\n            {\n              \"name\": \"large\",\n              \"href\": \"https://{yourOktaDomain}/assets/img/logos/groups/active_directory-large.0e7a58559ac90c4bbc7b33fa14018c50.png\",\n              \"type\": \"image/png\"\n            }\n         ],\n        \"self\": { \"href\": \"/example_resource\" },\n        \"next\": { \"href\": \"/page=2\" }\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nX-Okta-Request-Id: reqVy8wsvmBQN27h4soUE3ZEnA\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.828Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":102,"estimatedTokens":522}}193{"id":"doc-update_password-ff52acd4","source":"documentation","title":"Update password","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usercred/other/changepassword","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/credentials/change_password?strict=false' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"oldPassword\": {\n      \"value\": \"tlpWENT2m\"\n    },\n    \"newPassword\": {\n      \"value\": \"uTVM,TPw55\"\n    },\n    \"revokeSessions\": true\n  }'\n```\n\nExample:\n```text\n{\n  \"password\": {},\n  \"recovery_question\": {\n    \"question\": \"Who's a major player in the cowboy scene?\"\n  },\n  \"provider\": {\n    \"type\": \"OKTA\",\n    \"name\": \"OKTA\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.829Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":136}}194{"id":"doc-configure_an_access_policy_okta_developer-f86105f4","source":"documentation","title":"Configure an access policy | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-access-policy/main/","text":"Example:\n```json\n{\n  \"ver\": 1,\n  \"jti\": \"AT.ReRI96X_2Ny3nSf0DepnWLhbAJW5kB0nbl0WqSn22W8\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n  \"aud\": \"https://{yourOktaDomain}\",\n  \"iat\": 1594769008,\n  \"exp\": 1594772608,\n  \"cid\": \"0oas6ywyq7cwyKUfF0h7\",\n  \"uid\": \"00uixa271s6x7qt8I0h7\",\n  \"scp\": [\n    \"openid\",\n    \"email\"\n  ],\n  \"sub\": \"joe.smith@examplecompany.com\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.829Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":20,"estimatedTokens":101}}195{"id":"doc-sign_in_to_your_spa_with_the_embedded_okta_sign_-39fe198e","source":"documentation","title":"Sign in to your SPA with the embedded Okta Sign-In Widget | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-embedded-widget/vue/main/","text":"Example:\n```bash\nnpm install -g @vue/cli\nvue create okta-app\n```\n\nExample:\n```bash\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest\n```\n\nExample:\n```bash\nnpm install @okta/okta-vue@latest\nnpm install @okta/okta-auth-js@latest\n```\n\nExample:\n```js\nexport default {\n  oidc: {\n    clientId: '{yourClientId}',\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    redirectUri: '{yourLocalAppDomain}/login/callback',\n    scopes: ['openid', 'profile', 'email'],\n    pkce: true,\n  }\n}\n```\n\nExample:\n```js\nimport { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport { OktaAuth } from '@okta/okta-auth-js'\nimport OktaVue from '@okta/okta-vue'\n\nimport sampleConfig from '@/config'\n\nconst oktaAuth = new OktaAuth(sampleConfig.oidc)\n\ncreateApp(App)\n  .use(router)\n  .use(OktaVue, {\n    oktaAuth,\n    onAuthRequired: () => {\n      router.push('/login')\n    },\n    onAuthResume: () => {\n      router.push('/login')\n    },\n  })\n  .mount('#app')\n```\n\nExample:\n```html\n<template>\n  <div class=\"login\">\n    <div id=\"okta-signin-container\"></div>\n  </div>\n</template>\n\n<script>\nimport OktaSignIn from '@okta/okta-signin-widget'\nimport '@okta/okta-signin-widget/css/okta-sign-in.min.css'\n\nimport sampleConfig from '../config'\n\nexport default {\n  name: 'Login',\n  mounted: function () {\n    this.$nextTick(function () {\n      const { issuer, clientId, redirectUri, scopes } = sampleConfig.oidc\n      this.widget = new OktaSignIn({\n        clientId,\n        redirectUri,\n        logo: require('@/assets/logo.png'),\n        i18n: {\n          en: {\n            'primaryauth.title': 'Sign in to my Okta Sign-In Widget Vue.js app'\n          }\n        },\n        authParams: {\n          issuer,\n          scopes,\n        }\n      })\n\n      const originalUri = this.$auth.getOriginalUri();\n      if (!originalUri) {\n        this.$auth.setOriginalUri('/');\n      }\n\n      // Search for URL Parameters to see if a user is being routed to the application to recover password\n      var searchParams = new URL(window.location).searchParams;\n      this.widget.otp = searchParams.get('otp');\n      this.widget.state = searchParams.get('state');\n\n      this.widget.showSignInToGetTokens({\n        el: '#okta-signin-container',\n        scopes\n      }).then(tokens => {\n        this.$auth.handleLoginRedirect(tokens)\n      }).catch(err => {\n        throw err\n      })\n\n    })\n  },\n  unmounted () {\n    // Remove the widget from the DOM on path change\n    this.widget.remove()\n  }\n}\n</script>\n```\n\nExample:\n```html\n<template>\n  <div id=\"nav\">\n    <router-link to=\"/\">Home</router-link> |\n    <router-link to=\"/about\">About</router-link> |\n    <router-link to=\"/login\" v-if=\"authState && !authState.isAuthenticated\">Login</router-link>\n    <router-link to=\"/profile\" v-if=\"authState && authState.isAuthenticated\">Protected Profile<router-link>\n    <button v-if=\"authState && authState.isAuthenticated\" v-on:click=\"logout()\">Logout</button>\n  </div>\n  <router-view/>\n</template>\n\n<script>\nexport default {\n  name: 'app',\n  methods: {\n    async logout () {\n      await this.$auth.signOut()\n    }\n  }\n}\n</script>\n\n<style>\n\n...\n```\n\nExample:\n```js\n{\n    path: '/profile',\n    component: ProfileComponent,\n    meta: {\n      requiresAuth: true\n    }\n  }\n```\n\nExample:\n```html\n<router-link to=\"/profile\" v-if=\"authState && authState.isAuthenticated\">Protected Profile</router-link>\n```\n\nExample:\n```html\n<template>\n  <div class=\"profile\">\n    <h1 class=\"ui header\">\n      <i aria-hidden=\"true\" class=\"drivers license outline icon\">\n      </i>\n      My User Profile (ID Token Claims)\n    </h1>\n    <p>\n      This route is protected with the <code>onAuthRequired</code>, navigation guard which will ensure that this page cannot be accessed until you have authenticated.\n    </p>\n    <table class=\"ui table\">\n      <thead>\n        <tr>\n          <th>Claim</th>\n          <th>Value</th>\n        </tr>\n      </thead>\n      <tbody>\n        <tr v-for=\"(claim, index) in claims\" :key=\"index\">\n          <td>{{claim.claim}}</td>\n          <td :id=\"'claim-' + claim.claim\">{{claim.value}}</td>\n        </tr>\n      </tbody>\n    </table>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'Profile',\n  data () {\n    return {\n      claims: []\n    }\n  },\n  async created () {\n    this.claims = await Object.entries(await this.$auth.getUser()).map(entry => ({ claim: entry[0], value: entry[1] }))\n  }\n}\n</script>\n```\n\nExample:\n```js\nimport { createRouter, createWebHistory } from 'vue-router'\nimport { LoginCallback } from '@okta/okta-vue'\nimport { navigationGuard } from '@okta/okta-vue'\nimport Home from '../views/Home.vue'\nimport LoginComponent from '@/components/Login.vue'\nimport ProfileComponent from '@/components/Profile.vue'\n\nconst routes = [\n  {\n    path: '/',\n    name: 'Home',\n    component: Home\n  },\n  {\n    path: '/about',\n    name: 'About',\n    component: () => import(/* webpackChunkName: \"about\" */ '../views/About.vue')\n  },\n  {\n    path: '/login',\n    name: 'Login',\n    component: LoginComponent\n  },\n  {\n    path: '/login/callback',\n    component: LoginCallback\n  },\n  {\n    path: '/profile',\n    component: ProfileComponent,\n    meta: {\n      requiresAuth: true\n    }\n  }\n]\n\nconst router = createRouter({\n  history: createWebHistory(process.env.BASE_URL),\n  routes\n})\n\nrouter.beforeEach(navigationGuard)\n\nexport default router\n```\n\nExample:\n```bash\nnpm run serve\n```\n\nExample:\n```bash\nexport ISSUER=https://{yourOktaDomain}/oauth2/default\nexport CLIENT_ID={yourAppClientId}\nexport USE_INTERACTION_CODE=true\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":274,"estimatedTokens":1390}}196{"id":"doc-delete_a_client_app-1a1f03f6","source":"documentation","title":"Delete a client app","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/client/deleteclient","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/oauth2/v1/clients/{clientId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":37}}197{"id":"doc-retrieve_the_oauth_2_0_metadata-de588ea9","source":"documentation","title":"Retrieve the OAuth 2.0 metadata","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/getwellknownoauthconfigurationcustomas","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/.well-known/oauth-authorization-server/oauth2/{authorizationServerId}?client_id=string'\n```\n\nExample:\n```text\n{\n  \"issuer\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7\",\n  \"authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/authorize\",\n  \"token_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/token\",\n  \"registration_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/clients\",\n  \"jwks_uri\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/keys\",\n  \"response_types_supported\": [\n    \"code\",\n    \"token\",\n    \"id_token\",\n    \"code id_token\",\n    \"code token\",\n    \"id_token token\",\n    \"code id_token token\"\n  ],\n  \"response_modes_supported\": [\n    \"query\",\n    \"fragment\",\n    \"form_post\",\n    \"okta_post_message\"\n  ],\n  \"grant_types_supported\": [\n    \"authorization_code\",\n    \"implicit\",\n    \"refresh_token\",\n    \"password\",\n    \"client_credentials\",\n    \"urn:ietf:params:oauth:grant-type:device_code\"\n  ],\n  \"subject_types_supported\": [\n    \"public\"\n  ],\n  \"scopes_supported\": [\n    \"okta.myAccount.email.manage\",\n    \"okta.myAccount.email.read\",\n    \"okta.myAccount.manage\",\n    \"okta.myAccount.phone.manage\",\n    \"okta.myAccount.phone.read\",\n    \"okta.myAccount.profile.manage\",\n    \"okta.myAccount.profile.read\",\n    \"okta.myAccount.read\",\n    \"openid\",\n    \"profile\",\n    \"email\",\n    \"address\",\n    \"phone\",\n    \"offline_access\",\n    \"device_sso\"\n  ],\n  \"token_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"claims_supported\": [\n    \"ver\",\n    \"jti\",\n    \"iss\",\n    \"aud\",\n    \"iat\",\n    \"exp\",\n    \"cid\",\n    \"uid\",\n    \"scp\",\n    \"sub\"\n  ],\n  \"code_challenge_methods_supported\": [\n    \"S256\"\n  ],\n  \"introspection_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/introspect\",\n  \"introspection_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"revocation_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/revoke\",\n  \"revocation_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"end_session_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/logout\",\n  \"request_parameter_supported\": true,\n  \"request_object_signing_alg_values_supported\": [\n    \"HS256\",\n    \"HS384\",\n    \"HS512\",\n    \"RS256\",\n    \"RS384\",\n    \"RS512\",\n    \"ES256\",\n    \"ES384\",\n    \"ES512\"\n  ],\n  \"device_authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/device/authorize\",\n  \"pushed_authorization_request_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/par\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":114,"estimatedTokens":728}}198{"id":"doc-sign_in_to_your_spa_with_the_embedded_okta_sign_-de67553e","source":"documentation","title":"Sign in to your SPA with the embedded Okta Sign-In Widget | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-embedded-widget/vue/main","text":"Example:\n```bash\nnpm install -g @vue/cli\nvue create okta-app\n```\n\nExample:\n```bash\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest\n```\n\nExample:\n```bash\nnpm install @okta/okta-vue@latest\nnpm install @okta/okta-auth-js@latest\n```\n\nExample:\n```js\nexport default {\n  oidc: {\n    clientId: '{yourClientId}',\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    redirectUri: '{yourLocalAppDomain}/login/callback',\n    scopes: ['openid', 'profile', 'email'],\n    pkce: true,\n  }\n}\n```\n\nExample:\n```js\nimport { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport { OktaAuth } from '@okta/okta-auth-js'\nimport OktaVue from '@okta/okta-vue'\n\nimport sampleConfig from '@/config'\n\nconst oktaAuth = new OktaAuth(sampleConfig.oidc)\n\ncreateApp(App)\n  .use(router)\n  .use(OktaVue, {\n    oktaAuth,\n    onAuthRequired: () => {\n      router.push('/login')\n    },\n    onAuthResume: () => {\n      router.push('/login')\n    },\n  })\n  .mount('#app')\n```\n\nExample:\n```html\n<template>\n  <div class=\"login\">\n    <div id=\"okta-signin-container\"></div>\n  </div>\n</template>\n\n<script>\nimport OktaSignIn from '@okta/okta-signin-widget'\nimport '@okta/okta-signin-widget/css/okta-sign-in.min.css'\n\nimport sampleConfig from '../config'\n\nexport default {\n  name: 'Login',\n  mounted: function () {\n    this.$nextTick(function () {\n      const { issuer, clientId, redirectUri, scopes } = sampleConfig.oidc\n      this.widget = new OktaSignIn({\n        clientId,\n        redirectUri,\n        logo: require('@/assets/logo.png'),\n        i18n: {\n          en: {\n            'primaryauth.title': 'Sign in to my Okta Sign-In Widget Vue.js app'\n          }\n        },\n        authParams: {\n          issuer,\n          scopes,\n        }\n      })\n\n      const originalUri = this.$auth.getOriginalUri();\n      if (!originalUri) {\n        this.$auth.setOriginalUri('/');\n      }\n\n      // Search for URL Parameters to see if a user is being routed to the application to recover password\n      var searchParams = new URL(window.location).searchParams;\n      this.widget.otp = searchParams.get('otp');\n      this.widget.state = searchParams.get('state');\n\n      this.widget.showSignInToGetTokens({\n        el: '#okta-signin-container',\n        scopes\n      }).then(tokens => {\n        this.$auth.handleLoginRedirect(tokens)\n      }).catch(err => {\n        throw err\n      })\n\n    })\n  },\n  unmounted () {\n    // Remove the widget from the DOM on path change\n    this.widget.remove()\n  }\n}\n</script>\n```\n\nExample:\n```html\n<template>\n  <div id=\"nav\">\n    <router-link to=\"/\">Home</router-link> |\n    <router-link to=\"/about\">About</router-link> |\n    <router-link to=\"/login\" v-if=\"authState && !authState.isAuthenticated\">Login</router-link>\n    <router-link to=\"/profile\" v-if=\"authState && authState.isAuthenticated\">Protected Profile<router-link>\n    <button v-if=\"authState && authState.isAuthenticated\" v-on:click=\"logout()\">Logout</button>\n  </div>\n  <router-view/>\n</template>\n\n<script>\nexport default {\n  name: 'app',\n  methods: {\n    async logout () {\n      await this.$auth.signOut()\n    }\n  }\n}\n</script>\n\n<style>\n\n...\n```\n\nExample:\n```js\n{\n    path: '/profile',\n    component: ProfileComponent,\n    meta: {\n      requiresAuth: true\n    }\n  }\n```\n\nExample:\n```html\n<router-link to=\"/profile\" v-if=\"authState && authState.isAuthenticated\">Protected Profile</router-link>\n```\n\nExample:\n```html\n<template>\n  <div class=\"profile\">\n    <h1 class=\"ui header\">\n      <i aria-hidden=\"true\" class=\"drivers license outline icon\">\n      </i>\n      My User Profile (ID Token Claims)\n    </h1>\n    <p>\n      This route is protected with the <code>onAuthRequired</code>, navigation guard which will ensure that this page cannot be accessed until you have authenticated.\n    </p>\n    <table class=\"ui table\">\n      <thead>\n        <tr>\n          <th>Claim</th>\n          <th>Value</th>\n        </tr>\n      </thead>\n      <tbody>\n        <tr v-for=\"(claim, index) in claims\" :key=\"index\">\n          <td>{{claim.claim}}</td>\n          <td :id=\"'claim-' + claim.claim\">{{claim.value}}</td>\n        </tr>\n      </tbody>\n    </table>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'Profile',\n  data () {\n    return {\n      claims: []\n    }\n  },\n  async created () {\n    this.claims = await Object.entries(await this.$auth.getUser()).map(entry => ({ claim: entry[0], value: entry[1] }))\n  }\n}\n</script>\n```\n\nExample:\n```js\nimport { createRouter, createWebHistory } from 'vue-router'\nimport { LoginCallback } from '@okta/okta-vue'\nimport { navigationGuard } from '@okta/okta-vue'\nimport Home from '../views/Home.vue'\nimport LoginComponent from '@/components/Login.vue'\nimport ProfileComponent from '@/components/Profile.vue'\n\nconst routes = [\n  {\n    path: '/',\n    name: 'Home',\n    component: Home\n  },\n  {\n    path: '/about',\n    name: 'About',\n    component: () => import(/* webpackChunkName: \"about\" */ '../views/About.vue')\n  },\n  {\n    path: '/login',\n    name: 'Login',\n    component: LoginComponent\n  },\n  {\n    path: '/login/callback',\n    component: LoginCallback\n  },\n  {\n    path: '/profile',\n    component: ProfileComponent,\n    meta: {\n      requiresAuth: true\n    }\n  }\n]\n\nconst router = createRouter({\n  history: createWebHistory(process.env.BASE_URL),\n  routes\n})\n\nrouter.beforeEach(navigationGuard)\n\nexport default router\n```\n\nExample:\n```bash\nnpm run serve\n```\n\nExample:\n```bash\nexport ISSUER=https://{yourOktaDomain}/oauth2/default\nexport CLIENT_ID={yourAppClientId}\nexport USE_INTERACTION_CODE=true\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.831Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":274,"estimatedTokens":1390}}199{"id":"doc-sign_in_to_your_spa_with_the_embedded_okta_sign_-6d77c59e","source":"documentation","title":"Sign in to your SPA with the embedded Okta Sign-In Widget | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-embedded-widget/angular/main","text":"Example:\n```bash\ngit clone https://github.com/okta/samples-js-angular.git\ncd samples-js-angular/custom-login\n```\n\nExample:\n```bash\nnpm install\n```\n\nExample:\n```bash\nnode --version\n```\n\nExample:\n```bash\nng --version\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js@latest\n```\n\nExample:\n```txt\nISSUER=https:////{yourOktaDomain.com}/oauth2/default\nCLIENT_ID={Client ID value from app integration}\nUSE_INTERACTION_CODE=true\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest\n```\n\nExample:\n```shell\nng config projects.okta-signin-test.architect.build.options.styles '[\"src/styles.css\", \"./node_modules/@okta/okta-signin-widget/css/okta-sign-in.min.css\"]'\n```\n\nExample:\n```json\n\"options\": {\n            \"outputPath\": \"dist/custom-login\",\n            \"index\": \"src/index.html\",\n            \"main\": \"src/main.ts\",\n            \"polyfills\": \"src/polyfills.ts\",\n            \"tsConfig\": \"tsconfig.app.json\",\n            \"assets\": [\n              \"src/favicon.ico\",\n              \"src/assets\"\n            ],\n            \"styles\": [\n              \"src/styles.css\",\n              \"./node_modules/@okta/okta-signin-widget/dist/css/okta-sign-in.min.css\"\n            ],\n            \"scripts\": []\n          },\n```\n\nExample:\n```javascript\nproviders: [\n    {\n      provide: OKTA_CONFIG,\n      useFactory: () => {\n        const oktaAuth = new OktaAuth(config.oidc);\n        return {\n          oktaAuth,\n          onAuthRequired: (oktaAuth: OktaAuth, injector: Injector) => {\n            const router = injector.get(Router);\n            // Redirect the user to your custom login page\n            router.navigate(['/login']);\n          }\n        }\n      }\n    },\n    { provide: APP_BASE_HREF, useValue: environment.appBaseHref },\n  ]\n```\n\nExample:\n```javascript\nimport { Component, OnInit } from '@angular/core';\nimport { OktaAuth, Tokens } from '@okta/okta-auth-js';\n\n// @ts-ignore\nimport * as OktaSignIn from '@okta/okta-signin-widget';\nimport sampleConfig from '../app.config';\n\nconst DEFAULT_ORIGINAL_URI = window.location.origin;\n\n@Component({\n  selector: 'app-login',\n  templateUrl: './login.component.html',\n  styleUrls: ['./login.component.css']\n})\nexport class LoginComponent implements OnInit {\n  signIn: any;\n  constructor(public oktaAuth: OktaAuth) {\n    this.signIn = new OktaSignIn({\n      /**\n       * Note: when using the Sign-In Widget for an OIDC flow, you still\n       * need to configure the base URL for your Okta Org. Here\n       * we derive it from the given issuer for convenience.\n       */\n      baseUrl: sampleConfig.oidc.issuer.split('/oauth2')[0],\n      clientId: sampleConfig.oidc.clientId,\n      redirectUri: sampleConfig.oidc.redirectUri,\n      logo: 'assets/angular.svg',\n      i18n: {\n        en: {\n          'primaryauth.title': 'Sign in to Angular & Company',\n        },\n      },\n      authClient: oktaAuth,\n    });\n  }\n\n  ngOnInit() {\n    // When navigating to a protected route, the route path is saved as the `originalUri`\n    // If no `originalUri` has been saved, then redirect back to the app root\n    const originalUri = this.oktaAuth.getOriginalUri();\n    if (!originalUri || originalUri === DEFAULT_ORIGINAL_URI) {\n      this.oktaAuth.setOriginalUri('/');\n    }\n\n    // Search for URL Parameters to see if a user is being routed to the application to recover password\n    var searchParams = new URL(window.location.href).searchParams;\n    this.signIn.otp = searchParams.get('otp');\n    this.signIn.state = searchParams.get('state');\n\n    this.signIn.showSignInToGetTokens({\n      el: '#sign-in-widget',\n      scopes: sampleConfig.oidc.scopes\n    }).then((tokens: Tokens) => {\n      // Remove the widget\n      this.signIn.remove();\n\n      // In this flow the redirect to Okta occurs in a hidden iframe\n      this.oktaAuth.handleLoginRedirect(tokens);\n    }).catch((err: any) => {\n      // Typically due to misconfiguration\n      throw err;\n    });\n  }\n\n  ngOnDestroy() {\n    this.signIn.remove();\n  }\n}\n```\n\nExample:\n```javascript\n// Read environment variables from \"testenv\" in the repository root.\n// Override environment vars if they are already set.\nconst path = require('path');\nconst dotenv = require('dotenv');\nconst fs = require('fs');\n\nconst TESTENV = path.resolve(__dirname, 'testenv');\nif (fs.existsSync(TESTENV)) {\n  const envConfig = dotenv.parse(fs.readFileSync(TESTENV));\n  Object.keys(envConfig).forEach((k) => {\n    process.env[k] = envConfig[k];\n  });\n}\nprocess.env.CLIENT_ID = process.env.CLIENT_ID || process.env.SPA_CLIENT_ID;\nprocess.env.USE_INTERACTION_CODE = process.env.USE_INTERACTION_CODE || false;\n```\n\nExample:\n```javascript\nngOnInit() {\n    // When navigating to a protected route, the route path is saved as the `originalUri`\n    // If no `originalUri` is saved, then redirect back to the app root\n    const originalUri = this.oktaAuth.getOriginalUri();\n    if (!originalUri || originalUri === DEFAULT_ORIGINAL_URI) {\n      this.oktaAuth.setOriginalUri('/');\n    }\n\n    this.signIn.showSignInToGetTokens({\n      el: '#sign-in-widget',\n      scopes: sampleConfig.oidc.scopes\n    }).then((tokens: Tokens) => {\n      // Remove the widget\n      this.signIn.remove();\n\n      // In this flow the redirect to Okta occurs in a hidden iframe\n      this.oktaAuth.handleLoginRedirect(tokens);\n    }).catch((err: any) => {\n      // Typically due to misconfiguration\n      throw err;\n    });\n  }\n```\n\nExample:\n```javascript\nasync ngOnInit() {\n    const isAuthenticated = await this.oktaAuth.isAuthenticated();\n    if (isAuthenticated) {\n      const userClaims = await this.oktaAuth.getUser();\n      this.userName = userClaims.name as string;\n    }\n  }\n```\n\nExample:\n```javascript\nimport {\n  OKTA_CONFIG,\n  OktaAuthGuard,\n  OktaAuthModule,\n  OktaCallbackComponent,\n} from '@okta/okta-angular';\n\n...\n\nconst appRoutes: Routes = [\n  {\n    path: '',\n    component: HomeComponent,\n  },\n  {\n    path: 'login/callback',\n    component: OktaCallbackComponent,\n  },\n  {\n    path: 'login',\n    component: LoginComponent,\n  },\n  {\n    path: 'profile',\n    component: ProfileComponent,\n    canActivate: [ OktaAuthGuard ],\n  },\n  {\n    path: 'messages',\n    component: MessagesComponent,\n    canActivate: [ OktaAuthGuard ],\n  },\n];\n```\n\nExample:\n```bash\nng serve\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":255,"estimatedTokens":1556}}200{"id":"doc-sign_in_to_your_spa_with_the_embedded_okta_sign_-f6ac3f05","source":"documentation","title":"Sign in to your SPA with the embedded Okta Sign-In Widget | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-embedded-widget/react/main","text":"Example:\n```js\nnpx create-react-app okta-app\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest @okta/okta-auth-js@latest\n```\n\nExample:\n```bash\nnpm install @okta/okta-react@latest react-router-dom@5\n```\n\nExample:\n```js\nexport default {\n  oidc: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    clientId: '{clientId}',\n    scopes: ['openid', 'profile', 'email'],\n    redirectUri: `{window.location.origin}/login/callback`\n  },\n  widget: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    clientId: '{clientId}',\n    redirectUri: `{window.location.origin}/login/callback`,\n    scopes: ['openid', 'profile', 'email'],\n  }\n};\n```\n\nExample:\n```js\nimport React, { useEffect, useRef } from 'react';\nimport OktaSignIn from '@okta/okta-signin-widget';\nimport '@okta/okta-signin-widget/css/okta-sign-in.min.css';\nimport config from './config';\n\nconst OktaSignInWidget = ({ onSuccess, onError }) => {\n  const widgetRef = useRef();\n  useEffect(() => {\n    if (!widgetRef.current) {\n      return false;\n    }\n\n    const widget = new OktaSignIn(config.widget);\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   widget.otp = searchParams.get('otp');\n   widget.state = searchParams.get('state');\n   widget.showSignInToGetTokens({\n      el: widgetRef.current,\n    }).then(onSuccess).catch(onError);\n\n    return () => widget.remove();\n  }, [onSuccess, onError]);\n\n  return (<div ref={widgetRef} />);\n};\n\nexport default OktaSignInWidget;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Link, useHistory } from 'react-router-dom';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst Home = () => {\n  const { oktaAuth, authState } = useOktaAuth();\n  const history = useHistory();\n\n  if (!authState) {\n    return <div>Loading ...</div>;\n  }\n\n  const handleLogin = async () => history.push('/login');\n\n  const handleLogout = async () => oktaAuth.signOut();\n\n  return (\n    <div id=\"home\">\n      <Link to=\"/\">Home</Link> | &nbsp;\n      <Link id=\"protected\" to=\"/protected\">Protected</Link> | &nbsp;\n      {\n        authState.isAuthenticated\n          ? <button id=\"logout-button\" type=\"button\" onClick={handleLogout}>Logout</button>\n          : <button id=\"login-button\" type=\"button\" onClick={handleLogin}>Login</button>\n      }\n    </div>\n  );\n};\n\nexport default Home;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport OktaSignInWidget from './OktaSignInWidget';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst Login = ({ config }) => {\n  const { oktaAuth, authState } = useOktaAuth();\n  const onSuccess = (tokens) => {\n    oktaAuth.handleLoginRedirect(tokens);\n  };\n\n  const onError = (err) => {\n    console.log('Sign in error:', err);\n  };\n\n  if (!authState) {\n    return <div>Loading ... </div>;\n  }\n\n  return authState.isAuthenticated ?\n    <Redirect to={{ pathname: '/' }}/> :\n    <OktaSignInWidget config={config} onSuccess={onSuccess} onError={onError}/>;\n};\n\nexport default Login;\n```\n\nExample:\n```jsx\nimport React, { useState, useEffect } from 'react';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst Protected = () => {\n  const { authState, oktaAuth } = useOktaAuth();\n  const [userInfo, setUserInfo] = useState(null);\n\n  useEffect(() => {\n    if (!authState || !authState.isAuthenticated) {\n      // When user isn't authenticated, forget any user info\n      setUserInfo(null);\n    } else {\n      oktaAuth.getUser().then((info) => {\n        setUserInfo(info);\n      }).catch((err) => {\n        console.error(err);\n      });\n    }\n  }, [authState, oktaAuth]); // Update if authState changes\n\n  if (!userInfo) {\n    return (\n      <div>\n        <p>Fetching user info ...</p>\n      </div>\n    );\n  }\n\n  return (\n    <div>\n      <div>\n        <p id=\"welcome\">\n          Welcome, &nbsp;{userInfo.name}!\n        </p>\n        <p>You have successfully authenticated against your Okta org, and have been redirected back to this application.</p>\n      </div>\n    </div>\n  );\n};\n\nexport default Protected;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Route, useHistory } from 'react-router-dom';\nimport { Security, SecureRoute, LoginCallback } from '@okta/okta-react';\nimport { OktaAuth, toRelativeUrl } from '@okta/okta-auth-js';\nimport Home from './Home';\nimport Login from './Login';\nimport Protected from './Protected';\nimport config from './config';\n\nimport logo from './logo.svg';\nimport './App.css';\n\nconst oktaAuth = new OktaAuth(config.oidc);\n\nconst App = () => {\n  const history = useHistory();\n\n  const customAuthHandler = () => {\n    history.push('/login');\n  };\n\n  const restoreOriginalUri = async (_oktaAuth, originalUri) => {\n    history.replace(toRelativeUrl(originalUri || '', window.location.origin));\n  };\n\n  return (\n    <div className=\"App\">\n      <header className=\"App-header\">\n        <p>My Okta-React app</p>\n        <img src={logo} className=\"App-logo\" alt=\"logo\" />\n      <Security\n        oktaAuth={oktaAuth}\n        onAuthRequired={customAuthHandler}\n        restoreOriginalUri={restoreOriginalUri}\n      >\n        <Route path=\"/\" exact component={Home} />\n        <SecureRoute path=\"/protected\" component={Protected} />\n        <Route path=\"/login\" render={() => <Login />} />\n        <Route path=\"/login/callback\" component={LoginCallback} />\n    </Security>\n    </header>\n    </div>\n  );\n};\n\nexport default App;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport App from './App';\n\nconst root = createRoot(document.getElementById(\"root\"))\nroot.render(\n  <Router>\n    <App />\n  </Router>,\n);\n```\n\nExample:\n```bash\nnpm start\n```\n\nExample:\n```bash\nexport ISSUER=https://{yourOktaDomain}/oauth2/default\nexport CLIENT_ID={yourAppClientId}\nexport USE_INTERACTION_CODE=true\n```\n\nExample:\n```bash\nISSUER=https://{yourOktaDomain}/oauth2/default\nCLIENT_ID={yourAppClientId}\nUSE_INTERACTION_CODE=true\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":260,"estimatedTokens":1522}}201{"id":"doc-use_redirect_auth_with_the_identity_engine_sampl-804d6571","source":"documentation","title":"Use redirect auth with the Identity Engine sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/sampleapp-oie-redirectauth/android/main/","text":"Example:\n```json\n{\n\"client_id\": \"${clientId}\",\n\"redirect_uri\": \"${SigninredirectUri}\",\n\"end_session_redirect_uri\": \"${SignoutredirectUri}\",\n\"scopes\": [\n    \"openid\",\n    \"profile\"\n],\n\"Discovery_uri\": \"https://${yourOktaDomain}/oauth2/default/.well-known/openid-configuration\"\n}\n```\n\nExample:\n```bash\nandroid.defaultConfig.manifestPlaceholders = [\n    \"appAuthRedirectScheme\": \"com.okta.example\"]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":104}}202{"id":"doc-retrieve_a_client_app-b708b58e","source":"documentation","title":"Retrieve a client app","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/client/getclient","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/v1/clients/{clientId}'\n```\n\nExample:\n```text\n{\n  \"client_id\": \"0jrabyQWm4B9zVJPbotY\",\n  \"client_secret\": \"5W7XULCEs4BJKnWUXwh8lgmeXRhcGcdViFp84pWe\",\n  \"client_id_issued_at\": 1453913425,\n  \"client_secret_expires_at\": 0,\n  \"client_name\": \"Example OAuth 2.0 client\",\n  \"client_uri\": \"https://www.example.com\",\n  \"logo_uri\": \"https://www.example.com/logo.png\",\n  \"application_type\": \"web\",\n  \"redirect_uris\": [\n    \"https://www.example.com/oauth2/redirectUri\"\n  ],\n  \"post_logout_redirect_uris\": [\n    \"https://www.example.com/oauth2/postLogoutRedirectUri\"\n  ],\n  \"response_types\": [\n    \"id_token\",\n    \"code\"\n  ],\n  \"grant_types\": [\n    \"authorization_code\"\n  ],\n  \"token_endpoint_auth_method\": \"client_secret_post\",\n  \"initiate_login_uri\": \"https://www.example.com/oauth2/login\",\n  \"frontchannel_logout_uri\": \"https://example.com/logout\",\n  \"frontchannel_logout_session_required\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":244}}203{"id":"doc-enterprise_identity_provider_okta_developer-6f20482f","source":"documentation","title":"Enterprise identity provider | Okta Developer","url":"https://developer.okta.com/docs/guides/add-an-external-idp/oktatookta/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```html\n`<a href=\"https://{yourOktaDomain}/oauth2/v1/authorize?idp=0oaaq9pjc2ujmFZexample&client_id=GkGw4K49N4UEE1example&response_type=id_token&response_mode=fragment&scope=openid&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\">Sign in with Identity Provider</a>`\n```\n\nExample:\n```js\nconfig.idps= [\n  { type: 'IdentityProviderName', id: 'Your_IDP_ID_Here' }\n];\nconfig.idpDisplay = \"SECONDARY\";\n```\n\nExample:\n```js\nconfig.idps= [\n  {type: 'IdentityProviderName', id: 'Your_IDP_ID_Here'}\n];\nconfig.idpDisplay =\"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":27,"estimatedTokens":205}}204{"id":"doc-list_all_log_streams-4a996e60","source":"documentation","title":"List all log streams","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/logstream/other/listlogstreams","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/logStreams?after=string&limit=20&filter=type%20eq%20%22aws_eventbridge%22'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0oa1orqUGCIoCGNxf0g4\",\n    \"type\": \"aws_eventbridge\",\n    \"name\": \"Example AWS EventBridge\",\n    \"lastUpdated\": \"2023-03-24T21:02:43.000Z\",\n    \"created\": \"2023-03-24T21:02:43.000Z\",\n    \"status\": \"ACTIVE\",\n    \"settings\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":115}}205{"id":"doc-create_a_log_stream-d8110d9b","source":"documentation","title":"Create a log stream","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/logstream/other/createlogstream","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/logStreams \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"aws_eventbridge\",\n    \"name\": \"Example AWS EventBridge\",\n    \"settings\": {\n      \"eventSourceName\": \"your-event-source-name\",\n      \"accountId\": \"123456789012\",\n      \"region\": \"us-east-2\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa1orqUGCIoCGNxf0g4\",\n  \"type\": \"aws_eventbridge\",\n  \"name\": \"Example AWS EventBridge\",\n  \"lastUpdated\": \"2023-03-24T21:02:43.000Z\",\n  \"created\": \"2023-03-24T21:02:43.000Z\",\n  \"status\": \"ACTIVE\",\n  \"settings\": {\n    \"accountId\": \"123456789012\",\n    \"eventSourceName\": \"your-event-source-name\",\n    \"region\": \"us-east-2\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":196}}206{"id":"doc-deactivate_a_log_stream-512f951d","source":"documentation","title":"Deactivate a log stream","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/logstream/other/deactivatelogstream","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/logStreams/0oa1orzg0CHSgPcjZ0g4/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa7agphh5FT7H521d7\",\n  \"type\": \"splunk_cloud_logstreaming\",\n  \"name\": \"Splunk Cloud Example\",\n  \"lastUpdated\": \"2023-03-24T21:23:00.000Z\",\n  \"created\": \"2023-03-24T21:15:13.000Z\",\n  \"status\": \"INACTIVE\",\n  \"settings\": {\n    \"edition\": \"aws\",\n    \"host\": \"okexample.splunkcloud.com\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"activate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":131}}207{"id":"doc-replace_a_log_stream-90621334","source":"documentation","title":"Replace a log stream","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/logstream/other/replacelogstream","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/logStreams/0oa1orzg0CHSgPcjZ0g4 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"aws_eventbridge\",\n    \"name\": \"Updated AWS EventBridge\",\n    \"settings\": {\n      \"eventSourceName\": \"your-event-source-name\",\n      \"accountId\": \"123456789012\",\n      \"region\": \"us-east-2\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa1orqUGCIoCGNxf0g4\",\n  \"type\": \"aws_eventbridge\",\n  \"name\": \"Updated AWS EventBridge\",\n  \"lastUpdated\": \"2023-03-24T21:12:43.000Z\",\n  \"created\": \"2023-03-24T21:02:43.000Z\",\n  \"status\": \"ACTIVE\",\n  \"settings\": {\n    \"accountId\": \"123456789012\",\n    \"eventSourceName\": \"your-event-source-name\",\n    \"region\": \"us-east-2\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":201}}208{"id":"doc-system_log_query_okta_developer-2438d8c9","source":"documentation","title":"System Log query | Okta Developer","url":"https://developer.okta.com/docs/reference/system-log-query/","text":"Example:\n```javascript\nfilter=target.id eq \"00uxc78lMKUMVIHLTAXY\"\n```\n\nExample:\n```javascript\nfilter=actor.id ne \"00uxc78lMKUMVIHLTAXY\"\n```\n\nExample:\n```javascript\nfilter=eventType eq \"user.session.start\" and outcome.result eq \"FAILURE\"\n```\n\nExample:\n```javascript\nfilter=target.id eq \"00uxc78lMKUMVIHLTAXY\" and target.id eq \"0oabe82gnXOFVCDUMVAK\"\n```\n\nExample:\n```javascript\nfilter=eventType eq \"user.authentication.sso\" and target.id eq \"00uxc78lMKUMVIHLTAXY\" and target.id eq \"0oabe82gnXOFVCDUMVAK\"\n```\n\nExample:\n```javascript\nfilter=client.ipAddress eq \"184.73.186.14\"\n```\n\nExample:\n```javascript\nfilter=eventType sw \"event_hook\"\n```\n\nExample:\n```javascript\nfilter=eventType co \"session\"\n```\n\nExample:\n```javascript\nfilter=eventType ew \"token\"\n```\n\nExample:\n```bash\nlink: <url>; rel=\"self\"\n```\n\nExample:\n```bash\nlink: <https://{yourOktaDomain}/api/v1/logs?q=&sortOrder=DESCENDING&limit=20&until=2017-09-17T23%3A59%3A59%2B00%3A00&since=2017-06-10T00%3A00%3A00%2B00%3A00>; rel=\"self\"\n```\n\nExample:\n```bash\nlink: <url>; rel=\"next\"\n```\n\nExample:\n```bash\nlink: <https://{yourOktaDomain}/api/v1/logs?q=&sortOrder=DESCENDING&limit=20&until=2017-09-17T15%3A41%3A12.994Z&after=349996bd-5091-45dc-a39f-d357867a30d7&since=2017-06-10T00%3A00%3A00%2B00%3A00>; rel=\"next\"\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?since=2023-10-01T00:00:00.000Z\"\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000001\",\n  \"errorSummary\": \"Api validation failed: 'until': The date format in your query is not recognized. Please enter dates using ISO8601 string format. 'until': must be a valid date-time or empty.\",\n  \"errorId\": \"dd4998a1-2267-499b-9e4d-ec821fcc5ca9\",\n  \"errorCauses\": [\n    {\n      \"errorSummary\": \"until: The date format in your query is not recognized. Please enter dates using ISO8601 string format.\"\n    },\n    {\n      \"errorSummary\": \"until: must be a valid date-time or empty.\"\n    }\n  ]\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000053\",\n  \"errorSummary\": \"Invalid filter 'display_message eqq \\\"Create okta user\\\"': Unrecognized attribute operator 'eqq' at position 16. Expected: eq,co,sw,pr,gt,ge,lt,le\",\n  \"errorId\": \"eb83dfe1-6d76-458c-8c0c-f8df8fb7a24b\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000053\",\n  \"errorSummary\": \"field is not valid: some_invalid_field\",\n  \"errorId\": \"ec93dhe2-6d76-458c-8c0c-f8df8fb7a24b\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000053\",\n  \"errorSummary\": \"Invalid parameter: The since parameter is over 180 days prior to the current day.\",\n  \"errorId\": \"55166534-b7d8-45a5-a4f6-3b38a5507046\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000031\",\n  \"errorSummary\": \"The supplied combination of operator and field is not currently supported. Operator: co, Field: debugContext.debugData.url\",\n  \"errorId\": \"ec93dhe2-6d76-458c-8c0c-f8df8fb7a24b\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000053\",\n  \"errorSummary\": \"Sorry, there's been an error. We aren't sure what caused it, but we've logged this and will work to address it. Please try your request again.\",\n  \"errorId\": \"55166534-b7d8-45a5-a4f6-3b38a5507046\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000009\",\n  \"errorSummary\": \"Your last request took too long to complete. This is likely due to a load issue on our side. We've logged this and will work to address it. Please either simplify your query or wait a few minutes and try again.\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000001\",\n  \"errorSummary\": \"Api validation failed: 'q': Freeform search cannot contain items longer than 40 characters. Please shorten the items in your search or use an advanced filter to query by specific fields.\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000047\",\n  \"errorSummary\": \"API call exceeded rate limit due to too many requests.\"\n}\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?q=Jane+Doe\"\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?filter=event_type+eq+%22user.session.start%22\"\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?q=logout\"\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?since=2014-09-01T00:00:00.000Z\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":27,"totalLines":197,"estimatedTokens":1183}}209{"id":"doc-list_all_event_hooks-2360e72f","source":"documentation","title":"List all event hooks","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/eventhook/other/listeventhooks","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/eventHooks\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"who8tsqyrhCdmetzx135\",\n    \"status\": \"ACTIVE\",\n    \"verificationStatus\": \"VERIFIED\",\n    \"name\": \"Event Hook Test\",\n    \"description\": null,\n    \"created\": \"2023-07-07T17:41:56.000Z\",\n    \"createdBy\": \"00u7xut94qEWYx5ss1e5\",\n    \"lastUpdated\": \"2023-07-07T17:43:03.000Z\",\n    \"events\": { … },\n    \"channel\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"who8vt36qfNpCGz9H1e6\",\n    \"status\": \"ACTIVE\",\n    \"verificationStatus\": \"VERIFIED\",\n    \"name\": \"Event Hook with Filter\",\n    \"description\": \"An event hook using an Okta Expression Language filter\",\n    \"created\": \"2023-07-07T13:41:56.000Z\",\n    \"createdBy\": \"00u7xut94qEWYx5ss1e5\",\n    \"lastUpdated\": \"2023-07-07T13:43:03.000Z\",\n    \"events\": { … },\n    \"channel\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":39,"estimatedTokens":223}}210{"id":"doc-list_all_system_log_events-d34cee00","source":"documentation","title":"List all System Log events","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/systemlog/other/listlogevents","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/logs?since=7%20days%20prior%20to%20until&until=current%20time&after=string&filter=string&q=string&limit=100&sortOrder=ASCENDING'\n```\n\nExample:\n```text\n{\n    \"authenticationProvider\": \"ACTIVE_DIRECTORY\",\n    \"authenticationStep\": 0,\n    \"credentialProvider\": null,\n    \"credentialType\": \"IWA\",\n    \"externalSessionId\": \"102N1EKyPFERROGvK9wizMAPQ\",\n    \"interface\": null,\n    \"issuer\": null\n}\n```\n\nExample:\n```text\n{\n    \"debugData\": {\n        \"requestUri\": \"/api/v1/users/00u3gjksoiRGRAZHLSYV/factors/smsf8luacpZJAva10x45/verify\",\n        \"smsProvider\": \"TELESIGN\",\n        \"transactionId\": \"268632458E3C100F5F5F594C6DC689D4\"\n    }\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"Wn4f-0RQ8D8lTSLkAmkKdQAADqo\",\n  \"type\": \"WEB\",\n  \"detail\": null\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"YjSlblAAqnKY7CdyCkXNBgAAAIU\",\n  \"type\": \"WEB\",\n  \"detail\": {\n    \"requestApiTokenId\": \"00T94e3cn9kSEO3c51s5\"\n  }\n}\n```\n\nExample:\n```text\n[\n  {\n    \"actor\": { … },\n    \"client\": { … },\n    \"device\": { … },\n    \"authenticationContext\": { … },\n    \"displayMessage\": \"User login to Okta\",\n    \"eventType\": \"user.session.start\",\n    \"outcome\": { … },\n    \"published\": \"2024-08-13T15:58:20.353Z\",\n    \"securityContext\": { … },\n    \"severity\": \"INFO\",\n    \"debugContext\": { … },\n    \"legacyEventType\": \"core.user_auth.login_success\",\n    \"transaction\": { … },\n    \"uuid\": \"dc9fd3c0-598c-11ef-8478-2b7584bf8d5a\",\n    \"version\": 0,\n    \"request\": { … },\n    \"target\": [ … ]\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":76,"estimatedTokens":381}}211{"id":"doc-delete_a_log_stream-c7243252","source":"documentation","title":"Delete a log stream","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/logstream/other/deletelogstream","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/logStreams/0oa1orzg0CHSgPcjZ0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}212{"id":"doc-delete_an_event_hook-8fc85744","source":"documentation","title":"Delete an event hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/eventhook/other/deleteeventhook","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/eventHooks/who8vt36qfNpCGz9H1e6\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}213{"id":"doc-activate_an_event_hook-290f5472","source":"documentation","title":"Activate an event hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/eventhook/other/activateeventhook","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/eventHooks/who8vt36qfNpCGz9H1e6/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"who8vt36qfNpCGz9H1e6\",\n  \"status\": \"ACTIVE\",\n  \"verificationStatus\": \"VERIFIED\",\n  \"name\": \"Event Hook Test\",\n  \"description\": null,\n  \"created\": \"2023-07-07T13:41:56.000Z\",\n  \"createdBy\": \"00u7xut94qEWYx5ss1e5\",\n  \"lastUpdated\": \"2023-07-07T13:43:03.000Z\",\n  \"events\": {\n    \"type\": \"EVENT_TYPE\",\n    \"items\": [ … ],\n    \"filter\": null\n  },\n  \"channel\": {\n    \"type\": \"HTTP\",\n    \"version\": \"1.0.0\",\n    \"config\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"verify\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":171}}214{"id":"doc-create_an_event_hook-9b7862a5","source":"documentation","title":"Create an event hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/eventhook/other/createeventhook","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/eventHooks \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Event Hook Test\",\n    \"events\": {\n      \"type\": \"EVENT_TYPE\",\n      \"items\": [\n        \"group.user_membership.add\"\n      ]\n    },\n    \"channel\": {\n      \"type\": \"HTTP\",\n      \"version\": \"1.0.0\",\n      \"config\": {\n        \"uri\": \"https://example_external_service/userAdded\",\n        \"headers\": [\n          {\n            \"key\": \"X-Other-Header\",\n            \"value\": \"my-header-value\"\n          }\n        ],\n        \"authScheme\": {\n          \"type\": \"HEADER\",\n          \"key\": \"Authorization\",\n          \"value\": \"my-shared-secret\"\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"who8vt36qfNpCGz9H1e6\",\n  \"status\": \"ACTIVE\",\n  \"verificationStatus\": \"VERIFIED\",\n  \"name\": \"Event Hook with Filter\",\n  \"description\": \"An event hook using an Okta Expression Language filter\",\n  \"created\": \"2023-07-07T13:41:56.000Z\",\n  \"createdBy\": \"00u7xut94qEWYx5ss1e5\",\n  \"lastUpdated\": \"2023-07-07T13:43:03.000Z\",\n  \"events\": {\n    \"type\": \"EVENT_TYPE\",\n    \"items\": [ … ],\n    \"filter\": { … }\n  },\n  \"channel\": {\n    \"type\": \"HTTP\",\n    \"version\": \"1.0.0\",\n    \"config\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"verify\": { … },\n    \"hints\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":65,"estimatedTokens":336}}215{"id":"doc-activate_a_log_stream-2c3f9edd","source":"documentation","title":"Activate a log stream","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/logstream/other/activatelogstream","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/logStreams/0oa1orzg0CHSgPcjZ0g4/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa1orqUGCIoCGNxf0g4\",\n  \"type\": \"aws_eventbridge\",\n  \"name\": \"Example AWS EventBridge\",\n  \"lastUpdated\": \"2023-03-24T21:22:43.000Z\",\n  \"created\": \"2023-03-24T21:02:43.000Z\",\n  \"status\": \"ACTIVE\",\n  \"settings\": {\n    \"accountId\": \"123456789012\",\n    \"eventSourceName\": \"your-event-source-name\",\n    \"region\": \"us-east-2\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":141}}216{"id":"doc-replace_an_event_hook-e970b7df","source":"documentation","title":"Replace an event hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/eventhook/other/replaceeventhook","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/eventHooks/who8vt36qfNpCGz9H1e6 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Event Hook with Filter\",\n    \"description\": \"An event hook using an Okta Expression Language filter\",\n    \"events\": {\n      \"type\": \"EVENT_TYPE\",\n      \"items\": [\n        \"group.user_membership.add\"\n      ],\n      \"filter\": {\n        \"type\": \"EXPRESSION_LANGUAGE\",\n        \"eventFilterMap\": [\n          {\n            \"event\": \"group.user_membership.add\",\n            \"condition\": {\n              \"expression\": \"event.target.?[type eq '\\''UserGroup'\\''].size()>0 && event.target.?[displayName eq '\\''Sales'\\''].size()>0\"\n            }\n          }\n        ]\n      }\n    },\n    \"channel\": {\n      \"type\": \"HTTP\",\n      \"version\": \"1.0.0\",\n      \"config\": {\n        \"uri\": \"https://example_external_service/userAdded\",\n        \"authScheme\": {\n          \"type\": \"HEADER\",\n          \"key\": \"Authorization\",\n          \"value\": \"my-shared-secret\"\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"who8vt36qfNpCGz9H1e6\",\n  \"status\": \"ACTIVE\",\n  \"verificationStatus\": \"VERIFIED\",\n  \"name\": \"Event Hook with Filter\",\n  \"description\": \"An event hook using an Okta Expression Language filter\",\n  \"created\": \"2023-07-07T13:41:56.000Z\",\n  \"createdBy\": \"00u7xut94qEWYx5ss1e5\",\n  \"lastUpdated\": \"2023-07-07T13:43:03.000Z\",\n  \"events\": {\n    \"type\": \"EVENT_TYPE\",\n    \"items\": [ … ],\n    \"filter\": { … }\n  },\n  \"channel\": {\n    \"type\": \"HTTP\",\n    \"version\": \"1.0.0\",\n    \"config\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"verify\": { … },\n    \"hints\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":71,"estimatedTokens":419}}217{"id":"doc-retrieve_an_event_hook-c0c5bc7e","source":"documentation","title":"Retrieve an event hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/eventhook/other/geteventhook","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/eventHooks/who8vt36qfNpCGz9H1e6\n```\n\nExample:\n```text\n{\n  \"id\": \"who8vt36qfNpCGz9H1e6\",\n  \"status\": \"ACTIVE\",\n  \"verificationStatus\": \"VERIFIED\",\n  \"name\": \"Event Hook Test\",\n  \"description\": null,\n  \"created\": \"2023-07-07T13:41:56.000Z\",\n  \"createdBy\": \"00u7xut94qEWYx5ss1e5\",\n  \"lastUpdated\": \"2023-07-07T13:43:03.000Z\",\n  \"events\": {\n    \"type\": \"EVENT_TYPE\",\n    \"items\": [ … ],\n    \"filter\": null\n  },\n  \"channel\": {\n    \"type\": \"HTTP\",\n    \"version\": \"1.0.0\",\n    \"config\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"verify\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":166}}218{"id":"doc-retrieve_a_log_stream-6fd13b0d","source":"documentation","title":"Retrieve a log stream","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/logstream/other/getlogstream","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/logStreams/0oa1orzg0CHSgPcjZ0g4\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa1orqUGCIoCGNxf0g4\",\n  \"type\": \"aws_eventbridge\",\n  \"name\": \"Example AWS EventBridge\",\n  \"lastUpdated\": \"2023-03-24T21:02:43.000Z\",\n  \"created\": \"2023-03-24T21:02:43.000Z\",\n  \"status\": \"ACTIVE\",\n  \"settings\": {\n    \"accountId\": \"123456789012\",\n    \"eventSourceName\": \"your-event-source-name\",\n    \"region\": \"us-east-2\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":136}}219{"id":"doc-deactivate_an_event_hook-e34f96e3","source":"documentation","title":"Deactivate an event hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/eventhook/other/deactivateeventhook","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/eventHooks/who8vt36qfNpCGz9H1e6/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"who8vt36qfNpCGz9H1e6\",\n  \"status\": \"INACTIVE\",\n  \"verificationStatus\": \"VERIFIED\",\n  \"name\": \"Event Hook Test\",\n  \"description\": null,\n  \"created\": \"2023-07-07T13:41:56.000Z\",\n  \"createdBy\": \"00u7xut94qEWYx5ss1e5\",\n  \"lastUpdated\": \"2023-07-07T13:43:03.000Z\",\n  \"events\": {\n    \"type\": \"EVENT_TYPE\",\n    \"items\": [ … ],\n    \"filter\": null\n  },\n  \"channel\": {\n    \"type\": \"HTTP\",\n    \"version\": \"1.0.0\",\n    \"config\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"verify\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":172}}220{"id":"doc-verify_an_event_hook-42a43186","source":"documentation","title":"Verify an event hook","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/eventhook/other/verifyeventhook","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/eventHooks/who8vt36qfNpCGz9H1e6/lifecycle/verify\n```\n\nExample:\n```text\n{\n  \"id\": \"who8vt36qfNpCGz9H1e6\",\n  \"status\": \"ACTIVE\",\n  \"verificationStatus\": \"VERIFIED\",\n  \"name\": \"Event Hook Test\",\n  \"description\": null,\n  \"created\": \"2023-07-07T13:41:56.000Z\",\n  \"createdBy\": \"00u7xut94qEWYx5ss1e5\",\n  \"lastUpdated\": \"2023-07-07T13:43:03.000Z\",\n  \"events\": {\n    \"type\": \"EVENT_TYPE\",\n    \"items\": [ … ],\n    \"filter\": null\n  },\n  \"channel\": {\n    \"type\": \"HTTP\",\n    \"version\": \"1.0.0\",\n    \"config\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"verify\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":170}}221{"id":"doc-retrieve_a_csv_export_of_filtered_applications-f4a61ac6","source":"documentation","title":"Retrieve a CSV export of filtered applications","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/getapplicationscsvexport","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/export?q=salesforce&status=ACTIVE%2CINACTIVE&types=SAML%2COIDC&labels=HR%2CIT'\n```\n\nExample:\n```text\nname,clientId,types,labels,status,lastModifiedDate\n\"Okta Salesforce\",,SAML;PROVISIONING,\"billing;sox\",ACTIVE,2026-06-20T12:34:56Z\n\"Okta Workflows\",0oa11qqppWT4SSHNp0g5,OIDC,,ACTIVE,2026-06-24T07:44:42Z\n\"ApiServiceApp\",0oa3ck4vIANix4RD90g4,OIDC;API_SERVICE,\"internal-tools\",ACTIVE,2026-06-11T06:59:46Z\n\"Legacy SWA App\",,SWA,\"legacy\",INACTIVE,2025-11-03T18:22:10Z\n\"Zoom\",,SAML;PROVISIONING;UNIVERSAL_LOGOUT,\"video;sox\",ACTIVE,2026-05-15T14:08:33Z\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":160}}222{"id":"doc-webhooks-2dca84b5","source":"documentation","title":"webhooks","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/inlinehook/webhooks","text":"Example:\n```text\n{\n  \"eventId\": \"uS5871kJThSsU8qlA1LTcg\",\n  \"eventTime\": \"2020-01-17T21:23:56.000Z\",\n  \"eventType\": \"com.okta.telephony.provider\",\n  \"eventTypeVersion\": \"1.0\",\n  \"contentType\": \"application/json\",\n  \"cloudEventVersion\": \"0.1\",\n  \"source\": \"https://${yourOktaDomain}/api/v1/inlineHooks/cbl2ad6phv9fsPLcF0g7\",\n  \"data\": {\n    \"context\": { … },\n    \"userProfile\": { … },\n    \"messageProfile\": { … }\n  }\n}\n```\n\nExample:\n```text\n{\n  \"commands\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":123}}223{"id":"doc-applications-ddce414b","source":"documentation","title":"Applications","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application","text":"Example:\n```text\n{\n  \"app\": {\n    \"domain\": \"my-company-domain\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"name\": \"google\",\n  \"label\": \"Sample Google App\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"settings\": {\n    \"app\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":58}}224{"id":"doc-delete_an_application-0e69adc6","source":"documentation","title":"Delete an application","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/deleteapplication","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}225{"id":"doc-list_all_applications_that_match_search_filters-a1d67b52","source":"documentation","title":"List all applications that match search filters","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/listapplicationsbysearch","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/search?q=salesforce&status=ACTIVE%2CINACTIVE&types=SAML%2COIDC&labels=HR%2CIT&after=16275000448691&limit=50'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0oa11qqppWT4SSHNp0g5\",\n    \"orn\": \"orn:okta:idp:00o12xmdseDodgJDT0g4:apps:okta_flow_sso:0oa11qqppWT4SSHNp0g5\",\n    \"label\": \"Okta Workflows\",\n    \"status\": \"ACTIVE\",\n    \"lastUpdated\": \"2026-06-24T07:44:42.000Z\",\n    \"created\": \"2026-06-24T07:44:42.000Z\",\n    \"authenticationPipeline\": \"ORG_DEFAULT\",\n    \"accessibility\": { … },\n    \"visibility\": { … },\n    \"features\": [],\n    \"signOnMode\": \"OPENID_CONNECT\",\n    \"types\": [ … ],\n    \"universalLogout\": null,\n    \"licensing\": { … },\n    \"profile\": {},\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"0oa47qw4QJL1xMNcC0g4\",\n    \"orn\": \"orn:okta:idp:00o12xmdseDodgJDT0g4:apps:template_saml_2_0:0oa47qw4QJL1xMNcC0g4\",\n    \"label\": \"My SAML App\",\n    \"status\": \"ACTIVE\",\n    \"lastUpdated\": \"2026-05-12T09:04:33.000Z\",\n    \"created\": \"2026-04-22T10:07:25.000Z\",\n    \"authenticationPipeline\": \"ORG_DEFAULT\",\n    \"accessibility\": { … },\n    \"visibility\": { … },\n    \"features\": [ … ],\n    \"signOnMode\": \"SAML_2_0\",\n    \"types\": [ … ],\n    \"universalLogout\": { … },\n    \"licensing\": { … },\n    \"profile\": {},\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"0oa3ck4vIANix4RD90g4\",\n    \"orn\": \"orn:okta:idp:00o12xmdseDodgJDT0g4:apps:oidc_client:0oa3ck4vIANix4RD90g4\",\n    \"label\": \"ApiServiceApp\",\n    \"status\": \"ACTIVE\",\n    \"lastUpdated\": \"2026-06-11T06:59:46.000Z\",\n    \"created\": \"2026-04-20T15:49:56.000Z\",\n    \"authenticationPipeline\": \"ORG_DEFAULT\",\n    \"accessibility\": { … },\n    \"visibility\": { … },\n    \"features\": [],\n    \"signOnMode\": \"OPENID_CONNECT\",\n    \"types\": [ … ],\n    \"universalLogout\": null,\n    \"licensing\": { … },\n    \"profile\": {},\n    \"expressConfiguration\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":68,"estimatedTokens":471}}226{"id":"doc-activate_an_application-35a6d39a","source":"documentation","title":"Activate an application","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/activateapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}227{"id":"doc-list_all_applications-e002a561","source":"documentation","title":"List all applications","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/listapplications","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps?q=Okta&after=16278919418571&useOptimization=false&alwaysIncludeVpnSettings=false&limit=-1&filter=status%20eq%20%22ACTIVE%22&expand=user%2F0oa1gjh63g214q0Hq0g4&includeNonDeleted=false'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0oa1gjh63g214q0Hq0g4\",\n    \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:testorgone_customsaml20app_1:0oa1gjh63g214q0Hq0g4\",\n    \"name\": \"testorgone_customsaml20app_1\",\n    \"label\": \"Custom Saml 2.0 App\",\n    \"status\": \"ACTIVE\",\n    \"lastUpdated\": \"2016-08-09T20:12:19.000Z\",\n    \"created\": \"2016-08-09T20:12:19.000Z\",\n    \"accessibility\": { … },\n    \"visibility\": { … },\n    \"features\": [],\n    \"signOnMode\": \"SAML_2_0\",\n    \"credentials\": { … },\n    \"settings\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":199}}228{"id":"doc-create_an_application-a5903bfc","source":"documentation","title":"Create an application","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/createapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/apps?activate=true' \\\n  -H 'Content-Type: application/json' \\\n  -H 'OktaAccessGateway-Agent: string' \\\n  -d '{\n    \"name\": \"bookmark\",\n    \"label\": \"Sample Bookmark App\",\n    \"signOnMode\": \"BOOKMARK\",\n    \"settings\": {\n      \"app\": {\n        \"url\": \"https://example.com/bookmark.html\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oafxqCAJWWGELFTYASJ\",\n  \"status\": \"ACTIVE\",\n  \"lastUpdated\": \"2023-01-21T14:11:24.000Z\",\n  \"created\": \"2023-01-21T14:11:24.000Z\",\n  \"accessibility\": {\n    \"selfService\": false,\n    \"errorRedirectUrl\": null,\n    \"loginRedirectUrl\": null\n  },\n  \"_links\": {\n    \"uploadLogo\": { … },\n    \"appLinks\": [ … ],\n    \"groups\": { … },\n    \"logo\": [ … ],\n    \"users\": { … },\n    \"deactivate\": { … }\n  },\n  \"visibility\": {\n    \"autoLaunch\": false,\n    \"autoSubmitToolbar\": false,\n    \"hide\": { … },\n    \"appLinks\": { … }\n  },\n  \"name\": \"bookmark\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:bookmark:0oafxqCAJWWGELFTYASJ\",\n  \"label\": \"Sample Bookmark App\",\n  \"features\": [],\n  \"signOnMode\": \"BOOKMARK\",\n  \"credentials\": {\n    \"userNameTemplate\": { … },\n    \"signing\": {}\n  },\n  \"settings\": {\n    \"app\": { … },\n    \"notifications\": { … },\n    \"manualProvisioning\": false,\n    \"implicitAssignment\": false,\n    \"notes\": { … },\n    \"emOptInStatus\": \"DISABLED\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":65,"estimatedTokens":346}}229{"id":"doc-deactivate_an_application-8a936a56","source":"documentation","title":"Deactivate an application","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/deactivateapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}230{"id":"doc-list_all_app_types_in_use_with_usage_counts-7a2ff33d","source":"documentation","title":"List all app types in use with usage counts","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/listapptypeusage","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/types\n```\n\nExample:\n```text\n[\n  {\n    \"type\": \"SAML\",\n    \"count\": 47\n  },\n  {\n    \"type\": \"OIDC\",\n    \"count\": 12\n  },\n  {\n    \"type\": \"PROVISIONING\",\n    \"count\": 8\n  },\n  {\n    \"type\": \"UNIVERSAL_LOGOUT\",\n    \"count\": 3\n  },\n  {\n    \"type\": \"API_SERVICE\",\n    \"count\": 2\n  },\n  {\n    \"type\": \"SWA\",\n    \"count\": 5\n  },\n  {\n    \"type\": \"ENTITLEMENTS_MANAGEMENT\",\n    \"count\": 1\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":41,"estimatedTokens":120}}231{"id":"doc-retrieve_an_application-5af2db58","source":"documentation","title":"Retrieve an application","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/getapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ?expand=user%2F0oa1gjh63g214q0Hq0g4'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa1gjh63g214q0Hq0g4\",\n  \"name\": \"testorgone_customsaml20app_1\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:testorgone_customsaml20app_1:0oa1gjh63g214q0Hq0g4\",\n  \"label\": \"Custom Saml 2.0 App\",\n  \"status\": \"ACTIVE\",\n  \"lastUpdated\": \"2016-08-09T20:12:19.000Z\",\n  \"created\": \"2016-08-09T20:12:19.000Z\",\n  \"accessibility\": {\n    \"selfService\": false,\n    \"errorRedirectUrl\": null,\n    \"loginRedirectUrl\": null\n  },\n  \"visibility\": {\n    \"autoSubmitToolbar\": false,\n    \"hide\": { … },\n    \"appLinks\": { … }\n  },\n  \"features\": [],\n  \"signOnMode\": \"SAML_2_0\",\n  \"credentials\": {\n    \"userNameTemplate\": { … },\n    \"signing\": {}\n  },\n  \"settings\": {\n    \"app\": {},\n    \"notifications\": { … },\n    \"signOn\": { … }\n  },\n  \"universalLogout\": {\n    \"status\": \"ENABLED\",\n    \"supportType\": \"FULL\",\n    \"identityStack\": \"NOT_SHARED\",\n    \"protocol\": \"GLOBAL_TOKEN_REVOCATION\"\n  },\n  \"expressConfiguration\": {\n    \"supportedCapabilities\": [ … ],\n    \"enabledCapabilities\": [ … ]\n  },\n  \"_links\": {\n    \"logo\": [ … ],\n    \"appLinks\": [ … ],\n    \"help\": { … },\n    \"users\": { … },\n    \"deactivate\": { … },\n    \"groups\": { … },\n    \"metadata\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.844Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":60,"estimatedTokens":333}}232{"id":"doc-event_hooks_concepts_okta_developer-1908a139","source":"documentation","title":"Event hooks concepts | Okta Developer","url":"https://developer.okta.com/docs/concepts/event-hooks","text":"Example:\n```http\nAccept: application/json\nContent-Type: application/json\nAuthorization: {key}\n```\n\nExample:\n```json\n{\n    \"eventType\": \"com.okta.event_hook\",\n    \"eventTypeVersion\": \"1.0\",\n    \"cloudEventsVersion\": \"0.1\",\n    \"source\": \"https://{yourOktaDomain}/api/v1/eventHooks/who7hphp39JoHLni81d7\",\n    \"eventId\": \"85b60edb-4263-4e13-993b-818e26201052\",\n    \"data\": {\n        \"events\": [\n            {\n                \"uuid\": \"f1d0b993-cc19-11ed-a688-db22c99ef6c4\",\n                \"published\": \"2023-03-26T21:05:32.159Z\",\n                \"eventType\": \"user.session.start\",\n                \"version\": \"0\",\n                \"displayMessage\": \"User login to Okta\",\n                \"severity\": \"INFO\",\n                \"client\": {\n                    \"userAgent\": {\n                        \"rawUserAgent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36\",\n                        \"os\": \"Mac OS X\",\n                        \"browser\": \"CHROME\"\n                    },\n                    \"zone\": \"null\",\n                    \"device\": \"Computer\",\n                    \"id\": null,\n                    \"ipAddress\": \"142.126.158.61\",\n                    \"geographicalContext\": {\n                        \"city\": \"Toronto\",\n                        \"state\": \"Ontario\",\n                        \"country\": \"Canada\",\n                        \"postalCode\": \"M4M\",\n                        \"geolocation\": {\n                            \"lat\": 43.6567,\n                            \"lon\": -79.34\n                        }\n                    },\n                    \"ipChain\": [\n                        {\n                            \"ip\": \"142.126.158.61\",\n                            \"geographicalContext\": {\n                                \"city\": \"Toronto\",\n                                \"state\": \"Ontario\",\n                                \"country\": \"Canada\",\n                                \"postalCode\": \"M4M\",\n                                \"geolocation\": {\n                                    \"lat\": 43.6567,\n                                    \"lon\": -79.34\n                                }\n                            },\n                            \"version\": \"V4\",\n                            \"source\": null\n                        }\n                    ]\n                },\n                \"device\": null,\n                \"actor\": {\n                    \"id\": \"00uz9fj5aT69fHVro1d6\",\n                    \"type\": \"User\",\n                    \"alternateId\": \"admin@okta.com\",\n                    \"displayName\": \"Admin Name\",\n                    \"detailEntry\": null\n                },\n                \"outcome\": {\n                    \"result\": \"SUCCESS\",\n                    \"reason\": null\n                },\n                \"target\": [\n                    {\n                        \"id\": \"lae42mkdc9i9cbw3U1d6\",\n                        \"type\": \"AuthenticatorEnrollment\",\n                        \"alternateId\": \"unknown\",\n                        \"displayName\": \"Password\",\n                        \"detailEntry\": null\n                    },\n                    {\n                        \"id\": \"0oaz9fj21WKqTeaqs1d6\",\n                        \"type\": \"AppInstance\",\n                        \"alternateId\": \"Okta Admin Console\",\n                        \"displayName\": \"Okta Admin Console\",\n                        \"detailEntry\": null\n                    }\n                ],\n                \"transaction\": {\n                    \"type\": \"WEB\",\n                    \"id\": \"ZCCzm8j2wTvzwele2NwLnwAADSc\",\n                    \"detail\": {}\n                },\n                \"debugContext\": {\n                    \"debugData\": {\n                        \"authnRequestId\": \"ZCCzlCoZuOyo8RfASqHmPAAAAc8\",\n                        \"deviceFingerprint\": \"3411ee4c591b2229f3bea251e12e0c1a\",\n                        \"requestId\": \"ZCCzm8j2wTvzwele2NwLnwAADSc\",\n                        \"dtHash\": \"f59d98b2e02f1319ef4ca651f57c36e3f25507f67dd6daf0408f753896b7e8dc\",\n                        \"origin\": \"https://{yourOktaDomain}\",\n                        \"requestUri\": \"/idp/idx/identify\",\n                        \"threatSuspected\": \"false\",\n                        \"url\": \"/idp/idx/identify?\"\n                    }\n                },\n                \"legacyEventType\": \"core.user_auth.login_success\",\n                \"authenticationContext\": {\n                    \"authenticationProvider\": null,\n                    \"credentialProvider\": null,\n                    \"credentialType\": null,\n                    \"issuer\": null,\n                    \"authenticationStep\": 0,\n                    \"externalSessionId\": \"idxyNcxVX2ESsSL0u462548Qg\",\n                    \"interface\": null\n                },\n                \"securityContext\": {\n                    \"asNumber\": null,\n                    \"asOrg\": null,\n                    \"isp\": null,\n                    \"domain\": null,\n                    \"isProxy\": null\n                },\n                \"insertionTimestamp\": null\n            }\n        ]\n    },\n    \"eventTime\": \"2023-03-28T17:03:37.093Z\",\n    \"contentType\": \"application/json\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.844Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":134,"estimatedTokens":1285}}233{"id":"doc-replace_an_application-7c15b1d3","source":"documentation","title":"Replace an application","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/replaceapplication","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"bookmark\",\n    \"label\": \"Sample Bookmark App updated\",\n    \"signOnMode\": \"BOOKMARK\",\n    \"settings\": {\n      \"app\": {\n        \"requestIntegration\": true,\n        \"url\": \"https://example.com/bookmark.html\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oafxqCAJWWGELFTYASJ\",\n  \"status\": \"ACTIVE\",\n  \"lastUpdated\": \"2023-01-21T14:11:24.000Z\",\n  \"created\": \"2023-01-21T14:11:24.000Z\",\n  \"accessibility\": {\n    \"selfService\": false,\n    \"errorRedirectUrl\": null,\n    \"loginRedirectUrl\": null\n  },\n  \"_links\": {\n    \"uploadLogo\": { … },\n    \"appLinks\": [ … ],\n    \"groups\": { … },\n    \"logo\": [ … ],\n    \"users\": { … },\n    \"deactivate\": { … }\n  },\n  \"visibility\": {\n    \"autoLaunch\": false,\n    \"autoSubmitToolbar\": false,\n    \"hide\": { … },\n    \"appLinks\": { … }\n  },\n  \"name\": \"bookmark\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:bookmark:0oafxqCAJWWGELFTYASJ\",\n  \"label\": \"Sample Bookmark App updated\",\n  \"features\": [],\n  \"signOnMode\": \"BOOKMARK\",\n  \"credentials\": {\n    \"userNameTemplate\": { … },\n    \"signing\": {}\n  },\n  \"settings\": {\n    \"app\": { … },\n    \"notifications\": { … },\n    \"manualProvisioning\": false,\n    \"implicitAssignment\": false,\n    \"notes\": { … },\n    \"emOptInStatus\": \"DISABLED\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.845Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":65,"estimatedTokens":350}}234{"id":"doc-inline_hooks_okta_developer-d59b9558","source":"documentation","title":"Inline hooks | Okta Developer","url":"https://developer.okta.com/docs/concepts/inline-hooks","text":"Example:\n```http\nAccept: application/json\nContent-Type: application/json\nAuthorization: {key}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.846Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":28}}235{"id":"doc-jwt_validation_guide_okta_developer-843b5a73","source":"documentation","title":"JWT Validation Guide | Okta Developer","url":"https://developer.okta.com/code/dotnet/jwt-validation/","text":"Example:\n```csharp\n// Replace with your authorization server URL:\nvar issuer = \"https://${yourOktaDomain}/oauth2/default\";\n\nvar configurationManager = new ConfigurationManager<OpenIdConnectConfiguration>(\n    issuer + \"/.well-known/oauth-authorization-server\",\n    new OpenIdConnectConfigurationRetriever(),\n    new HttpDocumentRetriever());\n```\n\nExample:\n```csharp\nprivate static async Task<JwtSecurityToken> ValidateToken(\n    string token,\n    string issuer,\n    IConfigurationManager<OpenIdConnectConfiguration> configurationManager,\n    CancellationToken ct = default(CancellationToken))\n{\n    if (string.IsNullOrEmpty(token)) throw new ArgumentNullException(nameof(token));\n    if (string.IsNullOrEmpty(issuer)) throw new ArgumentNullException(nameof(issuer));\n\n    var discoveryDocument = await configurationManager.GetConfigurationAsync(ct);\n    var signingKeys = discoveryDocument.SigningKeys;\n\n    var validationParameters = new TokenValidationParameters\n    {\n        RequireExpirationTime = true,\n        RequireSignedTokens = true,\n        ValidateIssuer = true,\n        ValidIssuer = issuer,\n        ValidateIssuerSigningKey = true,\n        IssuerSigningKeys = signingKeys,\n        ValidateLifetime = true,\n        // Allow for some drift in server time\n        // (a lower value is better; we recommend two minutes or less)\n        ClockSkew = TimeSpan.FromMinutes(2),\n        // See additional validation for aud below\n    };\n\n    try\n    {\n        var principal = new JwtSecurityTokenHandler()\n            .ValidateToken(token, validationParameters, out var rawValidatedToken);\n\n        return (JwtSecurityToken)rawValidatedToken;\n    }\n    catch (SecurityTokenValidationException)\n    {\n        // Logging, etc.\n\n        return null;\n    }\n}\n```\n\nExample:\n```csharp\nvar accessToken = \"eyJh...\";\n\nvar validatedToken = await ValidateToken(accessToken, issuer, configurationManager);\n\nif (validatedToken == null)\n{\n    Console.WriteLine(\"Invalid token\");\n}\nelse\n{\n    // Additional validation...\n    Console.WriteLine(\"Token is valid!\");\n}\n```\n\nExample:\n```csharp\nValidateAudience = true,\nValidAudience = \"MyAwesomeApi\",\n```\n\nExample:\n```csharp\n// Validate alg\nvar validatedToken = await ValidateToken(accessToken, issuer, configurationManager);\nvar expectedAlg = SecurityAlgorithms.RsaSha256; //Okta uses RS256\n\nif (validatedToken.Header?.Alg == null || validatedToken.Header?.Alg != expectedAlg)\n{\n    throw new SecurityTokenValidationException(\"The alg must be RS256.\");\n}\n```\n\nExample:\n```csharp\nValidateAudience = true,\nValidAudience = \"xyz123\", // This Application's Client ID\n```\n\nExample:\n```csharp\n// Validate alg\nvar validatedToken = await ValidateToken(idToken, issuer, configurationManager);\nvar expectedAlg = SecurityAlgorithms.RsaSha256; //Okta uses RS256\n\nif (validatedToken.Header?.Alg == null || validatedToken.Header?.Alg != expectedAlg)\n{\n    throw new SecurityTokenValidationException(\"The alg must be RS256.\");\n}\n```\n\nExample:\n```csharp\nvar validatedToken = await ValidateToken(idToken, issuer, configurationManager);\n\n// Validate nonce\nvar expectedNonce = \"foobar\"; // Retrieve this from a saved cookie or other mechanism\nvar nonceMatches = validatedToken.Payload.TryGetValue(\"nonce\", out var rawNonce)\n    && rawNonce.ToString() == expectedNonce;\n\nif (!nonceMatches)\n{\n    throw new SecurityTokenValidationException(\"The nonce was invalid.\");\n}\n```\n\nExample:\n```csharp\nConsole.WriteLine($\"Token subject: {validatedToken.Subject}\");\n```\n\nExample:\n```csharp\nConsole.WriteLine(\"All claims:\");\n\nforeach (var claim in validatedToken.Claims)\n{\n    Console.WriteLine($\"{claim.Type}\\t{claim.Value}\");\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.847Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":140,"estimatedTokens":913}}236{"id":"doc-validate_access_tokens_okta_developer-1242753f","source":"documentation","title":"Validate Access Tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/validate-access-tokens/nodejs/main/","text":"Example:\n```javascript\nconst OktaJwtVerifier = require('@okta/jwt-verifier');\n\nconst oktaJwtVerifier = new OktaJwtVerifier({\n  issuer: 'https://{yourOktaDomain}/oauth2/default' // issuer required\n});\n```\n\nExample:\n```javascript\noktaJwtVerifier.verifyAccessToken(accessTokenString, expectedAud)\n.then( jwt => {\n  // the token is valid\n  console.log(jwt.claims);\n})\n.catch( err => {\n  // a validation failed, inspect the error\n});\n```\n\nExample:\n```javascript\n// Passing a string for expectedAud\noktaJwtVerifier.verifyAccessToken(accessTokenString, 'api://default')\n.then( jwt => console.log('token is valid') )\n.catch( err => console.warn('token failed validation') );\n\n// Passing an array for expectedAud\noktaJwtVerifier.verifyAccessToken(\n  accessTokenString,\n  [ 'api://special', 'api://default']\n)\n.then( jwt => console.log('token is valid') )\n.catch( err => console.warn('token failed validation') );\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.847Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":38,"estimatedTokens":231}}237{"id":"doc-sign_users_in_to_your_spa_using_the_redirect_mod-326c3071","source":"documentation","title":"Sign users in to your SPA using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-spa-redirect/vue/main/","text":"Example:\n```shell\nnpm create vue@3.11.2\n```\n\nExample:\n```shell\ncd okta-vue-quickstart\nnpm install\n```\n\nExample:\n```shell\nnpm install @okta/okta-vue@5.7.0\nnpm install @okta/okta-auth-js@7.8.1\n```\n\nExample:\n```js\nexport default {\n  oidc: {\n    clientId: '{yourClientID}',\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    redirectUri: window.location.origin + '/login/callback',\n    scopes: ['openid', 'offline_access', 'profile', 'email']\n  }\n}\n```\n\nExample:\n```js\nimport { createApp } from 'vue'\nimport { OktaAuth } from '@okta/okta-auth-js'\nimport OktaVue from '@okta/okta-vue'\nimport App from './App.vue'\nimport router from './router'\n\nimport sampleConfig from '@/config'\n\nconst oktaAuth = new OktaAuth(sampleConfig.oidc)\n\ncreateApp(App)\n  .use(router)\n  .use(OktaVue, { oktaAuth })\n  .mount('#app')\n```\n\nExample:\n```js\n<script setup>\nimport { useAuth } from '@okta/okta-vue';\n\ndefineProps({\n  msg: {\n    type: String,\n    required: true\n  }\n })\n\nconst $auth = useAuth();\nconst login = async () => {\n   await $auth.signInWithRedirect({ originalUri: '/' })\n}\nconst logout = async () => {\n   await $auth.signOut()\n}\n</script>\n```\n\nExample:\n```js\nimport { LoginCallback, navigationGuard } from '@okta/okta-vue'\n```\n\nExample:\n```js\n{\n  path: '/login/callback',\n  component: LoginCallback\n},\n```\n\nExample:\n```js\nrouter.beforeEach(navigationGuard)\n```\n\nExample:\n```html\n<script setup>\n  import Profile from '../components/Profile.vue'\n</script>\n\n<template>\n  <main>\n    <Profile />\n  </main>\n</template>\n```\n\nExample:\n```ts\n<script setup>\nimport { ref, onMounted } from 'vue'\nimport { useAuth } from '@okta/okta-vue';\n\nconst $auth = useAuth();\nlet claims = ref([]);\n\nonMounted(async () => {\n   const idToken = await $auth.tokenManager.get('idToken')\n   claims.value = Object.entries(idToken.claims).map(entry => ({ claim: entry[0], value: entry[1] }))\n})\n</script>\n\n<template>\n  <table>\n    <thead>\n      <tr>\n        <th>Claim</th>\n        <th>Value</th>\n      </tr>\n    </thead>\n    <tbody>\n      <tr\n        v-for=\"(claim, index) in claims\"\n        :key=\"index\"\n      >\n        <td>{{claim.claim}}</td>\n        <td :id=\"'claim-' + claim.claim\">{{claim.value}}</td>\n      </tr>\n    </tbody>\n  </table>\n</template>\n\n <style scoped>\n table {\n   width: 100%;\n   border-collapse: collapse;\n }\n\n th {\n   font-weight: bold;\n   text-align: left;\n   border-bottom: 2px solid #ddd;\n   padding: 8px;\n }\n\n td {\n   padding: 8px;\n   border-bottom: 1px solid #ddd;\n }\n\n td:first-child {\n   font-weight: bold;\n }\n </style>\n```\n\nExample:\n```ts\nimport ProfileView from '../views/ProfileView.vue'\n```\n\nExample:\n```ts\n{\n  path: '/profile',\n  component: ProfileView,\n}\n```\n\nExample:\n```shell\nnpm run dev\n```\n\nExample:\n```ts\nmeta: {\n  requiresAuth: true\n}\n```\n\nExample:\n```ts\n{\n  path: '/',\n  name: 'home',\n  component: HomeView,\n  children: [\n    {\n      path: '/profile',\n      component: ProfileView\n    }\n  ],\n  meta: {\n    requiresAuth: true\n  }\n},\n```\n\nExample:\n```javascript\n{\n  path: '/profile',\n  component: ProfileView,\n  meta: {\n    requiresAuth: true\n  }\n},\n```\n\nExample:\n```http\nAuthorization: Bearer {token}\n```\n\nExample:\n```js\n<template>\n  <ul v-if=\"posts && posts.length\">\n    <li v-for=\"post in posts\" :key='post.title'>\n      <p><strong>{{post.title}}</strong></p>\n      <p>{{post.body}}</p>\n    </li>\n  </ul>\n</template>\n\n<script setup>\nimport { ref, onMounted } from 'vue'\nimport axios from 'axios'\n\nimport { useAuth } from '@okta/okta-vue';\n\nconst $auth = useAuth();\nlet posts = ref([]);\n\nonMounted(async () => {\n  try {\n    const accessToken = $auth.getAccessToken()\n      const response = await axios.get(`http://localhost:${serverPort}/api/messages`, {\n        headers: {\n          Authorization: `Bearer ${accessToken}`\n        }\n      })\n\n    const response = await axios.get(`http://localhost:{serverPort}/api/messages`)\n    posts.value = response.data\n  } catch (e) {\n    console.error(`Errors! ${e}`)\n  }\n})\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.848Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":257,"estimatedTokens":988}}238{"id":"doc-sign_users_in_to_your_web_app_using_the_redirect-d1ae1995","source":"documentation","title":"Sign users in to your web app using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-web-app-redirect/spring-boot/main/","text":"Example:\n```xml\n<dependency>\n  <groupId>com.okta.spring</groupId>\n  <artifactId>okta-spring-boot-starter</artifactId>\n  <version>3.0.5</version>\n</dependency>\n```\n\nExample:\n```properties\nokta.oauth2.issuer=https://{yourOktaDomain}/oauth2/default\nokta.oauth2.client-id={clientId}\nokta.oauth2.client-secret={clientSecret}\n```\n\nExample:\n```java\nimport org.springframework.security.core.annotation.AuthenticationPrincipal;\nimport org.springframework.security.oauth2.core.oidc.user.OidcUser;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RestController;\n```\n\nExample:\n```java\n@GetMapping(\"/\")\npublic String hello(@AuthenticationPrincipal OidcUser user) {\n    return String.format(\"Welcome, %s\", user.getFullName());\n}\n```\n\nExample:\n```bash\nmvn spring-boot:run\n```\n\nExample:\n```java\n@EnableWebSecurity\npublic class SecurityConfiguration {\n\n    @Bean\n    SecurityFilterChain oauth2SecurityFilterChain(HttpSecurity http) throws Exception {\n        http.authorizeRequests((requests) -> requests.anyRequest().authenticated());\n\n        // enables OAuth redirect login\n        http.oauth2Login();\n\n        // enables OAuth Client configuration\n        http.oauth2Client();\n\n        // enables REST API support for JWT bearer tokens\n        http.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt);\n\n        return http.build();\n    }\n}\n```\n\nExample:\n```java\nhttp.authorizeRequests(request ->\n    request.antMatchers(\"/checkout/**\").authenticated())\n```\n\nExample:\n```java\nhttp.authorizeHttpRequests(authorize ->\n    authorize.mvcMatchers(\"/admin/**\").hasAuthority(\"Admin Group\"))\n```\n\nExample:\n```java\nhttp.authorizeHttpRequests(authorize ->\n    authorize.mvcMatchers(\"/\", \"/about\").permitAll())\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.849Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":79,"estimatedTokens":442}}239{"id":"doc-sign_users_in_to_your_web_app_using_the_redirect-0b6e848c","source":"documentation","title":"Sign users in to your web app using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-web-app-redirect/asp-net-core-3/main/","text":"Example:\n```bash\ndotnet add package Okta.AspNetCore\n```\n\nExample:\n```json\n\"Okta\": {\n  \"OktaDomain\": \"https://${yourOktaDomain}\",\n  \"ClientId\": \"${clientId}\",\n  \"ClientSecret\": \"${clientSecret}\",\n  \"AuthorizationServerId\": \"default\"\n}\n```\n\nExample:\n```csharp\nusing Microsoft.AspNetCore.Authentication.Cookies;\nusing Microsoft.AspNetCore.Authentication.OpenIdConnect;\nusing Okta.AspNetCore;\n```\n\nExample:\n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n   services.ConfigureApplicationCookie(options =>\n   {\n      options.Cookie.HttpOnly = true;\n      options.Cookie.SecurePolicy = Microsoft.AspNetCore.Http.CookieSecurePolicy.Always;\n   })\n   .AddAuthentication(options =>\n   {\n         options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;\n         options.DefaultChallengeScheme = OpenIdConnectDefaults.AuthenticationScheme;\n   })\n   .AddCookie()\n   .AddOktaMvc(new OktaMvcOptions\n   {\n      OktaDomain = Configuration.GetValue<string>(\"Okta:OktaDomain\"),\n      AuthorizationServerId = Configuration.GetValue<string>(\"Okta:AuthorizationServerId\"),\n      ClientId = Configuration.GetValue<string>(\"Okta:ClientId\"),\n      ClientSecret = Configuration.GetValue<string>(\"Okta:ClientSecret\"),\n      Scope = new List<string> { \"openid\", \"profile\", \"email\" },\n   });\n\n   services.AddControllersWithViews();\n}\n```\n\nExample:\n```cs\napp.UseAuthentication();\n```\n\nExample:\n```razor\n@if (User.Identity.IsAuthenticated)\n{\n   <ul class=\"nav navbar-nav navbar-right\">\n      <li>\n         <p class=\"navbar-text\">Hello, @User.Identity.Name</p>\n      </li>\n      <li>\n         <a class=\"nav-link\" asp-controller=\"Home\" asp-action=\"Profile\" id=\"profile-button\">\n            Profile\n         </a>\n      </li>\n      <li>\n         <form class=\"form-inline\" asp-controller=\"Account\" asp-action=\"SignOut\" method=\"post\">\n            <button type=\"submit\" class=\"nav-link btn btn-link text-dark\" id=\"logout-button\">\n               Sign Out\n            </button>\n         </form>\n      </li>\n   </ul>\n}\nelse\n{\n   <ul class=\"nav navbar-nav navbar-right\">\n      <li>\n         <a asp-controller=\"Account\" asp-action=\"SignIn\" id=\"login-button\">\n            Sign In\n         </a>\n      </li>\n   </ul>\n}\n```\n\nExample:\n```csharp\nusing Microsoft.AspNetCore.Authentication;\nusing Microsoft.AspNetCore.Authentication.Cookies;\nusing Okta.AspNetCore;\n```\n\nExample:\n```csharp\npublic IActionResult SignIn()\n{\n   if (!HttpContext.User.Identity.IsAuthenticated)\n   {\n      return Challenge(OktaDefaults.MvcAuthenticationScheme);\n   }\n\n   return RedirectToAction(\"Index\", \"Home\");\n}\n```\n\nExample:\n```csharp\n[HttpPost]\npublic IActionResult SignOut()\n{\n   return new SignOutResult(\n      new[]\n      {\n         OktaDefaults.MvcAuthenticationScheme,\n         CookieAuthenticationDefaults.AuthenticationScheme,\n      },\n      new AuthenticationProperties { RedirectUri = \"/Home/\" });\n}\n```\n\nExample:\n```json\n\"iisSettings\": {\n  \"windowsAuthentication\": false,\n  \"anonymousAuthentication\": true,\n  \"iisExpress\": {\n    \"applicationUrl\": \"http://localhost:8080\",\n    \"sslPort\": 44314\n  }\n}\n```\n\nExample:\n```csharp\nusing Microsoft.AspNetCore.Authorization;\n```\n\nExample:\n```csharp\n[Authorize]\npublic IActionResult Profile()\n{\n  return View(HttpContext.User.Claims);\n}\n```\n\nExample:\n```csharp\n@model IEnumerable<System.Security.Claims.Claim>\n\n@{\n   ViewBag.Title = \"View claims\";\n}\n\n<h2>@ViewBag.Title</h2>\n\n<dl class=\"dl-horizontal\">\n   @foreach (var claim in Model)\n   {\n      <dt title=\"@claim.Type\">\n         @claim.Type\n         <button type=\"button\"\n            class=\"btn btn-link btn-xs\"\n            aria-label=\"Copy to clipboard\"\n            title=\"Copy to clipboard\"\n            data-clipboard-text=\"@claim.Value\">\n            <span class=\"glyphicon glyphicon glyphicon-copy\" aria-hidden=\"true\"></span>\n         </button>\n      </dt>\n\n      <dd id=\"claim-@String.Format(\"{0}\", claim.Type)\">@claim.Value</dd>\n   }\n</dl>\n```\n\nExample:\n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n   services.AddMvc(o =>\n   {\n      var policy = new AuthorizationPolicyBuilder()\n         .RequireAuthenticatedUser()\n         .Build();\n      o.Filters.Add(new AuthorizeFilter(policy));\n   });\n}\n```\n\nExample:\n```csharp\n[Authorize]\npublic IActionResult Protected()\n{\n   // Only for signed-in users!\n   return View();\n}\n```\n\nExample:\n```csharp\n[AllowAnonymous]\npublic IActionResult PublicAccess()\n{\n   // For all users, even anonymous ones!\n   return View();\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.850Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":214,"estimatedTokens":1121}}240{"id":"doc-sign_users_in_to_your_web_app_using_the_redirect-12c67638","source":"documentation","title":"Sign users in to your web app using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-web-app-redirect/python/main/","text":"Example:\n```bash\ncd okta-flask-quickstart\npython -m venv venv\n. venv/scripts/activate  #linux or mac\nvenv/scripts/activate.bat  #windows\n```\n\nExample:\n```python\nimport base64\nimport hashlib\nimport requests\nimport secrets\n\nfrom flask import Flask, render_template, redirect, request, session, url_for\nfrom flask_cors import CORS\nfrom flask_login import (\n    LoginManager,\n    current_user,\n    login_required,\n    login_user,\n    logout_user,\n)\n\napp = Flask(__name__)\napp.config.update({'SECRET_KEY': secrets.token_hex(64)})\nCORS(app)\n\nlogin_manager = LoginManager()\nlogin_manager.init_app(app)\n\n@app.route(\"/\")\ndef home():\n    return render_template(\"signin.html\")\n\nif __name__ == '__main__':\n    app.run(host=\"localhost\", port=5000, debug=True)\n```\n\nExample:\n```shell\npip install requests Flask flask-cors pyOpenSSL Flask-Login\n```\n\nExample:\n```python\nconfig = {\n    \"auth_uri\": \"https://${yourOktaDomain}/oauth2/default/v1/authorize\",\n    \"client_id\": \"${clientId}\",\n    \"client_secret\": \"${clientSecret}\",\n    \"redirect_uri\": \"http://localhost:5000/authorization-code/callback\",\n    \"issuer\": \"https://${yourOktaDomain}/oauth2/default\",\n    \"token_uri\": \"https://${yourOktaDomain}/oauth2/default/v1/token\",\n    \"userinfo_uri\": \"https://${yourOktaDomain}/oauth2/default/v1/userinfo\"\n}\n```\n\nExample:\n```python\n{% if current_user.is_authenticated %}\n<form method=\"post\" action=\"{{ url_for(\"signout\") }}\">\n    <button id=\"signout-button\" type=\"submit\">Sign out</button>\n</form>\n{% else %}\n<form method=\"get\" action=\"signin\">\n    <button id=\"signin-button\" type=\"submit\">Sign in</button>\n</form>\n{% endif %}\n```\n\nExample:\n```py\n@app.route(\"/signin\")\ndef signin():\n    # store app state and code verifier in session\n    session['app_state'] = secrets.token_urlsafe(64)\n    session['code_verifier'] = secrets.token_urlsafe(64)\n\n    # calculate code challenge\n    hashed = hashlib.sha256(session['code_verifier'].encode('ascii')).digest()\n    encoded = base64.urlsafe_b64encode(hashed)\n    code_challenge = encoded.decode('ascii').strip('=')\n\n    # get request params\n    query_params = {'client_id': config[\"client_id\"],\n                    'redirect_uri': config[\"redirect_uri\"],\n                    'scope': \"openid email profile\",\n                    'state': session['app_state'],\n                    'code_challenge': code_challenge,\n                    'code_challenge_method': 'S256',\n                    'response_type': 'code',\n                    'response_mode': 'query'}\n\n    # build request_uri\n    request_uri = \"{base_url}?{query_params}\".format(\n        base_url=config[\"auth_uri\"],\n        query_params=requests.compat.urlencode(query_params)\n    )\n\n    return redirect(request_uri)\n```\n\nExample:\n```py\n@app.route(\"/signout\", methods=[\"GET\", \"POST\"])\n@login_required\ndef signout():\n    logout_user()\n    return redirect(url_for(\"signin\"))\n```\n\nExample:\n```py\n@app.route(\"/authorization-code/callback\")\ndef callback():\n    headers = {'Content-Type': 'application/x-www-form-urlencoded'}\n    code = request.args.get(\"code\")\n    app_state = request.args.get(\"state\")\n    if app_state != session['app_state']:\n        return \"The app state doesn't match\"\n    if not code:\n            return \"The code wasn't returned or isn't accessible\", 403\n    query_params = {'grant_type': 'authorization_code',\n                    'code': code,\n                    'redirect_uri': request.base_url,\n                    'code_verifier': session['code_verifier'],\n                    }\n    query_params = requests.compat.urlencode(query_params)\n    exchange = requests.post(\n        config[\"token_uri\"],\n        headers=headers,\n        data=query_params,\n        auth=(config[\"client_id\"], config[\"client_secret\"]),\n    ).json()\n\n    # Get tokens and validate\n    if not exchange.get(\"token_type\"):\n            return \"Unsupported token type. Should be 'Bearer'.\", 403\n    access_token = exchange[\"access_token\"]\n    id_token = exchange[\"id_token\"]\n\n    # Authorization flow successful, get userinfo and sign in user\n    userinfo_response = requests.get(config[\"userinfo_uri\"],\n                                    headers={'Authorization': f'Bearer {access_token}'}).json()\n\n    unique_id = userinfo_response[\"sub\"]\n    user_email = userinfo_response[\"email\"]\n    user_name = userinfo_response[\"given_name\"]\n\n    user = User(\n        id_=unique_id, name=user_name, email=user_email\n    )\n\n    if not User.get(unique_id):\n            User.create(unique_id, user_name, user_email)\n\n    login_user(user)\n\n    return redirect(url_for(\"profile\"))\n```\n\nExample:\n```py\nfrom flask_login import UserMixin\n\n# Simulate user database\nUSERS_DB = {}\n\nclass User(UserMixin):\n\n    \"\"\"Custom User class.\"\"\"\n\n    def __init__(self, id_, name, email):\n        self.id = id_\n        self.name = name\n        self.email = email\n\n    def claims(self):\n        \"\"\"Use this method to render all assigned claims on profile page.\"\"\"\n        return {'name': self.name,\n                'email': self.email}.items()\n\n    @staticmethod\n    def get(user_id):\n        return USERS_DB.get(user_id)\n\n    @staticmethod\n    def create(user_id, name, email):\n        USERS_DB[user_id] = User(user_id, name, email)\n```\n\nExample:\n```py\n@app.route(\"/profile\")\ndef profile():\n    return render_template(\"profile.html\", user=current_user)\n```\n\nExample:\n```py\nfrom user import User\n\n@login_manager.user_loader\ndef load_user(user_id):\n    return User.get(user_id)\n```\n\nExample:\n```bash\nflask run\n```\n\nExample:\n```python\n@app.before_request\ndef check_valid_signin():\n    endpoint_group = ('/profile', '/signout')\n    if request.endpoint in endpoint_group and not is_authenticated():\n            return render_template('signin.html', next=request.endpoint)\n```\n\nExample:\n```py\n@app.route(\"/profile\")\n@login_required\ndef profile():\n    return render_template(\"profile.html\", user=current_user)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.852Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":231,"estimatedTokens":1466}}241{"id":"doc-validate_access_tokens_okta_developer-3776b4bd","source":"documentation","title":"Validate Access Tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/validate-access-tokens/python/main/","text":"Example:\n```sh\npip install okta-jwt-verifier\n```\n\nExample:\n```py\nimport asyncio\n\nfrom okta_jwt_verifier import JWTVerifier\n\n\nasync def main():\n    jwt_verifier = JWTVerifier('{ISSUER}', '{CLIENT_ID}', 'api://default')\n    await jwt_verifier.verify_access_token('{JWT}')\n    print('Token validated successfully.')\n\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(main())\n```\n\nExample:\n```py\njwt_verifier = JWTVerifier('{ISSUER}', '{CLIENT_ID}', 'api://default', leeway=60)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.852Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":28,"estimatedTokens":125}}242{"id":"doc-sign_users_in_to_your_web_app_using_the_redirect-0c0d399b","source":"documentation","title":"Sign users in to your web app using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-web-app-redirect/node-express/main/","text":"Example:\n```bash\nnpx express-generator@4.16 --view=pug okta-express-quickstart\ncd okta-express-quickstart\n```\n\nExample:\n```bash\nnpm install cookie-parser@latest debug@latest express@latest http-errors@latest morgan@latest pug@latest\n```\n\nExample:\n```bash\nnpm install express-session passport passport-openidconnect\n```\n\nExample:\n```js\nvar session = require('express-session');\nvar passport = require('passport');\nvar { Strategy } = require('passport-openidconnect');\n```\n\nExample:\n```js\napp.use(session({\n  secret: 'CanYouLookTheOtherWay',\n  resave: false,\n  saveUninitialized: true\n}));\n\napp.use(passport.initialize());\napp.use(passport.session());\n\n// set up passport\npassport.use('oidc', new Strategy({\n  issuer: 'https://{yourOktaDomain}',\n  authorizationURL: 'https://{yourOktaDomain}/oauth2/v1/authorize',\n  tokenURL: 'https://{yourOktaDomain}/oauth2/v1/token',\n  userInfoURL: 'https://{yourOktaDomain}/oauth2/v1/userinfo',\n  clientID: '{clientID}',\n  clientSecret: '{clientSecret}',\n  callbackURL: 'http://localhost:3000/authorization-code/callback',\n  scope: 'openid profile'\n}, (issuer, profile, done) => {\n  return done(null, profile);\n}));\n\npassport.serializeUser((user, next) => {\n  next(null, user);\n});\n\npassport.deserializeUser((obj, next) => {\n  next(null, obj);\n});\n```\n\nExample:\n```pug\ndoctype html\nhtml\n  head\n    title= \"Express app\"\n    link(rel='stylesheet', href='/stylesheets/style.css')\n  body\n    if authenticated\n      form(method=\"post\", action=\"/signout\")\n        button(type=\"submit\") Sign out\n    else\n      form(method=\"get\", action=\"/signin\")\n        button(type=\"submit\") Sign in\n    block content\n```\n\nExample:\n```js\nrouter.get('/', function(req, res, next) {\n  res.render('index', { authenticated: req.isAuthenticated() });\n});\n```\n\nExample:\n```js\napp.use('/signin', passport.authenticate('oidc'));\n\napp.post('/signout', (req, res) => {\n   req.logout(err => {\n      if (err) { return next(err); }\n      let params = {\n         id_token_hint: '',\n         post_signout_redirect_uri: 'http://localhost:3000/'\n      }\n      res.redirect('/');\n      req.session.destroy();\n   });\n});\n```\n\nExample:\n```js\napp.use('/authorization-code/callback',\n  passport.authenticate('oidc', { failureMessage: true, failWithError: true }),\n  (req, res) => {\n    res.redirect('/profile');\n  }\n);\n```\n\nExample:\n```pug\nextends layout\n\nblock content\n  h2= \"My Profile\"\n  br\n  div\n    p Hello, #{user.displayName}.\n  br\n  table\n    thead\n      tr\n        th Claim\n        th Value\n      tbody\n      for values, claims in user\n        tr\n          td #{claims}\n          td #{values}\n```\n\nExample:\n```js\napp.use('/profile', (req, res) => {\n  res.render('profile', { authenticated: req.isAuthenticated(), user: req.user });\n});\n```\n\nExample:\n```bash\nnpm start\n```\n\nExample:\n```js\nfunction ensureSignedIn(req, res, next) {\nif (req.isAuthenticated()) {\n   return next();\n}\nres.redirect('/signin')\n}\n```\n\nExample:\n```js\napp.use(ensureSignedIn);\n```\n\nExample:\n```js\napp.use('/profile', ensureSignedIn, (req, res) => {\n  res.render('profile', { user: req.user });\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.852Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":165,"estimatedTokens":773}}243{"id":"doc-validate_access_tokens_okta_developer-4d90f3f2","source":"documentation","title":"Validate Access Tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/validate-access-tokens/java/main/","text":"Example:\n```xml\n<dependency>\n   <groupId>com.okta.jwt</groupId>\n   <artifactId>okta-jwt-verifier</artifactId>\n   <version>{okta-jwt.version}</version>\n</dependency>\n\n<dependency>\n  <groupId>com.okta.jwt</groupId>\n  <artifactId>okta-jwt-verifier-impl</artifactId>\n  <version>{okta-jwt.version}</version>\n  <scope>runtime</scope>\n</dependency>\n```\n\nExample:\n```java\nAccessTokenVerifier jwtVerifier = JwtVerifiers.accessTokenVerifierBuilder()\n    .setIssuer(\"https://{yourOktaDomain}/oauth2/default\")\n    .setAudience(\"api://default\")                // defaults to 'api://default'\n    .setConnectionTimeout(Duration.ofSeconds(1)) // defaults to 1s\n    .setReadTimeout(Duration.ofSeconds(1))       // defaults to 1s\n    .build();\n```\n\nExample:\n```java\nJwt jwt = jwtVerifier.decode(jwtString);\n```\n\nExample:\n```java\njwt.getClaims().get(\"aClaimKey\");\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.852Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":37,"estimatedTokens":216}}244{"id":"doc-validate_access_tokens_okta_developer-8e2cddb7","source":"documentation","title":"Validate Access Tokens | Okta Developer","url":"https://developer.okta.com/docs/guides/validate-access-tokens/go/main/","text":"Example:\n```go\nimport github.com/okta/okta-jwt-verifier-golang\n\ntoValidate := map[string]string{}\ntoValidate[\"aud\"] = \"api://default\"\ntoValidate[\"cid\"] = \"{clientId}\"\n\njwtVerifierSetup := jwtverifier.JwtVerifier{\n        Issuer: \"{issuer}\",\n        ClaimsToValidate: toValidate\n}\n\nverifier := jwtVerifierSetup.New()\n\ntoken, err := verifier.VerifyAccessToken(\"{JWT}\")\n```\n\nExample:\n```go\njwtVerifierSetup := JwtVerifier{\n        Issuer: \"{issuer}\",\n}\n\nverifier := jwtVerifierSetup.New()\nverifier.SetLeeway(60) // seconds\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.853Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":135}}245{"id":"doc-sign_in_with_password_and_phone_factors_okta_dev-7ee41172","source":"documentation","title":"Sign in with password and phone factors | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-pwd-phone/aspnet/main/","text":"Example:\n```csharp\nvar idxAuthClient = new IdxClient();\n var authnOptions = new Okta.Idx.Sdk.AuthenticationOptions()\n      {\n          Username = model.UserName,\n          Password = model.Password,\n      };\n\nvar authnResponse = await idxAuthClient.AuthenticateAsync(authnOptions).ConfigureAwait\n(false);\n```\n\nExample:\n```csharp\nvar authnResponse = await _idxClient.AuthenticateAsync(authnOptions).ConfigureAwait(false);\nSession[\"idxContext\"] = authnResponse.IdxContext;\n\nswitch (authnResponse?.AuthenticationStatus)\n     {\n         ...\n         case AuthenticationStatus.AwaitingChallengeAuthenticatorSelection:\n              Session[\"authenticators\"] =\n              ViewModelHelper.ConvertToAuthenticatorViewModelList(authnResponse.Authenticators);\n              Session[\"isChallengeFlow\"] = true;\n              return RedirectToAction(\"SelectAuthenticator\", \"Manage\");\n```\n\nExample:\n```csharp\nvar enrollResponse = await _idxClient.SelectEnrollAuthenticatorAsync(enrollAuthenticatorOptions, (IIdxContext)Session[\"IdxContext\"]);\n\nSession[\"IdxContext\"] = enrollResponse.IdxContext;\nSession[\"isPasswordSelected\"] = model.IsPasswordSelected;\n\nswitch (enrollResponse?.AuthenticationStatus)\n      {\n            ...\n            case AuthenticationStatus.AwaitingAuthenticatorEnrollmentData:\n                 Session[\"methodTypes\"] = enrollResponse.CurrentAuthenticator.MethodTypes;\n                 return RedirectToAction(\"EnrollPhoneAuthenticator\", \"Manage\");\n```\n\nExample:\n```csharp\nvar enrollPhoneAuthenticatorOptions = new EnrollPhoneAuthenticatorOptions\n{\n     AuthenticatorId = Session[\"phoneId\"].ToString(),\n     PhoneNumber = model.PhoneNumber,\n     MethodType = model.MethodType,\n};\n\nvar enrollResponse = await _idxClient.EnrollAuthenticatorAsync(enrollPhoneAuthenticatorOptions, (IIdxContext)Session[\"IdxContext\"]);\n```\n\nExample:\n```csharp\nvar enrollResponse = await _idxClient.EnrollAuthenticatorAsync(enrollPhoneAuthenticatorOptions,\n    (IIdxContext)Session[\"IdxContext\"]);\n    ...\nif (enrollResponse.AuthenticationStatus ==\n    AuthenticationStatus.AwaitingAuthenticatorVerification)\n    {\n       return RedirectToAction(\"VerifyAuthenticator\", \"Manage\");\n    }\n```\n\nExample:\n```csharp\nvar idxAuthClient = new IdxClient(null);\n           var verifyAuthenticatorOptions = new VerifyAuthenticatorOptions\n           {\n               Code = code,\n           };\n\nvar authnResponse = await idxAuthClient.VerifyAuthenticatorAsync(verifyAuthenticatorOptions, (IIdxContext)Session[\"idxContext\"]);\n```\n\nExample:\n```csharp\nvar authnResponse = await _idxClient.VerifyAuthenticatorAsync(verifyAuthenticatorOptions, (IIdxContext)Session[\"idxContext\"]);\nSession[\"idxContext\"] = authnResponse.IdxContext;\n\nswitch (authnResponse.AuthenticationStatus)\n{\n   ...\n   case AuthenticationStatus.Success:\n         ClaimsIdentity identity = await\n         AuthenticationHelper.GetIdentityFromTokenResponseAsync(_idxClient.Configuration,\n         authnResponse.TokenInfo);\n         _authenticationManager.SignIn(new AuthenticationProperties(), identity);\n         return RedirectToAction(\"Index\", \"Home\");\n   ...\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.853Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":97,"estimatedTokens":779}}246{"id":"doc-sign_users_in_to_your_spa_using_the_redirect_mod-3c302973","source":"documentation","title":"Sign users in to your SPA using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-spa-redirect/react/main/","text":"Example:\n```shell\nnpm create vite@5.4 okta-react-quickstart\n```\n\nExample:\n```shell\ncd okta-react-quickstart\nnpm install\n```\n\nExample:\n```shell\nnpm install @okta/okta-react@6.9.0 @okta/okta-auth-js@7.8.1\n```\n\nExample:\n```jsx\nimport { Route, Switch, useHistory } from 'react-router-dom';\nimport { OktaAuth, toRelativeUrl } from '@okta/okta-auth-js';\nimport { LoginCallback, Security } from '@okta/okta-react';\nimport Home from './Home';\n\nconst oktaAuth = new OktaAuth({\n  issuer: 'https://{yourOktaDomain}/oauth2/default',\n  clientId: '{yourClientID}',\n  redirectUri: window.location.origin + '/login/callback',\n  scopes: ['openid', 'profile', 'email', 'offline_access']\n});\n\nfunction App() {\n  const history = useHistory();\n  const restoreOriginalUri = (_oktaAuth,  originalUri) => {\n    history.replace(toRelativeUrl(originalUri || '/', window.location.origin));\n  };\n\n  return (\n    <>\n      <Security oktaAuth={oktaAuth} restoreOriginalUri={restoreOriginalUri}>\n        <Switch>\n            <Route path=\"/\" exact component={Home}/>\n            <Route path=\"/login/callback\" component={LoginCallback}/>\n        </Switch>\n      </Security>\n    </>\n  );\n}\n\nexport default App\n```\n\nExample:\n```shell\nnpm install react-router-dom@5.3.4\n```\n\nExample:\n```jsx\nimport ReactDOM from 'react-dom/client'\nimport { BrowserRouter } from 'react-router-dom'\nimport App from './App.jsx'\nimport './index.css'\n\nReactDOM.createRoot(document.getElementById('root')).render(\n  <BrowserRouter>\n    <App />\n  </BrowserRouter>,\n)\n```\n\nExample:\n```jsx\nimport { useOktaAuth } from '@okta/okta-react';\nimport './App.css';\nimport logo from './assets/react.svg';\n\nconst Home = () => {\n\n  return (\n    <>\n      <img src={logo} className=\"App-logo\" alt=\"logo\"/>\n      {/* Add sign in and sign out buttons */}\n      <p>Edit <code>src/Home.jsx</code> and save to reload.</p>\n      <a href=\"https://react.dev\" target=\"_blank\" rel=\"noopener noreferrer\">\n        Learn React\n      </a>\n    </>\n  );\n}\n\nexport default Home\n```\n\nExample:\n```jsx\nconst { authState, oktaAuth } = useOktaAuth();\nconst signin = async () => await oktaAuth.signInWithRedirect();\nconst signout = async () => await oktaAuth.signOut();\n```\n\nExample:\n```jsx\n<Route path=\"/login/callback\" component={LoginCallback}/>\n```\n\nExample:\n```jsx\nimport React, { useState, useEffect } from 'react';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst Profile = () => {\n  const { authState, oktaAuth } = useOktaAuth();\n  const [userInfo, setUserInfo] = useState(null);\n\n  useEffect(() => {\n    if (!authState || !authState.isAuthenticated) {\n      // When user isn't authenticated, forget any user info\n      setUserInfo(null);\n    } else {\n      setUserInfo(authState.idToken.claims);\n      // You can also get user information from the `/userinfo` endpoint\n      /*oktaAuth.getUser().then((info) => {\n        setUserInfo(info);\n      });*/\n    }\n  }, [authState, oktaAuth]); // Update if authState changes\n\n  if (!userInfo) {\n    return (\n      <div>\n        <p>Fetching user profile...</p>\n      </div>\n    );\n  }\n\n  return (\n    <div>\n      <div>\n        <h1>My User Profile (ID Token Claims)</h1>\n        <p>\n          Below is the information from your ID token which was obtained during the &nbsp;\n          <a href=\"https://developer.okta.com/docs/guides/implement-auth-code-pkce\">PKCE Flow</a>\n          {' '}\n          and is now stored in local storage.\n        </p>\n        <p>\n          This route is protected with the\n          {' '}\n          <code>&lt;SecureRoute&gt;</code>\n          {' '}\n          component, which will ensure that this page cannot be accessed until you have authenticated.\n        </p>\n        <table>\n          <thead>\n            <tr>\n              <th>Claim</th>\n              <th>Value</th>\n            </tr>\n          </thead>\n          <tbody>\n            {Object.entries(userInfo).map((claimEntry) => {\n              const claimName = claimEntry[0];\n              const claimValue = claimEntry[1];\n              const claimId = `claim-${claimName}`;\n              return (\n                <tr key={claimName}>\n                  <td>{claimName}</td>\n                  <td id={claimId}>{claimValue.toString()}</td>\n                </tr>\n              );\n            })}\n          </tbody>\n        </table>\n      </div>\n    </div>\n  );\n};\n\nexport default Profile;\n```\n\nExample:\n```jsx\nimport Profile from './Profile';\n```\n\nExample:\n```jsx\n<Route path=\"/profile\" component={Profile}/>\n```\n\nExample:\n```jsx\n<Security oktaAuth={oktaAuth} restoreOriginalUri={this.restoreOriginalUri}>\n  <SecureRoute path=\"/\" exact={true} component={Home}/>\n  <Route path=\"/login/callback\" component={LoginCallback}/>\n  <SecureRoute path=\"/profile\" component={Profile}/>\n</Security>\n```\n\nExample:\n```jsx\n<Security oktaAuth={this.oktaAuth} restoreOriginalUri={this.restoreOriginalUri} >\n  <Route path=\"/\" exact={true} component={Home} />\n  <Route path=\"/cart\" component={Cart} />\n  <SecureRoute path=\"/checkout\" component={Checkout} />\n  <Route path=\"/login/callback\" component={LoginCallback} />\n</Security>\n```\n\nExample:\n```http\nAuthorization: Bearer {token}\n```\n\nExample:\n```ts\nconst { oktaAuth } = useOktaAuth();\nconst [messages, setMessages] = useState([]);\n\nuseEffect(() => {\n  const fetchMessages = async () => {\n    try {\n      const response = await fetch('http://localhost:{serverPort}/api/messages', {\n        headers: {\n          Authorization: 'Bearer ' + oktaAuth.getAccessToken()\n        }\n      });\n\n      const data = await response.json();\n      setMessages(data.messages);\n    } catch (err) {\n      // handle error as needed\n    }\n  };\n\n  fetchMessages();\n}, [oktaAuth, messages.length]);\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.854Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":241,"estimatedTokens":1418}}247{"id":"doc-protect_your_api_endpoints_okta_developer-3c426aba","source":"documentation","title":"Protect your API endpoints | Okta Developer","url":"https://developer.okta.com/docs/guides/protect-your-api/springboot/main/","text":"Example:\n```xml\n<dependency>\n    <groupId>com.okta.spring</groupId>\n    <artifactId>okta-spring-boot-starter</artifactId>\n    <version>3.0.6</version>\n</dependency>\n```\n\nExample:\n```properties\nokta.oauth2.issuer=https://{yourOktaDomain}/oauth2/{yourAuthServer}\nokta.oauth2.audience={yourAudience}\nserver.port=8081\n```\n\nExample:\n```java\nimport org.springframework.security.core.Authentication;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RestController;\n```\n\nExample:\n```java\n@RestController\npublic class SampleController {\n\n   @GetMapping(\"/api/hello\")\n   public String anon() {\n      return \"Anonymous access\";\n   }\n\n   @GetMapping(\"/api/whoami\")\n   public String whoami(Authentication authentication) {\n      return authentication.getDetails().toString();\n   }\n}\n```\n\nExample:\n```java\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.security.config.Customizer;\nimport org.springframework.security.config.annotation.web.builders.HttpSecurity;\nimport org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;\nimport org.springframework.security.web.SecurityFilterChain;\n```\n\nExample:\n```java\n@EnableWebSecurity\n@Configuration\nstatic class OktaOAuth2WebSecurityConfiguration {\n\n   @Bean\n   SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n      return http.authorizeHttpRequests(\n          (req) -> req.requestMatchers(\"/api/whoami\").authenticated()\n              .requestMatchers(\"/**\").permitAll()\n          )\n          .oauth2ResourceServer((srv) -> srv.jwt(Customizer.withDefaults()))\n          .build();\n   }\n}\n```\n\nExample:\n```java\nreturn http.authorizeHttpRequests(\n   (req) -> req.requestMatchers(\"/**\").permitAll()\n      .requestMatchers(\"/api/whoami\").authenticated()\n   )\n   .oauth2ResourceServer((srv) -> srv.jwt(Customizer.withDefaults()))\n   .build();\n```\n\nExample:\n```java\nimport org.springframework.web.bind.annotation.CrossOrigin;\n```\n\nExample:\n```java\n@EnableWebSecurity\n@Configuration\nstatic class OktaOAuth2WebSecurityConfiguration {\n\n   @Bean\n   SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n      return http.authorizeHttpRequests(\n          (req) -> req.requestMatchers(\"/api/whoami\").authenticated()\n              .requestMatchers(\"/**\").permitAll()\n          )\n          .oauth2ResourceServer((srv) -> srv.jwt(Customizer.withDefaults()))\n          .cors(Customizer.withDefaults())\n          .build();\n   }\n}\n```\n\nExample:\n```java\n@GetMapping(\"/api/whoami\")\n@CrossOrigin(origins = \"http://example.com\")\npublic String whoami(Authentication authentication) {\n   return authentication.getDetails().toString();\n}\n```\n\nExample:\n```bash\n.\\mvnw spring-boot:run\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.855Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":117,"estimatedTokens":705}}248{"id":"doc-overview_of_the_mobile_identity_engine_sdk_okta_-e4c47d3a","source":"documentation","title":"Overview of the mobile Identity Engine SDK | Okta Developer","url":"https://developer.okta.com/docs/guides/mobile-idx-sdk-overview/android/main/","text":"Example:\n```gradle\nimplementation 'com.okta.android:okta-idx-kotlin:$okta_sdk_version'\n```\n\nExample:\n```text\nissuer={yourIssuerUrl}\nclientId={yourClientId}\nscopes=\"openid\",\"email\",\"profile\",\"offline_access\"\nredirectUri=com.okta.sample.android:/login\n```\n\nExample:\n```gradle\ndefaultConfig {\n    ...\n\n    buildConfigField \"String\", 'ISSUER', \"\\\"${oktaProperties.getProperty('issuer')}\\\"\"\n    buildConfigField \"String\", 'CLIENT_ID', \"\\\"${oktaProperties.getProperty('clientId')}\\\"\"\n    buildConfigField \"String[]\", 'SCOPES', \"{${oktaProperties.getProperty('scopes')}}\"\n    buildConfigField \"String\", 'REDIRECT_URI', \"\\\"${oktaProperties.getProperty('redirectUri')}\\\"\"\n\n    ...\n}\n```\n\nExample:\n```kotlin\nimport com.okta.android.samples.authenticator.BuildConfig\nimport com.okta.idx.kotlin.client.IdxClientConfiguration\nimport okhttp3.HttpUrl.Companion.toHttpUrl\n\n/**\n * Return an Okta org configuration from the build configuration.\n */\ninternal object OktaIdxClientConfigurationProvider {\n    fun get(): IdxClientConfiguration {\n        return IdxClientConfiguration(\n            issuer = BuildConfig.ISSUER.toHttpUrl(),\n            clientId = BuildConfig.CLIENT_ID,\n            scopes = BuildConfig.SCOPES.toSet(),\n            redirectUri = BuildConfig.REDIRECT_URI,\n        )\n    }\n}\n```\n\nExample:\n```kotlin\n@Volatile\nprivate var client: IdxClient? = null\n\n\nprivate fun createClient() {\n    viewModelScope.launch {\n        // Initialize the SDK client and start sign-in flow.\n        when (val clientResult = IdxClient.start(OktaIdxClientConfigurationProvider.get())) {\n            is IdxClientResult.Error -> {\n                // Handle the error.\n            }\n            is IdxClientResult.Success -> {\n                client = clientResult.result\n                // Request the first response by calling resume and handle the asynchronous response.\n                when (val resumeResult = clientResult.result.resume()) {\n                    is IdxClientResult.Error -> {\n                        // Handle the error.\n                    }\n                    is IdxClientResult.Success -> handleResponse(resumeResult.result)\n                }\n            }\n        }\n    }\n}\n\nprivate suspend fun handleResponse(response: IdxResponse) {\n  // Process the response.\n}\n```\n\nExample:\n```kotlin\nprivate suspend fun handleResponse(response: IdxResponse) {\n    // Check if the sign-in flow is successful.\n    if (response.isLoginSuccessful) {\n        // Get the access token and exit the flow.\n        return\n    }\n\n    // Check for messages, such as entering an incorrect code and finish this step.\n    if (response.messages.isNotEmpty()) {\n        // Handle the messages that may require updating the UI.\n        return\n    }\n\n    // Finish the sign-in process if there are no remediations.\n    if (response.remediations.isEmpty()) {\n        // Handle the error. For example, display an error and then go back to the sign-in view.\n        return\n    }\n\n    // Handle the different sign-in steps (remediations) for a policy.\n    for (remediation in response.remediations) {\n        // Handle different types of remediations.\n        // Call `proceed(remediation)` after the user completes the action for the remediation.\n    }\n\n    if (response.authenticators.isNotEmpty()) {\n        // Process authenticators.\n    }\n}\n\n/**\n  * Proceed to the next step in the sign-in flow using the specified remediation.\n  */\nprivate fun proceed(remediation: IdxRemediation) {\n    viewModelScope.launch {\n        when (val resumeResult = client?.proceed(remediation)) {\n            is IdxClientResult.Error -> {\n                // Handle the error.\n            }\n            is IdxClientResult.Success -> {\n                handleResponse(resumeResult.result)\n            }\n        }\n    }\n}\n```\n\nExample:\n```kotlin\nimport com.okta.idx.kotlin.dto.IdxRemediation.Type.ISSUE\nimport com.okta.idx.kotlin.dto.IdxResponse\nimport com.okta.idx.kotlin.client.IdxClientResult\n\nprivate suspend fun handleResponse(response: IdxResponse) {\n    // Check if the sign-in flow is successful.\n    if (response.isLoginSuccessful) {\n        // Exchange the sign-in session token for a connection token.\n        when (val exchangeCodesResult = client?.exchangeInteractionCodeForTokens(response.remediations[ISSUE]!!)) {\n            is IdxClientResult.Error -> {\n                // Handle the error.\n            }\n            is IdxClientResult.Success -> {\n                // Handle a successful sign-in flow.\n                // The token is in `exchangeCodesResult.result`.\n                // Store it securely for future use.\n            }\n            else -> {\n                // Handle the error.\n            }\n        }\n        return\n    }\n\n    ...\n}\n```\n\nExample:\n```kotlin\nfun logout() {\n    viewModelScope.launch(Dispatchers.IO) {\n        try {\n            // First load a refresh token if one exists.\n            val refreshToken = Storage.tokens.refreshToken\n            if (refreshToken != null) {\n                // Revoking the refresh token also revokes the access token.\n                revokeToken(\"refresh_token\", refreshToken)\n            } else {\n                revokeToken(\"access_token\", Storage.tokens.accessToken)\n            }\n\n            // Sign-out successful. Redirect to a sign-in view.\n        } catch (e: Exception) {\n            // Sign-out failed, handle the error.\n        }\n    }\n}\n\n\nprivate fun revokeToken(tokenType: String, token: String) {\n    // Create an API request to revoke the token.\n    val formBody = FormBody.Builder()\n        .add(\"client_id\", BuildConfig.CLIENT_ID)\n        .add(\"token_type_hint\", tokenType)\n        .add(\"token\", token)\n        .build()\n\n    val request = Request.Builder()\n        .url(\"${BuildConfig.ISSUER}/v1/revoke\")\n        .post(formBody)\n        .build()\n\n    // Send the request to revoke the token.\n    val response = OktaIdxClientConfigurationProvider.get().okHttpCallFactory.newCall(request).execute()\n\n    println(\"Revoke Token Response: $response\")\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.855Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":202,"estimatedTokens":1503}}249{"id":"doc-sign_users_in_to_your_web_app_using_the_redirect-faf55d6c","source":"documentation","title":"Sign users in to your web app using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-web-app-redirect/go/main/","text":"Example:\n```shell\ncd test-redirect\ngo mod init okta/go-quickstart\n```\n\nExample:\n```bash\ngo get github.com/gorilla/sessions\ngo get github.com/okta/okta-jwt-verifier-golang\ngo get github.com/okta/samples-golang/okta-hosted-login/utils\n```\n\nExample:\n```go\nimport (\n   \"bytes\"\n   \"crypto/rand\"\n   \"encoding/base64\"\n   \"encoding/hex\"\n   \"encoding/json\"\n   \"fmt\"\n   \"html/template\"\n   \"io\"\n   \"log\"\n   \"net/http\"\n   \"os\"\n\n   \"github.com/gorilla/sessions\"\n   verifier \"github.com/okta/okta-jwt-verifier-golang\"\n   oktaUtils \"github.com/okta/samples-golang/okta-hosted-login/utils\"\n)\n```\n\nExample:\n```properties\nCLIENT_ID={clientId}\nCLIENT_SECRET={clientSecret}\nISSUER=https://{yourOktaDomain}/oauth2/default\n```\n\nExample:\n```go\noktaUtils.ParseEnvironment()\n```\n\nExample:\n```go\npackage utils\n\nimport (\n   \"bufio\"\n   \"log\"\n   \"os\"\n   \"strings\"\n)\n\nfunc ParseEnvironment() {\n   // useGlobalEnv := true\n   if _, err := os.Stat(\".env\"); os.IsNotExist(err) {\n      log.Printf(\"Environment Variable file (.env) is not present.\")\n      // useGlobalEnv = false\n   }\n\n   setEnvVariable(\"CLIENT_ID\", os.Getenv(\"CLIENT_ID\"))\n   setEnvVariable(\"CLIENT_SECRET\", os.Getenv(\"CLIENT_SECRET\"))\n   setEnvVariable(\"ISSUER\", os.Getenv(\"ISSUER\"))\n\n   if os.Getenv(\"CLIENT_ID\") == \"\" {\n      log.Printf(\"Could not resolve a CLIENT_ID environment variable.\")\n      os.Exit(1)\n   }\n\n   if os.Getenv(\"CLIENT_SECRET\") == \"\" {\n      log.Printf(\"Could not resolve a CLIENT_SECRET environment variable.\")\n      os.Exit(1)\n   }\n\n   if os.Getenv(\"ISSUER\") == \"\" {\n      log.Printf(\"Could not resolve a ISSUER environment variable.\")\n      os.Exit(1)\n   }\n}\n\nfunc setEnvVariable(env string, current string) {\n   if current != \"\" {\n      return\n   }\n\n   file, _ := os.Open(\".env\")\n   defer file.Close()\n\n   lookInFile := bufio.NewScanner(file)\n   lookInFile.Split(bufio.ScanLines)\n\n   for lookInFile.Scan() {\n      parts := strings.Split(lookInFile.Text(), \"=\")\n      key, value := parts[0], parts[1]\n      if key == env {\n         os.Setenv(key, value)\n      }\n   }\n}\n```\n\nExample:\n```html\n{{if .IsAuthenticated}}\n<div>\n   <p>Hello <span>{{.Profile.name}}</span>!</p>\n   <p>Visit your <a href=\"profile\">Profile</a> page.</p>\n   <form method=\"post\" action=\"/signout\">\n      <button id=\"signout-button\" type=\"submit\">Sign out</button>\n </form>\n</div>\n{{else}}\n<div>\n   <p>Hello!</p>\n   <form method=\"get\" action=\"/signin\">\n      <button id=\"signin-button\" type=\"submit\">Sign in</button>\n</form>\n{{end}}\n```\n\nExample:\n```go\nhttp.HandleFunc(\"/signin\", SigninHandler)\n```\n\nExample:\n```go\nfunc SigninHandler(w http.ResponseWriter, r *http.Request) {\n   w.Header().Add(\"Cache-Control\", \"no-cache\")\n\n   nonce, _ = oktaUtils.GenerateNonce()\n   var redirectPath string\n\n   q := r.URL.Query()\n   q.Add(\"client_id\", os.Getenv(\"CLIENT_ID\"))\n   q.Add(\"response_type\", \"code\")\n   q.Add(\"response_mode\", \"query\")\n   q.Add(\"scope\", \"openid profile email\")\n   q.Add(\"redirect_uri\", \"http://localhost:8080/authorization-code/callback\")\n   q.Add(\"state\", state)\n   q.Add(\"nonce\", nonce)\n\n   redirectPath = os.Getenv(\"ISSUER\") + \"/v1/authorize?\" + q.Encode()\n\n   http.Redirect(w, r, redirectPath, http.StatusFound)\n}\n```\n\nExample:\n```go\npackage utils\n\nimport (\n   \"crypto/rand\"\n   \"encoding/base64\"\n   \"fmt\"\n)\n\nfunc GenerateNonce() (string, error) {\n   nonceBytes := make([]byte, 32)\n   _, err := rand.Read(nonceBytes)\n   if err != nil {\n      return \"\", fmt.Errorf(\"couldn't generate nonce\")\n   }\n\n   return base64.URLEncoding.EncodeToString(nonceBytes), nil\n}\n```\n\nExample:\n```go\nhttp.HandleFunc(\"/signout\", SignoutHandler)\n```\n\nExample:\n```go\nfunc SignoutHandler(w http.ResponseWriter, r *http.Request) {\n   session, err := sessionStore.Get(r, \"okta-hosted-signin-session-store\")\n   if err != nil {\n      http.Error(w, err.Error(), http.StatusInternalServerError)\n   }\n\n   delete(session.Values, \"id_token\")\n   delete(session.Values, \"access_token\")\n\n   session.Save(r, w)\n\n   http.Redirect(w, r, \"/\", http.StatusFound)\n}\n```\n\nExample:\n```go\nhttp.HandleFunc(\"/authorization-code/callback\", AuthCodeCallbackHandler)\n```\n\nExample:\n```go\nfunc AuthCodeCallbackHandler(w http.ResponseWriter, r *http.Request) {\n   // Check the state that was returned in the query string is the same as the above state\n   if r.URL.Query().Get(\"state\") != state {\n      fmt.Fprintln(w, \"The state wasn't as expected\")\n      return\n   }\n   // Make sure the code was provided\n   if r.URL.Query().Get(\"code\") == \"\" {\n      fmt.Fprintln(w, \"The code wasn't returned or isn't accessible\")\n      return\n   }\n\n   exchange := exchangeCode(r.URL.Query().Get(\"code\"), r)\n   if exchange.Error != \"\" {\n      fmt.Println(exchange.Error)\n      fmt.Println(exchange.ErrorDescription)\n      return\n   }\n\n   session, err := sessionStore.Get(r, \"okta-hosted-signin-session-store\")\n   if err != nil {\n      http.Error(w, err.Error(), http.StatusInternalServerError)\n   }\n\n   _, verificationError := verifyToken(exchange.IdToken)\n\n   if verificationError != nil {\n      fmt.Println(verificationError)\n   }\n\n   if verificationError == nil {\n      session.Values[\"id_token\"] = exchange.IdToken\n      session.Values[\"access_token\"] = exchange.AccessToken\n\n      session.Save(r, w)\n   }\n\n   http.Redirect(w, r, \"/\", http.StatusFound)\n}\n```\n\nExample:\n```go\nfunc exchangeCode(code string, r *http.Request) Exchange {\n   authHeader := base64.StdEncoding.EncodeToString(\n      []byte(os.Getenv(\"CLIENT_ID\") + \":\" + os.Getenv(\"CLIENT_SECRET\")))\n\n   q := r.URL.Query()\n   q.Add(\"grant_type\", \"authorization_code\")\n   q.Set(\"code\", code)\n   q.Add(\"redirect_uri\", \"http://localhost:8080/authorization-code/callback\")\n\n   url := os.Getenv(\"ISSUER\") + \"/v1/token?\" + q.Encode()\n\n   req, _ := http.NewRequest(\"POST\", url, bytes.NewReader([]byte(\"\")))\n   h := req.Header\n   h.Add(\"Authorization\", \"Basic \"+authHeader)\n   h.Add(\"Accept\", \"application/json\")\n   h.Add(\"Content-Type\", \"application/x-www-form-urlencoded\")\n   h.Add(\"Connection\", \"close\")\n   h.Add(\"Content-Length\", \"0\")\n\n   client := &http.Client{}\n   resp, _ := client.Do(req)\n   body, _ := io.ReadAll(resp.Body)\n   defer resp.Body.Close()\n   var exchange Exchange\n   json.Unmarshal(body, &exchange)\n\n   return exchange\n}\n```\n\nExample:\n```go\nfunc verifyToken(t string) (*verifier.Jwt, error) {\n   tv := map[string]string{}\n   tv[\"nonce\"] = nonce\n   tv[\"aud\"] = os.Getenv(\"CLIENT_ID\")\n   jv := verifier.JwtVerifier{\n      Issuer:           os.Getenv(\"ISSUER\"),\n      ClaimsToValidate: tv,\n   }\n\n   result, err := jv.New().VerifyIdToken(t)\n   if err != nil {\n      return nil, fmt.Errorf(\"%s\", err)\n   }\n\n   if result != nil {\n      return result, nil\n   }\n\n   return nil, fmt.Errorf(\"token could not be verified: %s\", \"\")\n}\n```\n\nExample:\n```go\nhttp.HandleFunc(\"/profile\", ProfileHandler)\n```\n\nExample:\n```go\nfunc ProfileHandler(w http.ResponseWriter, r *http.Request) {\n   type customData struct {\n      Profile         map[string]string\n      IsAuthenticated bool\n   }\n\n   data := customData{\n      Profile:         getProfileData(r),\n      IsAuthenticated: isAuthenticated(r),\n   }\n   tpl.ExecuteTemplate(w, \"profile.gohtml\", data)\n}\n```\n\nExample:\n```go\nfunc getProfileData(r *http.Request) map[string]string {\n   m := make(map[string]string)\n\n   session, err := sessionStore.Get(r, \"okta-hosted-signin-session-store\")\n\n   if err != nil || session.Values[\"access_token\"] == nil || session.Values[\"access_token\"] == \"\" {\n      return m\n   }\n\n   reqUrl := os.Getenv(\"ISSUER\") + \"/v1/userinfo\"\n\n   req, _ := http.NewRequest(\"GET\", reqUrl, bytes.NewReader([]byte(\"\")))\n   h := req.Header\n   h.Add(\"Authorization\", \"Bearer \"+session.Values[\"access_token\"].(string))\n   h.Add(\"Accept\", \"application/json\")\n\n   client := &http.Client{}\n   resp, _ := client.Do(req)\n   body, _ := io.ReadAll(resp.Body)\n   defer resp.Body.Close()\n   json.Unmarshal(body, &m)\n\n   return m\n}\n```\n\nExample:\n```html\n{{template \"header\" .}}\n<div>\n   <h2>My Profile</h2>\n   <p>Hello, <span>{{ .Profile.name }}</span>.\n   </p>\n</div>\n\n<table>\n   <thead>\n   <tr>\n      <th>Claim</th>\n      <th>Value</th>\n   </tr>\n   </thead>\n   <tbody>\n      {{ range $key, $value := .Profile }}\n      <tr>\n         <td>{{ $key }}</td>\n         <td id=\"claim-{{$key}}\">{{ $value }}</td>\n      </tr>\n      {{ end }}\n   </tbody>\n</table>\n</div>\n{{template \"footer\"}}\n```\n\nExample:\n```bash\ngo run main.go\n```\n\nExample:\n```go\nfunc isAuthenticated(r *http.Request) bool {\n   session, err := sessionStore.Get(r, \"okta-hosted-signin-session-store\")\n\n   if err != nil || session.Values[\"id_token\"] == nil || session.Values[\"id_token\"] == \"\" {\n      return false\n   }\n\n   return true\n}\n```\n\nExample:\n```go\nfunc middleware(next http.Handler) http.Handler {\n   return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n      if !isAuthenticated(c.Request) {\n         log.Printf(\"Unauthorized route: %s\", c.Request.URL.Path)\n         c.Redirect(http.StatusFound, \"/login\")\n         return\n      }\n      next.ServeHTTP(w, r)\n   })\n}\n```\n\nExample:\n```go\nhttp.Handle(\"/profile\", middleware(http.HandlerFund(ProfileHandler)))\n```\n\nExample:\n```go\nfunc HomeHandler(w http.ResponseWriter, r *http.Request) {\n   type customData struct {\n      Profile         map[string]string\n      IsAuthenticated bool\n   }\n\n   data := customData{\n      Profile:         getProfileData(r),\n      IsAuthenticated: isAuthenticated(r),\n   }\n   tpl.ExecuteTemplate(w, \"home.gohtml\", data)\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.856Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":431,"estimatedTokens":2345}}250{"id":"doc-create_an_org-c67c14e9","source":"documentation","title":"Create an org","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgcreator/other/createchildorg","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/orgs \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"subdomain\": \"my-child-org-1\",\n    \"name\": \"My Child Org 1\",\n    \"website\": \"http://www.examplecorp.com\",\n    \"edition\": \"SKU\",\n    \"admin\": {\n      \"profile\": {\n        \"firstName\": \"First\",\n        \"lastName\": \"Last\",\n        \"email\": \"FirstLast@example.com\",\n        \"login\": \"FirstLast@example.com\",\n        \"mobilePhone\": null\n      },\n      \"credentials\": {\n        \"password\": {\n          \"value\": \"XXXX\"\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00o1n8sbwArJ7OQRw406\",\n  \"subdomain\": \"my-child-org-1\",\n  \"name\": \"My Child Org 1\",\n  \"website\": \"http://www.examplecorp.com\",\n  \"status\": \"ACTIVE\",\n  \"edition\": \"SKU\",\n  \"expiresAt\": null,\n  \"created\": \"2024-08-27T15:42:52.000Z\",\n  \"lastUpdated\": \"2024-08-27T15:42:56.000Z\",\n  \"licensing\": {\n    \"apps\": []\n  },\n  \"settings\": {\n    \"app\": { … },\n    \"userAccount\": { … },\n    \"portal\": { … },\n    \"logs\": { … }\n  },\n  \"token\": \"XXXXXXXXXXXXX\",\n  \"tokenType\": \"SSWS\",\n  \"_links\": {\n    \"administrator\": { … },\n    \"uploadLogo\": { … },\n    \"organization\": { … },\n    \"contacts\": { … },\n    \"policy\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.857Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":61,"estimatedTokens":308}}251{"id":"doc-user_sign_out_flow_local_app_okta_developer-f08bb080","source":"documentation","title":"User sign out flow (local app) | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-out/-/main/","text":"Example:\n```kotlin\n...\n    fun signOut() {\n        transitionToForm(form = initialForm())\n    }\n    ...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.857Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":10,"estimatedTokens":31}}252{"id":"doc-protect_your_api_endpoints_okta_developer-47b7f916","source":"documentation","title":"Protect your API endpoints | Okta Developer","url":"https://developer.okta.com/docs/guides/protect-your-api/go/main/","text":"Example:\n```shell\ncd test-api\ngo mod init test-api\n```\n\nExample:\n```go\npackage main\n\nimport \"test-api/server\"\n\nfunc main() {\n   // Init app\n   server.Init()\n}\n```\n\nExample:\n```shell\ngo get github.com/gin-gonic/gin\ngo get github.com/okta/okta-jwt-verifier-golang\ngo get github.com/joho/godotenv\n```\n\nExample:\n```properties\nOKTA_OAUTH2_ISSUER=https://{yourOktaDomain}/oauth2/{yourAuthServerName}\nOKTA_API_AUDIENCE={yourAudience}\n```\n\nExample:\n```go\npackage server\n\nimport (\n   \"log\"\n   \"time\"\n\n   \"github.com/gin-gonic/gin\"\n   \"github.com/joho/godotenv\"\n)\n\nfunc Init() {\n\n   godotenv.Load(\"./.okta.env\")\n\n}\n```\n\nExample:\n```go\n// Set the router as the default one shipped with Gin\nrouter := gin.Default()\n\n// setup public routes\nrouter.GET(\"/\", IndexHandler)\n\napi := router.Group(\"/api\")\napi.GET(\"/hello\", HelloHandler)\n\n// setup private routes\nauthorized := router.Group(\"/api\")\nauthorized.GET(\"/whoami\", WhoAmIHandler)\n\nrouter.Run(\":8080\")\n```\n\nExample:\n```go\npackage server\n\nimport (\n   \"net/http\"\n   \"github.com/gin-gonic/gin\"\n)\n\n// IndexHandler serves the index route\nfunc IndexHandler(c *gin.Context) {\n   c.JSON(http.StatusOK, gin.H{\"message\": \"You have reached the index\"})\n}\n\nfunc HelloHandler(c *gin.Context) {\n   c.JSON(http.StatusOK, gin.H{\"message\": \"Hello world!\"})\n}\n\nfunc WhoAmIHandler(c *gin.Context) {\n   c.JSON(http.StatusOK, gin.H{\"message\": \"You are a super developer\"})\n}\n```\n\nExample:\n```go\npackage server\n\nimport (\n   \"log\"\n   \"net/http\"\n   \"os\"\n   \"strings\"\n\n   \"github.com/gin-gonic/gin\"\n   jwtverifier \"github.com/okta/okta-jwt-verifier-golang\"\n)\n\nfunc isAuthenticated(r *http.Request) bool {\n   authHeader := r.Header.Get(\"Authorization\")\n\n   if authHeader == \"\" {\n      log.Printf(\"Access token not found\")\n      return false\n   }\n\n   tokenParts := strings.Split(authHeader, \"Bearer \")\n   bearerToken := tokenParts[1]\n\n   toValidate := map[string]string{}\n   toValidate[\"aud\"] = os.Getenv(\"OKTA_API_AUDIENCE\")\n\n   verifier := jwtverifier.JwtVerifier{\n      Issuer:           os.Getenv(\"OKTA_OAUTH2_ISSUER\"),\n      ClaimsToValidate: toValidate,\n   }\n   _, err := verifier.New().VerifyAccessToken(bearerToken)\n\n   if err != nil {\n      log.Printf(\"Validation failed: %s\", err.Error())\n      return false\n   }\n   return true\n}\n```\n\nExample:\n```go\nfunc AuthMiddleware() gin.HandlerFunc {\n   return func(c *gin.Context) {\n      if !isAuthenticated(c.Request) {\n         log.Printf(\"Unauthorized route: %s\", c.Request.URL.Path)\n         c.AbortWithStatusJSON(\n            http.StatusUnauthorized, gin.H{\"error\": \"Unauthorized route\"})\n         return\n      }\n\n      c.Next()\n   }\n}\n```\n\nExample:\n```go\nrouter.Use(AuthMiddleware())\n```\n\nExample:\n```go\nauthorized := router.Group(\"/api\", AuthMiddleware())\n```\n\nExample:\n```go\nfunc HelloHandler(c *gin.Context) {\n   c.Header(\"Access-Control-Allow-Origin\", \"*\")\n   c.JSON(http.StatusOK, gin.H{\"message\": \"Hello world!\"})\n}\n```\n\nExample:\n```shell\ngo get github.com/itsjamie/gin-cors\n```\n\nExample:\n```go\nimport (\n   \"log\"\n   \"time\"\n\n   \"github.com/gin-gonic/gin\"\n   cors \"github.com/itsjamie/gin-cors\"\n   \"github.com/joho/godotenv\"\n)\n```\n\nExample:\n```go\n// Apply the middleware to the router (works with groups too)\nrouter.Use(cors.Middleware(cors.Config{\n   Origins:         \"*\",\n   Methods:         \"GET, PUT, POST, DELETE\",\n   RequestHeaders:  \"Origin, Authorization, Content-Type\",\n   ExposedHeaders:  \"\",\n   MaxAge:          50 * time.Second,\n   Credentials:     false,\n   ValidateHeaders: false,\n}))\n```\n\nExample:\n```shell\ngo run main.go\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.857Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":204,"estimatedTokens":882}}253{"id":"doc-protect_your_api_endpoints_okta_developer-22540dad","source":"documentation","title":"Protect your API endpoints | Okta Developer","url":"https://developer.okta.com/docs/guides/protect-your-api/aspnetcore3/main/","text":"Example:\n```bash\ndotnet new webapi -o ${yourProjectName} --framework netcoreapp3.1\n```\n\nExample:\n```bash\ndotnet add package Okta.AspNetCore\n```\n\nExample:\n```json\n{\n  \"Okta\": {\n    \"OktaDomain\": \"https://{yourOktaDomain}\",\n    \"AuthorizationServerId\": \"{yourAuthServerName}\",\n    \"Audience\": \"{yourAudience}\"\n  }\n}\n```\n\nExample:\n```csharp\nusing Okta.AspNetCore;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc.Authorization;\n```\n\nExample:\n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n   services.AddAuthentication(options =>\n   {\n      options.DefaultAuthenticateScheme = OktaDefaults.ApiAuthenticationScheme;\n      options.DefaultChallengeScheme = OktaDefaults.ApiAuthenticationScheme;\n      options.DefaultSignInScheme = OktaDefaults.ApiAuthenticationScheme;\n   })\n   .AddOktaWebApi(new OktaWebApiOptions()\n   {\n      OktaDomain = Configuration[\"Okta:OktaDomain\"],\n      AuthorizationServerId = Configuration[\"Okta:AuthorizationServerId\"],\n      Audience = Configuration[\"Okta:Audience\"]\n   });\n\n   services.AddAuthorization();\n\n   services.AddControllers();\n}\n```\n\nExample:\n```csharp\napp.UseAuthentication();\n```\n\nExample:\n```csharp\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Cors;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Security.Claims;\n```\n\nExample:\n```csharp\n[ApiController]\n[Route(\"api\")]\npublic class InfoController : ControllerBase\n{\n  // GET: api/whoami\n  [HttpGet]\n  [Route(\"whoami\")]\n  public Dictionary<string, string> GetAuthorized()\n  {\n    var principal = HttpContext.User.Identity as ClaimsIdentity;\n    return principal.Claims\n       .GroupBy(claim => claim.Type)\n       .ToDictionary(claim => claim.Key, claim => claim.First().Value);\n  }\n\n  // GET: api/hello\n  [HttpGet]\n  [Route(\"hello\")]\n  public string GetAnonymous()\n  {\n    return \"You are anonymous\";\n  }\n}\n```\n\nExample:\n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n\n  services.AddAuthorization();\n\n  services.AddMvc(o =>\n  {\n    var policy = new AuthorizationPolicyBuilder()\n      .RequireAuthenticatedUser()\n      .Build();\n    o.Filters.Add(new AuthorizeFilter(policy));\n  });\n}\n```\n\nExample:\n```csharp\n// GET: api/whoami with authorization required\n[Authorize]\n[HttpGet]\n[Route(\"whoami\")]\npublic Dictionary<string, string> GetAuthorized()...\n\n// GET: api/hello with anonymous access allowed\n[AllowAnonymous]\n[HttpGet]\n[Route(\"hello\")]\npublic string GetAnonymous()...\n```\n\nExample:\n```csharp\nservices.AddCors(options =>\n{\n   // The CORS policy is open for testing purposes.\n   // In a production application, you should restrict it to known origins.\n   options.AddPolicy(\n      \"AllowAll\",\n      builder => builder.AllowAnyOrigin()\n                        .AllowAnyMethod()\n                        .AllowAnyHeader());\n});\n```\n\nExample:\n```csharp\napp.UseCors();\n```\n\nExample:\n```csharp\n[EnableCors(\"AllowAll\")] // Enables CORS for this route\n[ApiController]\n[Route(\"api\")]\npublic class InfoController : ControllerBase\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.858Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":152,"estimatedTokens":761}}254{"id":"doc-protect_your_api_endpoints_okta_developer-31580660","source":"documentation","title":"Protect your API endpoints | Okta Developer","url":"https://developer.okta.com/docs/guides/protect-your-api/nodeexpress/main/","text":"Example:\n```shell\ncd test-api\nnpm init\n```\n\nExample:\n```shell\nnpm install express\n```\n\nExample:\n```js\nconst express = require('express');\nconst app = express();\nconst port = 3000;\n\napp\n  .listen(port, () => console.log('API listening on port ' + port));\n```\n\nExample:\n```shell\nnpm install @okta/jwt-verifier\n```\n\nExample:\n```js\nconst OktaJwtVerifier = require('@okta/jwt-verifier');\nconst oktaJwtVerifier = new OktaJwtVerifier({\n  issuer: 'https://{yourOktaDomain}/oauth2/{yourAuthServerName}'\n});\nconst audience = '{yourAudience}';\n```\n\nExample:\n```js\napp.get('/api/hello', (req, res) => {\n    res.send('Hello world!');\n});\n\napp.get('/api/whoami', (req, res) => {\n    res.json(req.jwt?.claims);\n});\n```\n\nExample:\n```js\nconst authenticationRequired = async (req, res, next) => {\n  const authHeader = req.headers.authorization || '';\n  const match = authHeader.match(/Bearer (.+)/);\n  if (!match) {\n    return res.status(401).send();\n  }\n\n  try {\n    const accessToken = match[1];\n    if (!accessToken) {\n      return res.status(401, 'Not authorized').send();\n    }\n    req.jwt = await oktaJwtVerifier.verifyAccessToken(accessToken, audience);\n    next();\n  } catch (err) {\n    return res.status(401).send(err.message);\n  }\n};\n```\n\nExample:\n```js\napp.all('*', authenticationRequired);\n```\n\nExample:\n```js\napp.get('/api/whoami', authenticationRequired, (req, res) => {\n  res.json(req.jwt?.claims);\n});\n```\n\nExample:\n```shell\nnpm install cors\n```\n\nExample:\n```js\nconst cors = require('cors');\n```\n\nExample:\n```js\napp\n   .use(cors())\n   .listen(port, () => console.log('API listening on port ' + port));\n```\n\nExample:\n```shell\nnode index.js\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.858Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":103,"estimatedTokens":414}}255{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-aa127b33","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/java/main/","text":"Example:\n```xml\n<dependency>\n    <groupId>com.okta.idx.sdk</groupId>\n    <artifactId>okta-idx-java-api</artifactId>\n    <version>{okta.sdk.version}</version>\n</dependency>\n```\n\nExample:\n```shell\ncompile \"com.okta.idx.sdk:okta-idx-java-api:{okta.sdk.version}\"\n```\n\nExample:\n```yaml\nokta:\n  idx:\n    issuer: \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\"\n    clientId: \"{clientId}\"\n    clientSecret: \"{clientSecret}\"\n    scopes:\n    - \"{scope1}\"\n    - \"{scope2}\"\n    redirectUri: \"{redirectUri}\"\n```\n\nExample:\n```yaml\nokta:\n  idx:\n    issuer: \"https://integrator-1234.okta.com/oauth2/default\"\n    clientId: \"123xyz\"\n    clientSecret: \"123456abcxyz\"\n    scopes:\n    - \"openid\"\n    - \"profile\"\n    - \"offline_access\"\n    redirectUri: \"http://localhost:8080\"\n```\n\nExample:\n```bash\nexport OKTA_IDX_ISSUER=https://integrator-1234.okta.com/oauth2/default\nexport OKTA_IDX_CLIENTID=123xyz\nexport OKTA_IDX_CLIENTSECRET=123456abcxyz\nexport OKTA_IDX_SCOPES=\"openid profile offline_access\"\nexport OKTA_IDX_REDIRECTURI=http://localhost:8080\n```\n\nExample:\n```bash\nmvn -Dokta.idx.issuer=https://integrator-1234.okta.com/oauth2/default \\\n    -Dokta.idx.clientId=123xyz \\\n    -Dokta.idx.clientSecret=123456abcxyz \\\n    -Dokta.idx.scopes=\"openid profile offline_access\" \\\n    -Dokta.idx.redirectUri=http://localhost:8080\n```\n\nExample:\n```java\n/**\n* Creates {@link IDXAuthenticationWrapper} instance.\n*\n* @param issuer the issuer url\n* @param clientId the client id\n* @param clientSecret the client secret\n* @param scopes the set of scopes\n* @param redirectUri the redirect uri\n*/\npublic IDXAuthenticationWrapper(String issuer, String clientId, String clientSecret,\n                                Set<String> scopes, String redirectUri) {\n    this.client = Clients.builder()\n            .setIssuer(issuer)\n            .setClientId(clientId)\n            .setClientSecret(clientSecret)\n            .setScopes(scopes)\n            .setRedirectUri(redirectUri)\n            .build();\n}\n```\n\nExample:\n```java\npackage com.okta.spring.example;\n\nimport com.okta.idx.sdk.api.client.IDXAuthenticationWrapper;\nimport com.okta.idx.sdk.api.client.ProceedContext;\nimport com.okta.idx.sdk.api.model.AuthenticationOptions;\nimport com.okta.idx.sdk.api.model.UserProfile;\nimport com.okta.idx.sdk.api.model.VerifyAuthenticatorOptions;\nimport com.okta.idx.sdk.api.response.AuthenticationResponse;\nimport com.okta.idx.sdk.api.response.TokenResponse;\nimport com.okta.spring.example.helpers.HomeHelper;\nimport com.okta.spring.example.helpers.ResponseHandler;\nimport com.okta.spring.example.helpers.Util;\n```\n\nExample:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin()\n```\n\nExample:\n```html\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```html\n<script th:inline=\"javascript\">\n\n    var config = {};\n\n    config.baseUrl = /*[[{oktaBaseUrl}]]*/ 'https://{yourOktaDomain}';\n    config.clientId = /*[[{oktaClientId}]]*/ '{clientId}';\n    config.redirectUri = /*[[{redirectUri}]]*/ '{redirectUri}';\n    config.interactionHandle = /*[[{interactionHandle}]]*/ '{interactionHandle}';\n    config.codeChallenge = /*[[{codeChallenge}]]*/ '{codeChallenge}';\n    config.codeChallengeMethod = /*[[{codeChallengeMethod}]]*/ '{codeChallengeMethod}';\n    config.redirect = 'always';\n    config.authParams = {\n        issuer: /*[[{issuerUri}]]*/ '{issuerUri}',\n        pkce: true,\n        state: /*[[{state}]]*/ '{state}' || false,\n        nonce: /*[[{nonce}]]*/ '{nonce}',\n        scopes: /*[[{scopes}]]*/ '[scopes]',\n    };\n\n  const signIn = new OktaSignIn({\n       el: '#sign-in-widget',\n       ...config\n  });\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   signIn.otp = searchParams.get('otp');\n   signIn.state = searchParams.get('state');\n\n   signIn.showSignInAndRedirect()\n    .catch(err => {\n      console.log('An error occurred in showSignInAndRedirect: ', err);\n    });\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.859Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":148,"estimatedTokens":1057}}256{"id":"doc-self_service_registration_okta_developer-fc1fb9e2","source":"documentation","title":"Self-service registration | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-self-reg/-/main/","text":"Example:\n```kotlin\nval beginResponse = idxAuthenticationWrapper.begin()\n```\n\nExample:\n```kotlin\nval beginProceedContext = beginResponse.getProceedContext()\nval newUserRegistrationResponse = idxAuthenticationWrapper.fetchSignUpFormValues(beginProceedContext)\n```\n\nExample:\n```kotlin\nval userProfile = UserProfile()\nuserProfile.addAttribute(\"lastName\", lastname)\nuserProfile.addAttribute(\"firstName\", firstname)\nuserProfile.addAttribute(\"email\", email)\n\nval proceedContext = newUserRegistrationResponse.getProceedContext()\n\nval authenticationResponse = idxAuthenticationWrapper.register(proceedContext, userProfile)\n```\n\nExample:\n```kotlin\nval authenticators = authenticationResponse.authenticators\n```\n\nExample:\n```kotlin\nval authenticationResponse = idxAuthenticationWrapper.selectAuthenticator(proceedContext, authenticator)\n```\n\nExample:\n```kotlin\nval verifyAuthenticatorOptions = VerifyAuthenticatorOptions(newPassword)\nval authenticationResponse = idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions)\n```\n\nExample:\n```kotlin\nval verifyAuthenticatorOptions = VerifyAuthenticatorOptions(code)\nval authenticationResponse =\n    idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions)\n```\n\nExample:\n```kotlin\nval authenticationResponse = idxAuthenticationWrapper.skipAuthenticatorEnrollment(proceedContext)\n```\n\nExample:\n```kotlin\nval authenticationResponse =\n   idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions)\n```\n\nExample:\n```kotlin\nval authenticationResponse =\n   idxAuthenticationWrapper.submitPhoneAuthenticator(proceedContext, phone, factor)\n```\n\nExample:\n```kotlin\nval response = authenticationWrapper.resend(proceedContext)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.859Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":69,"estimatedTokens":440}}257{"id":"doc-list_all_captcha_instances-6cf7f875","source":"documentation","title":"List all CAPTCHA instances","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/listcaptchainstances","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/captchas\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"string\",\n    \"name\": \"string\",\n    \"siteKey\": \"string\",\n    \"type\": \"HCAPTCHA\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.860Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":61}}258{"id":"doc-protect_your_api_endpoints_okta_developer-cb4a1eae","source":"documentation","title":"Protect your API endpoints | Okta Developer","url":"https://developer.okta.com/docs/guides/protect-your-api/python/main/","text":"Example:\n```bash\npip install requests==2.27.1\n   Flask==2.0.2\n   flask-cors==3.0.10\n   python-dotenv==0.19.2\n   pyOpenSSL==22.0.0\n   Flask-Login==0.6.3\n   Werkzeug==2.2.2\n   pybase64==1.3.2\n```\n\nExample:\n```python\nfrom dotenv import load_dotenv\n```\n\nExample:\n```python\nfrom flask import Flask, make_response, request, session\n```\n\nExample:\n```properties\nORG_URL=https://{yourOktaDomain}\n```\n\nExample:\n```python\nload_dotenv('.okta.env')\n```\n\nExample:\n```python\nimport pybase64\nimport secrets\n```\n\nExample:\n```python\napp = Flask(__name__)\napp.config.update({'SECRET_KEY': secrets.token_urlsafe()})\n\n@app.route(\"/api/whoami\")\ndef whoami():\n   return \"you are a super developer\"\n\n@app.route(\"/api/hello\")\ndef get_anonymous():\n   return \"you are anonymous\"\n\nif __name__ == '__main__':\n   app.run(host=\"localhost\", port=5000, debug=True)\n```\n\nExample:\n```python\n@app.before_request\ndef read_authorization_header():\n    auth_header = request.headers.get('Authorization')\n    if auth_header != None:\n        bearer_removed = auth_header.lstrip(\"Bearer \")\n        sections = bearer_removed.split('.')\n        header = sections[0]\n        payload = sections[1]\n        signature = sections[2]  # Addition verification here\n        jsonPayload = pybase64.b64decode(payload + '==')\n        session[\"authpayload\"]=jsonPayload\n    else:\n        session[\"authpayload\"]=None\n```\n\nExample:\n```python\n@app.route(\"/whoami\")\ndef whoami():\n    if session[\"authpayload\"] != None:\n        return make_response(session[\"authpayload\"])\n    else:\n        return make_response(\"anonymous\", 401)\n```\n\nExample:\n```python\n@app.route(\"/hello\")\ndef get_anonymous():\n    return \"you are anonymous\"\n```\n\nExample:\n```python\nfrom flask_cors import CORS\n```\n\nExample:\n```python\napp = Flask(__name__)\napp.config.update({'SECRET_KEY': secrets.token_urlsafe()})\nCORS(app)\n```\n\nExample:\n```bash\npython -m flask run --port=5000\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.860Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":107,"estimatedTokens":476}}259{"id":"doc-sign_users_in_to_your_web_app_using_the_redirect-fd127955","source":"documentation","title":"Sign users in to your web app using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-web-app-redirect/main/","text":"Example:\n```bash\ndotnet add package Okta.AspNetCore\n```\n\nExample:\n```json\n\"Okta\": {\n  \"OktaDomain\": \"https://${yourOktaDomain}\",\n  \"ClientId\": \"${clientId}\",\n  \"ClientSecret\": \"${clientSecret}\",\n  \"AuthorizationServerId\": \"default\"\n}\n```\n\nExample:\n```csharp\nusing Microsoft.AspNetCore.Authentication.Cookies;\nusing Microsoft.AspNetCore.Authentication.OpenIdConnect;\nusing Okta.AspNetCore;\n```\n\nExample:\n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n   services.ConfigureApplicationCookie(options =>\n   {\n      options.Cookie.HttpOnly = true;\n      options.Cookie.SecurePolicy = Microsoft.AspNetCore.Http.CookieSecurePolicy.Always;\n   })\n   .AddAuthentication(options =>\n   {\n         options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;\n         options.DefaultChallengeScheme = OpenIdConnectDefaults.AuthenticationScheme;\n   })\n   .AddCookie()\n   .AddOktaMvc(new OktaMvcOptions\n   {\n      OktaDomain = Configuration.GetValue<string>(\"Okta:OktaDomain\"),\n      AuthorizationServerId = Configuration.GetValue<string>(\"Okta:AuthorizationServerId\"),\n      ClientId = Configuration.GetValue<string>(\"Okta:ClientId\"),\n      ClientSecret = Configuration.GetValue<string>(\"Okta:ClientSecret\"),\n      Scope = new List<string> { \"openid\", \"profile\", \"email\" },\n   });\n\n   services.AddControllersWithViews();\n}\n```\n\nExample:\n```cs\napp.UseAuthentication();\n```\n\nExample:\n```razor\n@if (User.Identity.IsAuthenticated)\n{\n   <ul class=\"nav navbar-nav navbar-right\">\n      <li>\n         <p class=\"navbar-text\">Hello, @User.Identity.Name</p>\n      </li>\n      <li>\n         <a class=\"nav-link\" asp-controller=\"Home\" asp-action=\"Profile\" id=\"profile-button\">\n            Profile\n         </a>\n      </li>\n      <li>\n         <form class=\"form-inline\" asp-controller=\"Account\" asp-action=\"SignOut\" method=\"post\">\n            <button type=\"submit\" class=\"nav-link btn btn-link text-dark\" id=\"logout-button\">\n               Sign Out\n            </button>\n         </form>\n      </li>\n   </ul>\n}\nelse\n{\n   <ul class=\"nav navbar-nav navbar-right\">\n      <li>\n         <a asp-controller=\"Account\" asp-action=\"SignIn\" id=\"login-button\">\n            Sign In\n         </a>\n      </li>\n   </ul>\n}\n```\n\nExample:\n```csharp\nusing Microsoft.AspNetCore.Authentication;\nusing Microsoft.AspNetCore.Authentication.Cookies;\nusing Okta.AspNetCore;\n```\n\nExample:\n```csharp\npublic IActionResult SignIn()\n{\n   if (!HttpContext.User.Identity.IsAuthenticated)\n   {\n      return Challenge(OktaDefaults.MvcAuthenticationScheme);\n   }\n\n   return RedirectToAction(\"Index\", \"Home\");\n}\n```\n\nExample:\n```csharp\n[HttpPost]\npublic IActionResult SignOut()\n{\n   return new SignOutResult(\n      new[]\n      {\n         OktaDefaults.MvcAuthenticationScheme,\n         CookieAuthenticationDefaults.AuthenticationScheme,\n      },\n      new AuthenticationProperties { RedirectUri = \"/Home/\" });\n}\n```\n\nExample:\n```json\n\"iisSettings\": {\n  \"windowsAuthentication\": false,\n  \"anonymousAuthentication\": true,\n  \"iisExpress\": {\n    \"applicationUrl\": \"http://localhost:8080\",\n    \"sslPort\": 44314\n  }\n}\n```\n\nExample:\n```csharp\nusing Microsoft.AspNetCore.Authorization;\n```\n\nExample:\n```csharp\n[Authorize]\npublic IActionResult Profile()\n{\n  return View(HttpContext.User.Claims);\n}\n```\n\nExample:\n```csharp\n@model IEnumerable<System.Security.Claims.Claim>\n\n@{\n   ViewBag.Title = \"View claims\";\n}\n\n<h2>@ViewBag.Title</h2>\n\n<dl class=\"dl-horizontal\">\n   @foreach (var claim in Model)\n   {\n      <dt title=\"@claim.Type\">\n         @claim.Type\n         <button type=\"button\"\n            class=\"btn btn-link btn-xs\"\n            aria-label=\"Copy to clipboard\"\n            title=\"Copy to clipboard\"\n            data-clipboard-text=\"@claim.Value\">\n            <span class=\"glyphicon glyphicon glyphicon-copy\" aria-hidden=\"true\"></span>\n         </button>\n      </dt>\n\n      <dd id=\"claim-@String.Format(\"{0}\", claim.Type)\">@claim.Value</dd>\n   }\n</dl>\n```\n\nExample:\n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n   services.AddMvc(o =>\n   {\n      var policy = new AuthorizationPolicyBuilder()\n         .RequireAuthenticatedUser()\n         .Build();\n      o.Filters.Add(new AuthorizeFilter(policy));\n   });\n}\n```\n\nExample:\n```csharp\n[Authorize]\npublic IActionResult Protected()\n{\n   // Only for signed-in users!\n   return View();\n}\n```\n\nExample:\n```csharp\n[AllowAnonymous]\npublic IActionResult PublicAccess()\n{\n   // For all users, even anonymous ones!\n   return View();\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.861Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":214,"estimatedTokens":1121}}260{"id":"doc-custom_password_recovery_okta_developer-0a9eb7d9","source":"documentation","title":"Custom password recovery | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-custom-pwd-recovery-mfa/aspnet/main/","text":"Example:\n```csharp\npublic async Task<ActionResult> Callback(string state, string otp, string error = null, string error_description = null)\n{\n    if (!string.IsNullOrEmpty(error) || !string.IsNullOrEmpty(error_description))\n    {\n        return View(new MagicLinkCallbackModel { Message = $\"{error}: {error_description}\" });\n    }\n\n    SignInWidgetConfiguration siwConfig = Session[\"siwConfig\"] as SignInWidgetConfiguration;\n\n    if (siwConfig != null)\n    {\n        Session[\"otp\"] = otp;\n        Session[\"state\"] = state;\n        return View(\"SignInWidget\", siwConfig);\n    }\n```\n\nExample:\n```csharp\nreturn View(new MagicLinkCallbackModel { Message = $\"Please enter the OTP '{otp}' in the original browser tab to finish the flow.\" });\n}\n```\n\nExample:\n```razor\n@model SignInWidgetConfiguration\n\n@section head\n{\n    <script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n    <link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\" />\n}\n\n<div id=\"okta-signin-widget-container\"></div>\n<script type=\"text/javascript\">\n    var widgetConfig = @Html.Raw(JsonConvert.SerializeObject(Model));\n\n    @Html.Raw($\"widgetConfig.otp = '{Session[\"otp\"]}';widgetConfig.state = '{Session[\"state\"]}';\");\n\n    console.log(widgetConfig.interactionHandle);\n\n    const signIn = new OktaSignIn({\n        el: '#okta-signin-widget-container',\n        ...widgetConfig\n    });\n    signIn.showSignInAndRedirect()\n        .catch(err => {\n            console.log('Error happen in showSignInAndRedirect: ', err);\n        });\n</script>\n```\n\nExample:\n```csharp\npublic async Task<ActionResult> Callback(string state, string otp, string error = null, string error_description = null)\n{\n    if (!string.IsNullOrEmpty(error) || !string.IsNullOrEmpty(error_description))\n    {\n        return View(new MagicLinkCallbackModel { Message = $\"{error}: {error_description}\" });\n    }\n\n    IIdxContext idxContext = Session[state] as IIdxContext;\n    if (idxContext == null)\n    {\n        idxContext = Session[\"idxContext\"] as IIdxContext;\n    }\n\n    if (idxContext != null)\n    {\n        var verifyAuthenticatorOptions = new VerifyAuthenticatorOptions\n        {\n            Code = otp,\n        };\n\n        var authnResponse = await _idxClient.VerifyAuthenticatorAsync(verifyAuthenticatorOptions, idxContext);\n```\n\nExample:\n```csharp\nswitch (authnResponse.AuthenticationStatus)\n        {\n            case AuthenticationStatus.AwaitingPasswordReset:\n                return RedirectToAction(\"ChangePassword\", \"Manage\");\n\n           // other case statements\n        }\n    }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.861Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":92,"estimatedTokens":670}}261{"id":"doc-upgrade_your_app_to_the_identity_engine_sdk_okta-d469da07","source":"documentation","title":"Upgrade your app to the Identity Engine SDK | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-upgrade-api-sdk-to-oie-sdk/android/main/","text":"Example:\n```java\npublic AuthenticationClient getAuthenticationClient() {\n    return AuthenticationClients.builder()\n            .setOrgUrl(BuildConfig.BASE_URL)\n            .build();\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse = authenticationClient.authenticate(username,\n            password.toCharArray(), null, authenticationStateHandler);\n\n    // handle factors, if any\n    if (authenticationResponse != null &&\n            authenticationResponse.getFactors() != null &&\n            !authenticationResponse.getFactors().isEmpty()) {\n        // proceedToVerifyView\n    }\n} catch (final AuthenticationException e) {\n    // proceedToErrorView\n}\n```\n\nExample:\n```java\n// begin transaction\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin();\n\n// get proceed context\nProceedContext proceedContext = beginResponse.getProceedContext();\n\n// trigger authentication\nAuthenticationResponse authenticationResponse =\n     idxAuthenticationWrapper.authenticate(new AuthenticationOptions(username, password.toCharArray()), proceedContext);\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n  \"username\": \"john.doe@example.com\",\n  \"password\": \"password123\",\n  \"options\": {\n    \"multiOptionalFactorEnroll\": false,\n    \"warnBeforePasswordExpired\": false\n  }\n}'\n```\n\nExample:\n```json\n{\n    \"expiresAt\": \"2021-10-07T18:19:36.000Z\",\n    \"status\": \"SUCCESS\",\n    \"sessionToken\": \"20111KWCKiTgnNgeaFjw760VitvCy7y-9cYl8lvN65754GmBuo_PPE6\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u8eyowx5GiJhqvj1d6\",\n            \"passwordChanged\": \"2020-12-21T19:39:06.000Z\",\n            \"profile\": {\n                \"login\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"locale\": \"en_US\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        }\n    },\n    \"_links\": {\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/sessions' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS 00igKrTNyNLHCw0wYSIsoDF28cN4B3KZPETBz9pqz0' \\\n--header 'Cookie: JSESSIONID=16DC4838820F919032FC7BF01A8FE3E8' \\\n--data-raw '{\n  \"sessionToken\": \"20111MzxECyRs8sqQ8WG93-ftVtXQ_uBUbOqVt7RYbNFsZBAs1mw-Vl\"\n}'\n```\n\nExample:\n```json\n{\n    \"id\": \"102XV1tNvxsTm69-StW_BCU-Q\",\n    \"userId\": \"00u8eyowx5GiJhqvj1d6\",\n    \"login\": \"john.doe@example.com\",\n    \"createdAt\": \"2021-10-07T18:22:07.000Z\",\n    \"expiresAt\": \"2021-10-07T20:22:07.000Z\",\n    \"status\": \"ACTIVE\",\n    \"lastPasswordVerification\": \"2021-10-07T18:22:07.000Z\",\n    \"lastFactorVerification\": null,\n    \"amr\": [\n        \"pwd\"\n    ],\n    \"idp\": {\n        \"id\": \"00o2di92cuwsnS0PS1d6\",\n        \"type\": \"OKTA\"\n    },\n    \"mfaActive\": true,\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://example.okta.com/api/v1/sessions/me\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"refresh\": {\n            \"href\": \"https://example.okta.com/api/v1/sessions/me/lifecycle/refresh\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"user\": {\n            \"name\": \"John Doe\",\n            \"href\": \"https://example.okta.com/api/v1/users/me\",\n            \"hints\":\n                \"allow\": [\n                    \"GET\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```java\nfinal String factorId = authenticationResponse.getFactors().get(0).getId();\nfinal FactorType factorType = authenticationResponse.getFactors().get(0).getType();\nfinal String stateToken = authenticationResponse.getStateToken();\n\n// we only support Email factor for sample purpose\nif (factorType == FactorType.EMAIL) {\n    AuthenticationResponse authResponse = authenticationClient.verifyFactor(factorId, stateToken, authenticationStateHandler);\n    // Show verify email view.\n} else {\n    // Show error view.\n}\n```\n\nExample:\n```java\ntry {\n    VerifyPassCodeFactorRequest verifyPassCodeFactorRequest =\n            authenticationClient.instantiate(VerifyPassCodeFactorRequest.class);\n    verifyPassCodeFactorRequest.setStateToken(stateToken);\n    verifyPassCodeFactorRequest.setPassCode(passcode);\n    verifyPassCodeFactorRequest.setRememberDevice(false);\n\n    authenticationResponse = authenticationClient.verifyFactor(factorId,\n            verifyPassCodeFactorRequest, authenticationStateHandler);\n} catch (AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\nauthenticationResponse = idxAuthenticationWrapper.selectAuthenticator(proceedContext, authenticator);\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions = new\n     VerifyAuthenticatorOptions(code);\n\nAuthenticationResponse authenticationResponse =\n     idxAuthenticationWrapper.verifyAuthenticator(proceedContext,\n     verifyAuthenticatorOptions);\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00kYBC0MrmG2kHSqYHrSzw7Y99_u9-MOcjEf-_B9Fa\",\n    \"expiresAt\": \"2021-10-12T14:38:30.000Z\",\n    \"status\": \"MFA_REQUIRED\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u1ehs07qD6MhWk85d7\",\n            \"passwordChanged\": \"2021-10-08T19:36:48.000Z\",\n            \"profile\": {\n                \"login\": \"michael.john.smith27@gmail.com\",\n                \"firstName\": \"Michael\",\n                \"lastName\": \"Smith\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        },\n        \"factors\": [\n            {\n                \"id\": \"emf1ehtcpaFA0cQg95d7\",\n                \"factorType\": \"email\",\n                \"provider\": \"OKTA\",\n                \"vendorName\": \"OKTA\",\n                \"profile\": {\n                    \"email\": \"m...7@gmail.com\"\n                },\n                \"_links\": {\n                    \"verify\": {\n                        \"href\": \"https://example.okta.com/api/v1/authn/factors/emf1ehtcpaFA0cQg95d7/verify\",\n                        \"hints\": {\n                            \"allow\": [\n                                \"POST\"\n                            ]\n                        }\n                    }\n                }\n            },\n            {\n                \"id\": \"sms1ehtiv4lzDd0MW5d7\",\n                \"factorType\": \"sms\",\n                \"provider\": \"OKTA\",\n                \"vendorName\": \"OKTA\",\n                \"profile\": {\n                    \"phoneNumber\": \"+1 XXX-XXX-1502\"\n                },\n                \"_links\": {\n                    \"verify\": {\n                        \"href\": \"https://example.okta.com/api/v1/authn/factors/sms1ehtiv4lzDd0MW5d7/verify\",\n                        \"hints\": {\n                            \"allow\": [\n                                \"POST\"\n                            ]\n                        }\n                    }\n                }\n            }\n        ],\n        \"policy\": {\n            \"allowRememberDevice\": true,\n            \"rememberDeviceLifetimeInMinutes\": 15,\n            \"rememberDeviceByDefault\": false,\n            \"factorsPolicyInfo\": {}\n        }\n    },\n    \"_links\": {\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/factors/emf276bb2dP3no7Da5d7/verify' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=6B93EFE5B529BB1CCC437F33996F04AB' \\\n--data-raw '{\n  \"stateToken\": \"00K3WvIsn4-P64LNEt5NW3yoXx-V6Kgi7H18yamJMi\"\n}'\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00kYBC0MrmG2kHSqYHrSzw7Y99_u9-MOcjEf-_B9Fa\",\n    \"expiresAt\": \"2021-10-12T14:40:23.000Z\",\n    \"status\": \"MFA_CHALLENGE\",\n    \"factorResult\": \"CHALLENGE\",\n    \"challengeType\": \"FACTOR\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u1ehs07qD6MhWk85d7\",\n            \"passwordChanged\": \"2021-10-08T19:36:48.000Z\",\n            \"profile\": {\n                \"login\": \"michael.john.smith27@gmail.com\",\n                \"firstName\": \"Michael\",\n                \"lastName\": \"Smith\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        },\n        \"factor\": {\n            \"id\": \"emf1ehtcpaFA0cQg95d7\",\n            \"factorType\": \"email\",\n            \"provider\": \"OKTA\",\n            \"vendorName\": \"OKTA\",\n            \"profile\": {\n                \"email\": \"m...7@gmail.com\"\n            }\n        },\n        \"policy\": {\n            \"allowRememberDevice\": true,\n            \"rememberDeviceLifetimeInMinutes\": 15,\n            \"rememberDeviceByDefault\": false,\n            \"factorsPolicyInfo\": {}\n        }\n    },\n    \"_links\": {\n        \"next\": {\n            \"name\": \"verify\",\n            \"href\": \"https://example.okta.com/api/v1/authn/factors/emf1ehtcpaFA0cQg95d7/verify\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"resend\": [\n            {\n                \"name\": \"email\",\n                \"href\": \"https://example.okta.com/api/v1/authn/factors/emf1ehtcpaFA0cQg95d7/verify/resend\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n            }\n        ],\n        \"prev\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/previous\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/factors/emf276bb2dP3no7Da5d7/verify' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=6B93EFE5B529BB1CCC437F33996F04AB' \\\n--data-raw '{\n  \"stateToken\": \"00K3WvIsn4-P64LNEt5NW3yoXx-V6Kgi7H18yamJMi\",\n  \"passCode\": \"477420\"\n}'\n```\n\nExample:\n```json\n{\n    \"expiresAt\": \"2021-10-12T14:43:04.000Z\",\n    \"status\": \"SUCCESS\",\n    \"sessionToken\": \"20111BkbGDWXbtv6_qe0NeDzuIYfWttZu5m4xszO4LQPqrmQfUA3pqc\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u1ehs07qD6MhWk85d7\",\n            \"passwordChanged\": \"2021-10-08T19:36:48.000Z\",\n            \"profile\": {\n                \"login\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        }\n    },\n    \"_links\": {\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse = authenticationClient.recoverPassword(email,\n            FactorType.EMAIL, null, authenticationStateHandler);\n} catch (AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse =\n            authenticationClient.verifyRecoveryToken(recoveryToken, authenticationStateHandler);\n} catch (AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse = authenticationClient.answerRecoveryQuestion(secQnAnswer,\n            stateToken, authenticationStateHandler);\n} catch (AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\ntry {\n    authenticationResponse = authenticationClient.resetPassword(newPassword.toCharArray(),\n            stateToken, authenticationStateHandler);\n} catch (final AuthenticationException e) {\n    // Go to error view.\n}\n```\n\nExample:\n```java\nAuthenticationResponse authenticationResponse =\n      idxAuthenticationWrapper.recoverPassword(username, proceedContext);\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions = new\n     VerifyAuthenticatorOptions(newPassword);\nAuthenticationResponse authenticationResponse =\n     idxAuthenticationWrapper.verifyAuthenticator(proceedContext,\n     verifyAuthenticatorOptions);\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/recovery/password' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=567D81F8C70A8F601AD0EF3A551FB53D' \\\n--data-raw '{\n  \"username\": \"{username}\",\n  \"factorType\": \"SMS\",\n  \"relayState\": \"/myapp/some/deep/link/i/want/to/return/to\"\n}'\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00hdMzIhfXCfUeRYVjmiP9O6_l0A-ScgdiyucNw3e_\",\n    \"expiresAt\": \"2021-10-12T19:05:34.000Z\",\n    \"status\": \"RECOVERY_CHALLENGE\",\n    \"relayState\": \"/myapp/some/deep/link/i/want/to/return/to\",\n    \"factorType\": \"SMS\",\n    \"recoveryType\": \"PASSWORD\",\n    \"_links\": {\n        \"next\": {\n            \"name\": \"verify\",\n            \"href\": \"https://example.okta.com/api/v1/authn/recovery/factors/SMS/verify\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"resend\": {\n            \"name\": \"SMS\",\n            \"href\": \"https://example.okta.com/api/v1/authn/recovery/factors/SMS/resend\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/recovery/factors/sms/verify' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=567D81F8C70A8F601AD0EF3A551FB53D' \\\n--data-raw '{\n  \"stateToken\": \"00hdMzIhfXCfUeRYVjmiP9O6_l0A-ScgdiyucNw3e_\",\n  \"passCode\": \"926187\"\n}'\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00hdMzIhfXCfUeRYVjmiP9O6_l0A-ScgdiyucNw3e_\",\n    \"expiresAt\": \"2021-10-12T18:11:27.000Z\",\n    \"status\": \"PASSWORD_RESET\",\n    \"relayState\": \"/myapp/some/deep/link/i/want/to/return/to\",\n    \"recoveryType\": \"PASSWORD\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u276bb2cmQuiFhU5d7\",\n            \"passwordChanged\": \"2021-10-12T17:12:45.000Z\",\n            \"profile\": {\n                \"login\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        },\n        \"policy\": {\n            \"complexity\": {\n                \"minLength\": 8,\n                \"minLowerCase\": 1,\n                \"minUpperCase\": 1,\n                \"minNumber\": 1,\n                \"minSymbol\": 0,\n                \"excludeUsername\": true\n            },\n            \"age\": {\n                \"minAgeMinutes\": 0,\n                \"historyCount\": 4\n            }\n        }\n    },\n    \"_links\": {\n        \"next\": {\n            \"name\": \"resetPassword\",\n            \"href\": \"https://example.okta.com/api/v1/authn/credentials/reset_password\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        },\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/authn/credentials/reset_password' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: JSESSIONID=567D81F8C70A8F601AD0EF3A551FB53D' \\\n--data-raw '{\n  \"stateToken\": \"00hdMzIhfXCfUeRYVjmiP9O6_l0A-ScgdiyucNw3e_\",\n  \"newPassword\": \"new_password!\"\n}'\n```\n\nExample:\n```json\n{\n    \"stateToken\": \"00K3WvIsn4-P64LNEt5NW3yoXx-V6Kgi7H18yamJMi\",\n    \"expiresAt\": \"2021-10-12T18:13:17.000Z\",\n    \"status\": \"MFA_REQUIRED\",\n    \"relayState\": \"/myapp/some/deep/link/i/want/to/return/to?type_hint=PASSWORD_RECOVERY&session_hint=AUTHENTICATED&login_hint=john.doe%40example.com\",\n    \"_embedded\": {\n        \"user\": {\n            \"id\": \"00u276bb2cmQuiFhU5d7\",\n            \"passwordChanged\": \"2021-10-12T18:08:17.000Z\",\n            \"profile\": {\n                \"login\": \"john.doe@example.com\",\n                \"firstName\": \"John\",\n                \"lastName\": \"Doe\",\n                \"locale\": \"en\",\n                \"timeZone\": \"America/Los_Angeles\"\n            }\n        },\n        \"factors\": [\n            {\n                \"id\": \"sms276bje00iCLqHY5d7\",\n                \"factorType\": \"sms\",\n                \"provider\": \"OKTA\",\n                \"vendorName\": \"OKTA\",\n                \"profile\": {\n                    \"phoneNumber\": \"+1 XXX-XXX-1502\"\n                },\n                \"_links\": {\n                    \"verify\": {\n                        \"href\": \"https://example.okta.com/api/v1/authn/factors/sms276bje00iCLqHY5d7/verify\",\n                        \"hints\": {\n                            \"allow\": [\n                                \"POST\"\n                            ]\n                        }\n                    }\n                }\n            },\n            {\n                \"id\": \"emf276bb2dP3no7Da5d7\",\n                \"factorType\": \"email\",\n                \"provider\": \"OKTA\",\n                \"vendorName\": \"OKTA\",\n                \"profile\": {\n                    \"email\": \"m...7@gmail.com\"\n                },\n                \"_links\": {\n                    \"verify\": {\n                        \"href\": \"https://example.okta.com/api/v1/authn/factors/emf276bb2dP3no7Da5d7/verify\",\n                        \"hints\": {\n                            \"allow\": [\n                                \"POST\"\n                            ]\n                        }\n                    }\n                }\n            }\n        ],\n        \"policy\": {\n            \"allowRememberDevice\": true,\n            \"rememberDeviceLifetimeInMinutes\": 15,\n            \"rememberDeviceByDefault\": false,\n            \"factorsPolicyInfo\": {}\n        }\n    },\n    \"_links\": {\n        \"cancel\": {\n            \"href\": \"https://example.okta.com/api/v1/authn/cancel\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```java\nString accessToken = tokenResponse.getAccessToken();\n// revoke access token\nidxAuthenticationWrapper.revokeToken(TokenType.ACCESS_TOKEN, accessToken);\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.864Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":29,"totalLines":680,"estimatedTokens":4777}}262{"id":"doc-create_a_captcha_instance-295c95f4","source":"documentation","title":"Create a CAPTCHA instance","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/createcaptchainstance","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/captchas \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"myHCaptcha\",\n    \"secretKey\": \"xxxxxxxxxxx\",\n    \"siteKey\": \"xxxxxxxxxxx\",\n    \"type\": \"HCAPTCHA\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"myHCaptcha\",\n  \"siteKey\": \"xxxxxxxxxxx\",\n  \"type\": \"HCAPTCHA\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.864Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":105}}263{"id":"doc-retrieve_the_org_wide_captcha_settings-8da21f19","source":"documentation","title":"Retrieve the org-wide CAPTCHA settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/getorgcaptchasettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/captcha\n```\n\nExample:\n```text\n{\n  \"captchaId\": \"abcd4567\",\n  \"enabledPages\": [\n    \"SSR\",\n    \"SIGN_IN\"\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.864Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":60}}264{"id":"doc-replace_a_captcha_instance-88320a1d","source":"documentation","title":"Replace a CAPTCHA instance","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/replacecaptchainstance","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/captchas/{captchaId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"myHCaptcha\",\n    \"secretKey\": \"xxxxxxxxxxx\",\n    \"siteKey\": \"xxxxxxxxxxx\",\n    \"type\": \"HCAPTCHA\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"myHCaptcha\",\n  \"siteKey\": \"xxxxxxxxxxx\",\n  \"type\": \"HCAPTCHA\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.864Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":108}}265{"id":"doc-replace_the_org_wide_captcha_settings-967545c4","source":"documentation","title":"Replace the org-wide CAPTCHA settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/replacesorgcaptchasettings","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/org/captcha \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"captchaId\": \"abcd4567\",\n    \"enabledPages\": [\n      \"SSR\",\n      \"SIGN_IN\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"captchaId\": \"abcd4567\",\n  \"enabledPages\": [\n    \"SSR\",\n    \"SIGN_IN\"\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.865Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":95}}266{"id":"doc-delete_the_org_wide_captcha_settings-3949bcd8","source":"documentation","title":"Delete the org-wide CAPTCHA settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/deleteorgcaptchasettings","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/org/captcha\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.865Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":34}}267{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-fe443463","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/aspnet/main/","text":"Example:\n```yaml\nokta:\n  idx:\n    issuer: \"https://{yourOktaDomain}/oauth2/default\"\n    clientId: \"{clientId}\"\n    clientSecret: \"{clientSecret}\"\n    scopes:\n      - \"{scope1}\"\n      - \"{scope2}\"\n    redirectUri: \"{redirectUri}\"\n```\n\nExample:\n```csharp\nvar client = new IdxClient(new IdxConfiguration()\n           {\n               Issuer = \"{YOUR_ISSUER}\",\n               ClientId = \"{YOUR_CLIENT_ID}\",\n               ClientSecret = \"{YOUR_CLIENT_SECRET}\",\n               RedirectUri = \"{YOUR_REDIRECT_URI}\",\n               Scopes = new List<string>{\"openid\",\"profile\", \"offline_access\"}\n           });\n```\n\nExample:\n```csharp\nusing Okta.Idx.Sdk;\nusing Okta.Sdk.Abstractions;\n\nvar idxAuthClient = new IdxClient();\n```\n\nExample:\n```razor\n@section head\n{\n   <script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n   <link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\" />\n}\n```\n\nExample:\n```json\n{\n   \"interactionHandle\":\"{interactionHandle}\",\n   \"version\":\"{widgetVersion}\",\n   \"baseUrl\":\"{baseUrl}\",\n   \"clientId\":\"{clientId}\",\n   \"redirectUri\":\"https://localhost:44314/interactioncode/callback/\",\n   \"authParams\":{\n      \"issuer\":\"{issuerUri}\",\n      \"scopes\":[\n         \"openid\",\n         \"profile\",\n         \"offline_access\"\n      ]\n   },\n   \"state\":\"{state}\",\n   \"otp\":\"{otp}\",\n   \"codeChallenge\":\"{codechallenge}\",\n   \"codeChallengeMethod\":\"S256\"\n}\n```\n\nExample:\n```csharp\n<div id=\"okta-signin-widget-container\"></div>\n<script type=\"text/javascript\">\n    const widgetConfig = @Html.Raw(JsonConvert.SerializeObject(Model));\n    console.log(widgetConfig.interactionHandle);\n\n   const signIn = new OktaSignIn({\n        el: '#okta-signin-widget-container',\n        ...widgetConfig\n    });\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   signIn.otp = searchParams.get('otp');\n   signIn.state = searchParams.get('state');\n\n   signIn.showSignInAndRedirect()\n        .catch(err => {\n            console.log('An error occurred in showSignInAndRedirect: ', err);\n        });\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.865Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":90,"estimatedTokens":566}}268{"id":"doc-update_a_captcha_instance-90bf6e31","source":"documentation","title":"Update a CAPTCHA instance","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/updatecaptchainstance","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/captchas/{captchaId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"myHCaptcha\",\n    \"secretKey\": \"xxxxxxxxxxx\",\n    \"siteKey\": \"xxxxxxxxxxx\",\n    \"type\": \"HCAPTCHA\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"myHCaptcha\",\n  \"siteKey\": \"xxxxxxxxxxx\",\n  \"type\": \"HCAPTCHA\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.865Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":109}}269{"id":"doc-retrieve_a_captcha_instance-1cd5a561","source":"documentation","title":"Retrieve a CAPTCHA instance","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/getcaptchainstance","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/captchas/{captchaId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"myHCaptcha\",\n  \"siteKey\": \"xxxxxxxxxxx\",\n  \"type\": \"HCAPTCHA\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.865Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":67}}270{"id":"doc-delete_a_captcha_instance-58d56be8","source":"documentation","title":"Delete a CAPTCHA instance","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/captcha/other/deletecaptchainstance","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/captchas/{captchaId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":37}}271{"id":"doc-list_all_yubikey_otp_tokens-56c5ae8e","source":"documentation","title":"List all YubiKey OTP tokens","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/listyubikeyotptokens","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/org/factors/yubikey_token/tokens?after=string&expand=string&filter=profile.email&forDownload=false&limit=20&sortBy=profile.email&sortOrder=ASC'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"ykkwcx13nrDq8g4oy0g3\",\n    \"created\": \"2020-01-14T21:53:09.000Z\",\n    \"lastVerified\": \"2020-01-14T21:53:06.000Z\",\n    \"lastUpdated\": \"2020-01-14T21:53:09.000Z\",\n    \"status\": \"UNASSIGNED\",\n    \"profile\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"ykkxdtCA1fKVxyu6R0g3\",\n    \"created\": \"2020-06-09T23:42:05.000Z\",\n    \"activated\": \"2020-06-09T23:47:29.000Z\",\n    \"lastVerified\": \"2020-06-09T23:47:29.000Z\",\n    \"lastUpdated\": \"2020-06-09T23:47:29.000Z\",\n    \"status\": \"ACTIVE\",\n    \"profile\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":200}}272{"id":"doc-list_all_enrolled_factors-4756b699","source":"documentation","title":"List all enrolled factors","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/listfactors","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"ufs2bysphxKODSZKWVCT\",\n    \"factorType\": \"question\",\n    \"provider\": \"OKTA\",\n    \"vendorName\": \"OKTA\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2014-04-15T18:10:06.000Z\",\n    \"lastUpdated\": \"2014-04-15T18:10:06.000Z\",\n    \"profile\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"ostf2gsyictRQDSGTDZE\",\n    \"factorType\": \"token:software:totp\",\n    \"provider\": \"OKTA\",\n    \"status\": \"PENDING_ACTIVATION\",\n    \"created\": \"2014-06-27T20:27:33.000Z\",\n    \"lastUpdated\": \"2014-06-27T20:27:33.000Z\",\n    \"profile\": { … },\n    \"_links\": { … },\n    \"_embedded\": { … }\n  },\n  {\n    \"id\": \"sms2gt8gzgEBPUWBIFHN\",\n    \"factorType\": \"sms\",\n    \"provider\": \"OKTA\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2014-06-27T20:27:26.000Z\",\n    \"lastUpdated\": \"2014-06-27T20:27:26.000Z\",\n    \"profile\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":45,"estimatedTokens":244}}273{"id":"doc-manage_keys_okta_developer-44abc80c","source":"documentation","title":"Manage keys | Okta Developer","url":"https://developer.okta.com/docs/guides/key-management/main/","text":"Example:\n```json\n{\n        \"kty\": \"RSA\",\n        \"kid\": \"1234\",\n        \"use\": \"sig\",\n        \"alg\": \"RS256\",\n        \"n\": \"modulus\",\n        \"e\": \"exponent\"\n    }\n```\n\nExample:\n```json\n{\n        \"kty\": \"RSA\",\n        \"id\": \"{jwksId}\",\n        \"created\": \"2022-01-10T23:53:49.000Z\",\n        \"lastUpdated\": \"2022-01-10T23:53:49.000Z\",\n        \"status\": \"ACTIVE\",\n        \"alg\": \"RS256\",\n        \"kid\": \"key1\",\n        \"use\": \"sig\",\n        \"_links\": {\n            \"deactivate\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/apps/{appId}/credentials/jwks/{jwksId}/lifecycle/deactivate\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n            }\n        },\n        \"e\": \"AQAB\",\n        \"n\": \"rKzoV-g0BFBvhJXLnYJCuV3Gq_yFiVXOxcKdwI99Vj9-zwul0u1_o4t7QNJl2NX_756eRgLL9TIvfyuktkpicxt6IVmdCeFOl1ij0LOmIvMRvfevDwQwbbIlPGkuVZSCHDymo2gMgC43cGSEpLaLlS8qToiHPTRI43SSEmfqrYgCC3cIWx3Ce7NgjIiosx_O95jL8pP3ZKrVNd6LgpNBcP9SmxScFAurpgQFcTR4m-KwrenGKR85WmB-p7IcQWYBdwHiSoQvD2dFLmLc48zgbu6m62OxyIP8NN5TkZEV0C1K61W07fA0qesBQ4h5p-ynGG0QezVNcNzx-HyuchlCbQ\"\n    }\n```\n\nExample:\n```json\n{\n        \"kty\": \"RSA\",\n        \"id\": \"pks8m1hju1OGb5Gi90g7\",\n        \"created\": \"2025-07-15T22:46:10.000Z\",\n        \"lastUpdated\": \"2025-07-15T22:46:10.000Z\",\n        \"status\": \"ACTIVE\",\n        \"kid\": \"zUjOKTJrPP-XFgg7B8nAJN9vAUONXuFPUBi1kD_HLAs\",\n        \"use\": \"enc\",\n        \"_links\": {\n             \"deactivate\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/apps/{appId}/credentials/jwks/{jwksId}/lifecycle/deactivate\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n             }\n        },\n        \"e\": \"AQAB\",\n        \"n\": \"hUo9QIgVHGG9zopM6u2Mj9NYu6IeuwI_seODhZ1qMb66Mhq1QWk7gYbRIfX7cj-IjetiNNwd5lOAB0jL4u8YXAtUfzVPOaQitnmC3rGBEu6JM_zh1yy6zxzgu85ekp2qfUTqdiLaAxmQq0VVQNPGXpN3axb17CtPFG7MjVAuuGSHQAKvGkSmz8av_bIHYbflksACoCohoH_5nFoN6wVamE1w43zwSy8W4SMwzfOQO10lCdBGexnunOKtHsmE0lKD0sb0UI6QGxDwePRy-gJC4s7FkM4gnHxhPbGsoOMlOYiczR5FANtCVA8WjqkJ2uxUvjEaegKjHE16GFKnvavtoQ\"\n    }\n```\n\nExample:\n```json\n{\n        \"client_id\": \"{clientId}\",\n        \"client_secret\": \"{clientSecret}\",\n        \"client_id_issued_at\": 1750709519,\n        \"client_secret_expires_at\": 0,\n        \"client_name\": \"Test App\",\n        \"client_uri\": null,\n        \"logo_uri\": null,\n        \"redirect_uris\": [\n            \"http://localhost:8080/authorization-code/callback\"\n        ],\n        \"post_logout_redirect_uris\": [\n            \"http://localhost:8080\"\n        ],\n        \"response_types\": [\n            \"code\"\n        ],\n        \"grant_types\": [\n            \"authorization_code\"\n        ],\n        \"jwks\": {\n            \"keys\": [\n                {\n                    \"kty\": \"RSA\",\n                    \"kid\": \"1\",\n                    \"use\": \"enc\",\n                    \"e\": \"AQAB\",\n                    \"n\": \"2rzNBkCg7cf-GHQNvFf84ZE5M6u03YXlBWx8XFNty5XSfPS6L1Q652qRX3PjKLKSQjnJPpJ0qwD9ciwLQ6yCWGRltnT-3dm-a441cYdXUZPMtf6i-HfPNkVdeZt-WG9jFj2_i5c399CnPyAUyLnO3ygnJqoP7EEBIzdjjQCQlLW4B9T3b5NHBo5-VzLjsu-mRcSEKQnVdEW6WLk8_hMU8cH5hRSBnxo-B2a6aXffZdzMXB6-Rn5CFKjrtg0mSFYc9XHQynCZ1yH_D3Dtl48-8_6F0oJ9c7mwt1Ph8OvHY1o3xsHxdLo6dAJm7AUeCTImhopW1hGXpashGSqtBGt7Ew\"\n                }\n            ]\n        },\n        \"token_endpoint_auth_method\": \"client_secret_basic\",\n        \"application_type\": \"web\",\n        \"id_token_encrypted_response_alg\": \"RSA-OAEP-256\"\n    }\n```\n\nExample:\n```json\n{\n        \"client_id\": \"{client_id}\",\n        \"client_secret\": \"{client_secret}\",\n        \"client_id_issued_at\": 1642033231,\n        \"client_secret_expires_at\": 0,\n        \"client_name\": \"Test App\",\n        \"client_uri\": null,\n        \"logo_uri\": null,\n        \"redirect_uris\": [\n            \"http://localhost:8080/authorization-code/callback\"\n        ],\n        \"post_logout_redirect_uris\": [\n            \"http://localhost:8080\"\n        ],\n        \"response_types\": [\n            \"code\"\n        ],\n        \"grant_types\": [\n            \"authorization_code\"\n        ],\n        \"jwks_uri\": \"https://{URI_to_JWK}\",\n        \"token_endpoint_auth_method\": \"client_secret_basic\",\n        \"application_type\": \"web\"\n    }\n```\n\nExample:\n```json\n{\n        \"client_id\": \"{client_id}\",\n        \"client_secret\": \"{client_secret}\",\n        \"client_id_issued_at\": 1752619515,\n        \"client_secret_expires_at\": 0,\n        \"client_name\": \"Test app\",\n        \"client_uri\": null,\n        \"logo_uri\": null,\n        \"redirect_uris\": [\n            \"http://localhost:8080/authorization-code/callback\"\n        ],\n        \"post_logout_redirect_uris\": [\n            \"http://localhost:8080\"\n        ],\n        \"response_types\": [\n            \"code\"\n        ],\n        \"grant_types\": [\n            \"authorization_code\"\n        ],\n        \"jwks_uri\": \"https://{URI_to_JWK}\",\n        \"token_endpoint_auth_method\": \"client_secret_basic\",\n        \"application_type\": \"web\"\n    }\n```\n\nExample:\n```json\n{\n        \"kty\": \"RSA\",\n        \"id\": \"{jwksId}\",\n        \"created\": \"2022-01-10T23:53:49.000Z\",\n        \"lastUpdated\": \"2022-01-11T00:25:16.000Z\",\n        \"status\": \"INACTIVE\",\n        \"alg\": \"RS256\",\n        \"kid\": \"key1\",\n        \"use\": \"sig\",\n        \"_links\": {\n            \"activate\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/apps/{appId}/credentials/jwks/{jwksId}/lifecycle/activate\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n            },\n            \"delete\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/apps/{appId}/credentials/jwks/{jwksID}\",\n                    \"hints\": {\n                        \"allow\": [\n                            \"DELETE\"\n                        ]\n                    }\n                }\n    },\n    \"e\": \"AQAB\",\n    \"n\": \"rKzoV-g0BFBvhJXLnYJCuV3Gq_yFiVXOxcKdwI99Vj9-zwul0u1_o4t7QNJl2NX_756eRgLL9TIvfyuktkpicxt6IVmdCeFOl1ij0LOmIvMRvfevDwQwbbIlPGkuVZSCHDymo2gMgC43cGSEpLaLlS8qToiHPTRI43SSEmfqrYgCC3cIWx3Ce7NgjIiosx_O95jL8pP3ZKrVNd6LgpNBcP9SmxScFAurpgQFcTR4m-KwrenGKR85WmB-p7IcQWYBdwHiSoQvD2dFLmLc48zgbu6m62OxyIP8NN5TkZEV0C1K61W07fA0qesBQ4h5p-ynGG0QezVNcNzx-HyuchlCbQ\"\n    }\n```\n\nExample:\n```json\n{\n        \"kty\": \"RSA\",\n        \"id\": \"{jwksID}\",\n        \"created\": \"2025-07-15T22:46:10.000Z\",\n        \"lastUpdated\": \"2025-07-15T22:48:40.000Z\",\n        \"status\": \"INACTIVE\",\n        \"kid\": \"zUjOKTJrPP-XFgg7B8nAJN9vAUONXuFPUBi1kD_HLAs\",\n        \"use\": \"enc\",\n        \"_links\": {\n            \"activate\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/apps/{appId}/credentials/jwks/{jwksId}/lifecycle/activate\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n            }\n        },\n            \"delete\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/apps/{appId}/credentials/jwks/{jwksId}\",\n                \"hints\": {\n                    \"allow\": [\n                        \"DELETE\"\n                    ]\n            }\n        }\n    },\n    \"e\": \"AQAB\",\n    \"n\": \"hUo9QIgVHGG9zopM6u2Mj9NYu6IeuwI_seODhZ1qMb66Mhq1QWk7gYbRIfX7cj-IjetiNNwd5lOAB0jL4u8YXAtUfzVPOaQitnmC3rGBEu6JM_zh1yy6zxzgu85ekp2qfUTqdiLaAxmQq0VVQNPGXpN3axb17CtPFG7MjVAuuGSHQAKvGkSmz8av_bIHYbflksACoCohoH_5nFoN6wVamE1w43zwSy8W4SMwzfOQO10lCdBGexnunOKtHsmE0lKD0sb0UI6QGxDwePRy-gJC4s7FkM4gnHxhPbGsoOMlOYiczR5FANtCVA8WjqkJ2uxUvjEaegKjHE16GFKnvavtoQ\"\n    }\n```\n\nExample:\n```json\n{\n        \"kty\": \"RSA\",\n        \"id\": \"{keyId}\",\n        \"created\": \"2025-07-18T17:32:45.000Z\",\n        \"lastUpdated\": \"2025-07-18T17:32:45.000Z\",\n        \"status\": \"INACTIVE\",\n        \"kid\": \"zUjOKTJrPP-XFgg7B8nAJN9vAUONXuFPUBi1kD_HLAs\",\n        \"use\": \"enc\",\n        \"_links\": {\n            \"activate\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/authorizationServers/{authorizationServerId}/resourceservercredentials/keys/{keyId}/lifecycle/activate\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n            },\n            \"delete\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/authorizationServers/{authorizationServerId}/resourceservercredentials/keys/{KeyId}\",\n                \"hints\": {\n                    \"allow\": [\n                        \"DELETE\"\n                    ]\n                }\n            }\n        },\n        \"e\": \"AQAB\",\n        \"n\": \"hUo9QIgVHGG9zopM6u2Mj9NYu6IeuwI_seODhZ1qMb66Mhq1QWk7gYbRIfX7cj-IjetiNNwd5lOAB0jL4u8YXAtUfzVPOaQitnmC3rGBEu6JM_zh1yy6zxzgu85ekp2qfUTqdiLaAxmQq0VVQNPGXpN3axb17CtPFG7MjVAuuGSHQAKvGkSmz8av_bIHYbflksACoCohoH_5nFoN6wVamE1w43zwSy8W4SMwzfOQO10lCdBGexnunOKtHsmE0lKD0sb0UI6QGxDwePRy-gJC4s7FkM4gnHxhPbGsoOMlOYiczR5FANtCVA8WjqkJ2uxUvjEaegKjHE16GFKnvavtoQ\"\n    }\n```\n\nExample:\n```json\n{\n        \"kty\": \"RSA\",\n        \"id\": \"apk8m6rvgsLSCdAmO0g7\",\n        \"created\": \"2025-07-18T19:23:36.000Z\",\n        \"lastUpdated\": \"2025-07-18T19:24:38.000Z\",\n        \"status\": \"ACTIVE\",\n        \"kid\": \"zUjOKTJrPP-XFgg7B8nAJN9vAUONXuFPUBi1kD_HLAs\",\n        \"use\": \"enc\",\n        \"e\": \"AQAB\",\n        \"n\": \"hUo9QIgVHGG9zopM6u2Mj9NYu6IeuwI_seODhZ1qMb66Mhq1QWk7gYbRIfX7cj-IjetiNNwd5lOAB0jL4u8YXAtUfzVPOaQitnmC3rGBEu6JM_zh1yy6zxzgu85ekp2qfUTqdiLaAxmQq0VVQNPGXpN3axb17CtPFG7MjVAuuGSHQAKvGkSmz8av_bIHYbflksACoCohoH_5nFoN6wVamE1w43zwSy8W4SMwzfOQO10lCdBGexnunOKtHsmE0lKD0sb0UI6QGxDwePRy-gJC4s7FkM4gnHxhPbGsoOMlOYiczR5FANtCVA8WjqkJ2uxUvjEaegKjHE16GFKnvavtoQ\"\n    }\n```\n\nExample:\n```json\n{\n        \"id\": \"{authorizationServerId}\",\n        \"name\": \"namehere\",\n        \"description\": \"authorization server description\",\n        \"audiences\": [\n            \"api://default\"\n        ],\n        \"issuer\": \"https://{yourOktaDomain}/oauth2/namehere\",\n        \"issuerMode\": \"DYNAMIC\",\n        \"accessTokenEncryptedResponseAlgorithm\": \"RSA-OAEP-256\",\n        \"jwks\": {\n            \"keys\": [\n                {\n                    \"kty\": \"RSA\",\n                    \"id\": \"apk8m6ruyq1P0UlBE0g7\",\n                    \"status\": \"ACTIVE\",\n                    \"kid\": \"zUjOKTJrPP-XFgg7B8nAJN9vAUONXuFPUBi1kD_HLAs\",\n                    \"use\": \"enc\",\n                    \"e\": \"AQAB\",\n                    \"n\": \"hUo9QIgVHGG9zopM6u2Mj9NYu6IeuwI_seODhZ1qMb66Mhq1QWk7gYbRIfX7cj-IjetiNNwd5lOAB0jL4u8YXAtUfzVPOaQitnmC3rGBEu6JM_zh1yy6zxzgu85ekp2qfUTqdiLaAxmQq0VVQNPGXpN3axb17CtPFG7MjVAuuGSHQAKvGkSmz8av_bIHYbflksACoCohoH_5nFoN6wVamE1w43zwSy8W4SMwzfOQO10lCdBGexnunOKtHsmE0lKD0sb0UI6QGxDwePRy-gJC4s7FkM4gnHxhPbGsoOMlOYiczR5FANtCVA8WjqkJ2uxUvjEaegKjHE16GFKnvavtoQ\"\n                }\n            ]\n        },\n    }\n```\n\nExample:\n```json\n{\n        \"id\": \"{authServerId}\",\n        \"name\": \"AuthServerName\",\n        \"description\": \"testing\",\n        \"audiences\": [\n            \"api://default\"\n        ],\n        \"issuer\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n        \"issuerMode\": \"DYNAMIC\",\n        \"jwksUri\": \"https://{yourJWKSURI}\",\n        \"status\": \"ACTIVE\",\n        \"created\": \"2025-07-18T17:26:03.000Z\",\n        \"lastUpdated\": \"2025-07-18T18:35:33.000Z\",\n        \"credentials\": {\n            \"signing\": {\n                \"kid\": \"mGCeIdK0yN6n6Gl_tMV4H8u0q3XpOSxMgY0m_Tw6b1I\",\n                \"rotationMode\": \"AUTO\",\n                \"lastRotated\": \"2025-07-18T17:26:03.000Z\",\n                \"nextRotation\": \"2025-10-16T17:26:03.000Z\"\n            }\n        },\n        \"default\": false,\n        \"_links\": {\n            \"rotateKey\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/authorizationServers/{authorizationServerId}/credentials/lifecycle/keyRotate\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n            },\n    . . . . .\n    }\n}\n```\n\nExample:\n```json\n{\n        \"kty\": \"RSA\",\n        \"id\": \"{{keyId}}\",\n        \"created\": \"2025-07-21T21:57:14.000Z\",\n        \"lastUpdated\": \"2025-07-28T22:55:07.000Z\",\n        \"status\": \"INACTIVE\",\n        \"kid\": \"zUjOKTJrPP-XFgg7B8nAJN9vAUONXuFPUBi1kD_HLAs\",\n        \"use\": \"enc\",\n        \"_links\": {\n            \"activate\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/authorizationServers/{authorizationServerId}/resourceservercredentials/keys/{keyId}/lifecycle/activate\",\n                \"hints\": {\n                    \"allow\": [\n                        \"POST\"\n                    ]\n                }\n            },\n            \"delete\": {\n                \"href\": \"https://{yourOktaDomain}/api/v1/authorizationServers/{authorizationServerId}/resourceservercredentials/keys/{keyId}\",\n                \"hints\": {\n                    \"allow\": [\n                        \"DELETE\"\n                    ]\n                }\n            }\n        },\n        \"e\": \"AQAB\",\n        \"n\": \"hUo9QIgVHGG9zopM6u2Mj9NYu6IeuwI_seODhZ1qMb66Mhq1QWk7gYbRIfX7cj-IjetiNNwd5lOAB0jL4u8YXAtUfzVPOaQitnmC3rGBEu6JM_zh1yy6zxzgu85ekp2qfUTqdiLaAxmQq0VVQNPGXpN3axb17CtPFG7MjVAuuGSHQAKvGkSmz8av_bIHYbflksACoCohoH_5nFoN6wVamE1w43zwSy8W4SMwzfOQO10lCdBGexnunOKtHsmE0lKD0sb0UI6QGxDwePRy-gJC4s7FkM4gnHxhPbGsoOMlOYiczR5FANtCVA8WjqkJ2uxUvjEaegKjHE16GFKnvavtoQ\"\n    }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.867Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":373,"estimatedTokens":3271}}274{"id":"doc-retrieve_an_authenticator_enrollment-1f5ff1d9","source":"documentation","title":"Retrieve an authenticator enrollment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userauthenticatorenrollments/other/getauthenticatorenrollment","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/authenticator-enrollments/sms8lqwuzSpWT4kVs0g4?discloseIdentifiers=phone'\n```\n\nExample:\n```text\n{\n  \"type\": \"phone\",\n  \"id\": \"sms8evhwh0Ne35iPR0g7\",\n  \"key\": \"phone_number\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Phone\",\n  \"created\": \"2020-07-26T21:05:23.000Z\",\n  \"lastUpdated\": \"2020-07-29T00:21:29.000Z\",\n  \"profile\": {\n    \"phoneNumber\": \"+1 XXX-XXX-6065\"\n  },\n  \"nickname\": \"Joe's Work Phone\",\n  \"_links\": {\n    \"self\": { … },\n    \"user\": { … },\n    \"authenticator\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":148}}275{"id":"doc-create_an_auto_activated_phone_authenticator_enr-743daec6","source":"documentation","title":"Create an auto-activated Phone authenticator enrollment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userauthenticatorenrollments/other/createauthenticatorenrollment","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/authenticator-enrollments/phone \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"authenticatorId\": \"aut5l4ttFyGEWdy6V0k7\",\n    \"profile\": {\n      \"phoneNumber\": \"+14086673418\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"type\": \"phone\",\n  \"id\": \"sms8evhwh0Ne35iPR0g7\",\n  \"key\": \"phone_number\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Phone\",\n  \"created\": \"2020-07-26T21:05:23.000Z\",\n  \"lastUpdated\": \"2020-07-29T00:21:29.000Z\",\n  \"profile\": {\n    \"phoneNumber\": \"+1 XXX-XXX-6065\"\n  },\n  \"nickname\": \"Joe's Work Phone\",\n  \"_links\": {\n    \"self\": { … },\n    \"user\": { … },\n    \"authenticator\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":178}}276{"id":"doc-create_an_auto_activated_tac_authenticator_enrol-b57e28ed","source":"documentation","title":"Create an auto-activated TAC authenticator enrollment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userauthenticatorenrollments/other/createtacauthenticatorenrollment","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/authenticator-enrollments/tac \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"authenticatorId\": \"autnmtl4xbt8RQVzA0g4\",\n    \"profile\": {\n      \"ttl\": 11,\n      \"multiUse\": false\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"type\": \"tac\",\n  \"id\": \"tac8evhwh0Ne35iPR0g7\",\n  \"key\": \"tac\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Temporary Access Code\",\n  \"created\": \"2025-05-28T17:21:14.000Z\",\n  \"lastUpdated\": \"2025-05-28T17:21:14.000Z\",\n  \"profile\": {\n    \"tac\": \"n@C*bU26\",\n    \"multiUse\": true,\n    \"expiresAt\": \"2025-05-28T19:21:14\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":176}}277{"id":"doc-upload_a_yubikey_otp_seed-2dcd84f0","source":"documentation","title":"Upload a YubiKey OTP seed","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/uploadyubikeyotptokenseed","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/org/factors/yubikey_token/tokens?after=string&expand=string&filter=profile.email&forDownload=false&limit=20&sortBy=profile.email&sortOrder=ASC' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"serialNumber\": \"7886622\",\n    \"publicId\": \"ccccccijgibu\",\n    \"privateId\": \"b74be6169486\",\n    \"aesKey\": \"1fcc6d8ce39bf1604e0b17f3e0a11067\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ykkut4G6ti62DD8Dy0g3\",\n  \"created\": \"2020-01-10T23:04:10.000Z\",\n  \"lastVerified\": \"2020-01-10T23:04:10.000Z\",\n  \"lastUpdated\": \"2020-01-10T23:04:10.000Z\",\n  \"status\": \"UNASSIGNED\",\n  \"profile\": {\n    \"serial\": \"000007886622\"\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":184}}278{"id":"doc-delete_an_authenticator_enrollment-03f90ce0","source":"documentation","title":"Delete an authenticator enrollment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userauthenticatorenrollments/other/deleteauthenticatorenrollment","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/authenticator-enrollments/sms8lqwuzSpWT4kVs0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}279{"id":"doc-list_all_authenticator_enrollments-e3097464","source":"documentation","title":"List all authenticator enrollments","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userauthenticatorenrollments/other/listauthenticatorenrollments","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/authenticator-enrollments?discloseIdentifiers=phone'\n```\n\nExample:\n```text\n[\n  {\n    \"type\": \"email\",\n    \"id\": \"eae4za57woixzodEK0g7\",\n    \"key\": \"okta_email\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Email\",\n    \"profile\": { … },\n    \"nickname\": null,\n    \"created\": \"2020-07-26T21:05:23.000Z\",\n    \"lastUpdated\": \"2020-07-28T21:45:52.000Z\",\n    \"_links\": { … }\n  },\n  {\n    \"type\": \"password\",\n    \"id\": \"laeh60xfl7VbebsFr0g6\",\n    \"key\": \"okta_password\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Password\",\n    \"nickname\": null,\n    \"created\": \"2020-07-26T21:05:23.000Z\",\n    \"lastUpdated\": \"2020-07-26T21:05:23.000Z\",\n    \"_links\": { … }\n  },\n  {\n    \"type\": \"phone\",\n    \"id\": \"sms8evhwh0Ne35iPR0g7\",\n    \"key\": \"phone_number\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Phone\",\n    \"created\": \"2020-07-26T21:05:23.000Z\",\n    \"lastUpdated\": \"2020-07-29T00:21:29.000Z\",\n    \"profile\": { … },\n    \"nickname\": \"Joe's Work Phone\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":48,"estimatedTokens":265}}280{"id":"doc-client_authentication_methods-daae15b0","source":"documentation","title":"Client authentication methods","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/guides/client-auth","text":"Example:\n```text\nAuthorization: Basic {Base64(<client_id>:<client_secret>)}\n```\n\nExample:\n```text\nPOST /token HTTP/1.1\nHost: server.example.com\nContent-Type: application/x-www-form-urlencoded\ngrant_type=authorization_code&\n  code=i1WsRn1uB1&\n  client_id=0oajncakofQmjxlSw0h3\n  client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&\n  client_assertion=PHNhbWxwOl ... ZT\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":105}}281{"id":"doc-enroll_a_factor-1d737651","source":"documentation","title":"Enroll a factor","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/enrollfactor","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors?updatePhone=false&templateId=cstk2flOtuCMDJK4b0g3&tokenLifetimeSeconds=300&activate=false' \\\n  -H 'Accept-Language: fr' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"question\": {\n      \"summary\": \"question factor\",\n      \"value\": {\n        \"factorType\": \"question\",\n        \"provider\": \"OKTA\",\n        \"profile\": {\n          \"question\": \"disliked_food\",\n          \"answer\": \"mayonnaise\"\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ufs1o01OTMGHLAJPVHDZ\",\n  \"factorType\": \"question\",\n  \"provider\": \"OKTA\",\n  \"vendorName\": \"OKTA\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2014-08-05T22:58:49.000Z\",\n  \"lastUpdated\": \"2014-08-05T22:58:49.000Z\",\n  \"profile\": {\n    \"question\": \"disliked_food\",\n    \"questionText\": \"What is the food you least liked as a child?\"\n  },\n  \"_links\": {\n    \"questions\": { … },\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":44,"estimatedTokens":247}}282{"id":"doc-dynamic_client_registration-513e1da7","source":"documentation","title":"Dynamic Client Registration","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/client","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/v1/clients?after=string&limit=20&q=string'\n```\n\nExample:\n```text\n[\n  {\n    \"client_id\": \"B6YnDUIpt6Oq354YYaNR\",\n    \"client_id_issued_at\": 1495059435,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Native client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"native\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  },\n  {\n    \"client_id\": \"etwquEhEjxqyA7HDB8lD\",\n    \"client_id_issued_at\": 1495059868,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Service client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"service\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  },\n  {\n    \"client_id\": \"l3O8MfR0eTVfLJ7jG2UB\",\n    \"client_id_issued_at\": 1495059734,\n    \"client_name\": \"Browser client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"none\",\n    \"application_type\": \"browser\"\n  },\n  {\n    \"client_id\": \"rHQoApjizqc4MGVlW5En\",\n    \"client_id_issued_at\": 1495059117,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Web client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"web\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":70,"estimatedTokens":489}}283{"id":"doc-org_authorization_server-b29cd51d","source":"documentation","title":"Org Authorization Server","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/.well-known/openid-configuration?client_id=string'\n```\n\nExample:\n```text\n{\n  \"issuer\": \"https://{yourOktaDomain}\",\n  \"authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/authorize\",\n  \"token_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/token\",\n  \"userinfo_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/userinfo\",\n  \"registration_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/clients\",\n  \"jwks_uri\": \"https://{yourOktaDomain}/oauth2/v1/keys\",\n  \"response_types_supported\": [\n    \"code\",\n    \"id_token\",\n    \"code id_token\",\n    \"code token\",\n    \"id_token token\",\n    \"code id_token token\"\n  ],\n  \"response_modes_supported\": [\n    \"query\",\n    \"fragment\",\n    \"form_post\",\n    \"okta_post_message\"\n  ],\n  \"grant_types_supported\": [\n    \"authorization_code\",\n    \"implicit\",\n    \"refresh_token\",\n    \"password\",\n    \"urn:ietf:params:oauth:grant-type:device_code\"\n  ],\n  \"subject_types_supported\": [\n    \"public\"\n  ],\n  \"id_token_signing_alg_values_supported\": [\n    \"RS256\"\n  ],\n  \"scopes_supported\": [\n    \"openid\",\n    \"email\",\n    \"profile\",\n    \"address\",\n    \"phone\",\n    \"offline_access\",\n    \"groups\"\n  ],\n  \"token_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"claims_supported\": [\n    \"iss\",\n    \"ver\",\n    \"sub\",\n    \"aud\",\n    \"iat\",\n    \"exp\",\n    \"jti\",\n    \"auth_time\",\n    \"amr\",\n    \"idp\",\n    \"nonce\",\n    \"name\",\n    \"nickname\",\n    \"preferred_username\",\n    \"given_name\",\n    \"middle_name\",\n    \"family_name\",\n    \"email\",\n    \"email_verified\",\n    \"profile\",\n    \"zoneinfo\",\n    \"locale\",\n    \"address\",\n    \"phone_number\",\n    \"picture\",\n    \"website\",\n    \"gender\",\n    \"birthdate\",\n    \"updated_at\",\n    \"at_hash\",\n    \"c_hash\"\n  ],\n  \"code_challenge_methods_supported\": [\n    \"S256\"\n  ],\n  \"introspection_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/introspect\",\n  \"introspection_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"revocation_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/revoke\",\n  \"revocation_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"end_session_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/logout\",\n  \"request_parameter_supported\": true,\n  \"request_object_signing_alg_values_supported\": [\n    \"HS256\",\n    \"HS384\",\n    \"HS512\",\n    \"RS256\",\n    \"RS384\",\n    \"RS512\",\n    \"ES256\",\n    \"ES384\",\n    \"ES512\"\n  ],\n  \"device_authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/device/authorize\",\n  \"pushed_authorization_request_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/par\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":129,"estimatedTokens":714}}284{"id":"doc-custom_authorization_servers-668c6d78","source":"documentation","title":"Custom Authorization Servers","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/.well-known/oauth-authorization-server/oauth2/{authorizationServerId}?client_id=string'\n```\n\nExample:\n```text\n{\n  \"issuer\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7\",\n  \"authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/authorize\",\n  \"token_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/token\",\n  \"registration_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/clients\",\n  \"jwks_uri\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/keys\",\n  \"response_types_supported\": [\n    \"code\",\n    \"token\",\n    \"id_token\",\n    \"code id_token\",\n    \"code token\",\n    \"id_token token\",\n    \"code id_token token\"\n  ],\n  \"response_modes_supported\": [\n    \"query\",\n    \"fragment\",\n    \"form_post\",\n    \"okta_post_message\"\n  ],\n  \"grant_types_supported\": [\n    \"authorization_code\",\n    \"implicit\",\n    \"refresh_token\",\n    \"password\",\n    \"client_credentials\",\n    \"urn:ietf:params:oauth:grant-type:device_code\"\n  ],\n  \"subject_types_supported\": [\n    \"public\"\n  ],\n  \"scopes_supported\": [\n    \"okta.myAccount.email.manage\",\n    \"okta.myAccount.email.read\",\n    \"okta.myAccount.manage\",\n    \"okta.myAccount.phone.manage\",\n    \"okta.myAccount.phone.read\",\n    \"okta.myAccount.profile.manage\",\n    \"okta.myAccount.profile.read\",\n    \"okta.myAccount.read\",\n    \"openid\",\n    \"profile\",\n    \"email\",\n    \"address\",\n    \"phone\",\n    \"offline_access\",\n    \"device_sso\"\n  ],\n  \"token_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"claims_supported\": [\n    \"ver\",\n    \"jti\",\n    \"iss\",\n    \"aud\",\n    \"iat\",\n    \"exp\",\n    \"cid\",\n    \"uid\",\n    \"scp\",\n    \"sub\"\n  ],\n  \"code_challenge_methods_supported\": [\n    \"S256\"\n  ],\n  \"introspection_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/introspect\",\n  \"introspection_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"revocation_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/revoke\",\n  \"revocation_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"end_session_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/logout\",\n  \"request_parameter_supported\": true,\n  \"request_object_signing_alg_values_supported\": [\n    \"HS256\",\n    \"HS384\",\n    \"HS512\",\n    \"RS256\",\n    \"RS384\",\n    \"RS512\",\n    \"ES256\",\n    \"ES384\",\n    \"ES512\"\n  ],\n  \"device_authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/device/authorize\",\n  \"pushed_authorization_request_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/par\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":114,"estimatedTokens":728}}285{"id":"doc-retrieve_a_yubikey_otp_token-435d14f1","source":"documentation","title":"Retrieve a YubiKey OTP token","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/getyubikeyotptokenbyid","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/org/factors/yubikey_token/tokens/{tokenId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"ykkxdtCA1fKVxyu6R0g3\",\n  \"created\": \"2020-06-09T23:42:05.000Z\",\n  \"activated\": \"2020-06-09T23:47:29.000Z\",\n  \"lastVerified\": \"2020-06-09T23:47:29.000Z\",\n  \"lastUpdated\": \"2020-06-09T23:47:29.000Z\",\n  \"status\": \"ACTIVE\",\n  \"profile\": {\n    \"serial\": \"000009508427\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"user\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":129}}286{"id":"doc-resend_a_factor_enrollment-0044ead3","source":"documentation","title":"Resend a factor enrollment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/resendenrollfactor","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/zAgrsaBe0wVGRugDYtdv/resend?templateId=cstk2flOtuCMDJK4b0g3' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"factorType\": \"sms\",\n    \"provider\": \"OKTA\",\n    \"profile\": {\n      \"phoneNumber\": \"+1-555-415-1337\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"mbl1nz9JHJGHWRKMTLHP\",\n  \"factorType\": \"sms\",\n  \"provider\": \"OKTA\",\n  \"vendorName\": \"OKTA\",\n  \"status\": \"PENDING_ACTIVATION\",\n  \"created\": \"2014-08-05T20:59:49.000Z\",\n  \"lastUpdated\": \"2014-08-06T03:59:49.000Z\",\n  \"profile\": {\n    \"phoneNumber\": \"+1-555-415-1337\"\n  },\n  \"_links\": {\n    \"activate\": { … },\n    \"resend\": [ … ],\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":189}}287{"id":"doc-list_all_supported_factors-976ce4a2","source":"documentation","title":"List all supported factors","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/listsupportedfactors","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/catalog\n```\n\nExample:\n```text\n[\n  {\n    \"factorType\": \"question\",\n    \"provider\": \"OKTA\",\n    \"vendorName\": \"OKTA\",\n    \"_links\": { … }\n  },\n  {\n    \"factorType\": \"token:software:totp\",\n    \"provider\": \"OKTA\",\n    \"_links\": { … }\n  },\n  {\n    \"factorType\": \"token:software:totp\",\n    \"provider\": \"GOOGLE\",\n    \"_links\": { … }\n  },\n  {\n    \"factorType\": \"sms\",\n    \"provider\": \"OKTA\",\n    \"vendorName\": \"OKTA\",\n    \"_links\": { … },\n    \"_embedded\": { … }\n  },\n  {\n    \"factorType\": \"call\",\n    \"provider\": \"OKTA\",\n    \"_links\": { … }\n  },\n  {\n    \"factorType\": \"token\",\n    \"provider\": \"RSA\",\n    \"_links\": { … }\n  },\n  {\n    \"factorType\": \"token\",\n    \"provider\": \"SYMANTEC\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":51,"estimatedTokens":206}}288{"id":"doc-retrieve_a_factor_transaction_status-795849c5","source":"documentation","title":"Retrieve a factor transaction status","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/getfactortransactionstatus","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/zAgrsaBe0wVGRugDYtdv/transactions/gPAQcN3NDjSGOCAeG2Jv\n```\n\nExample:\n```text\n{\n  \"expiresAt\": \"2015-04-01T15:57:32.000Z\",\n  \"factorResult\": \"WAITING\",\n  \"profile\": {\n    \"credentialId\": \"jane.doe@example.com\"\n  },\n  \"_links\": {\n    \"poll\": { … },\n    \"cancel\": { … }\n  },\n  \"_embedded\": {\n    \"challenge\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":110}}289{"id":"doc-openid_connect_oauth_2_0-380f2ddc","source":"documentation","title":"OpenID Connect & OAuth 2.0","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/guides/overview","text":"Example:\n```text\n{\n  \"alg\": \"RS256\",\n  \"kid\": \"45js03w0djwedsw\"\n}\n```\n\nExample:\n```text\n{\n  \"ver\": 1,\n  \"jti\": \"AT.0mP4JKAZX1iACIT4vbEDF7LpvDVjxypPMf0D7uX39RE\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n  \"aud\": \"https://api.example.com\",\n  \"sub\": \"00ujmkLgagxeRrAg20g3\",\n  \"iat\": 1467145094,\n  \"exp\": 1467148694,\n  \"cid\": \"nmdP1fcyvdVO11AL7ECm\",\n  \"uid\": \"00ujmkLgagxeRrAg20g3\",\n  \"scp\": [\n    \"openid\",\n    \"email\",\n    \"flights\",\n    \"custom\"\n  ],\n  \"auth_time\": 1467142021,\n  \"custom_claim\": \"CustomValue\"\n}\n```\n\nExample:\n```text\n{\n  \"ver\": 1,\n  \"sub\": \"00uid4BxXw6I6TV4m0g3\",\n  \"iss\": \"https://{yourOktaDomain}\",\n  \"aud\": \"uAaunofWkaDJxukCFeBx\",\n  \"iat\": 1449624026,\n  \"exp\": 1449627626,\n  \"amr\": [\n    \"pwd\"\n  ],\n  \"jti\": \"ID.4eAWJOCMB3SX8XewDfVR\",\n  \"auth_time\": 1449624026,\n  \"at_hash\": \"cpqKfdQA5eH891Ff5oJr_Q\",\n  \"name\" :\"John Doe\",\n  \"nickname\":\"Jimmy\",\n  \"preferred_username\": \"john.doe@example.com\",\n  \"given_name\":\"John\",\n  \"middle_name\":\"James\",\n  \"family_name\":\"Doe\",\n  \"profile\":\"https://example.com/john.doe\",\n  \"zoneinfo\":\"America/Los_Angeles\",\n  \"locale\":\"en-US\",\n  \"updated_at\":1311280970,\n  \"email\":\"john.doe@example.com\",\n  \"email_verified\":true,\n  \"address\" : { \"street_address\": \"123 Hollywood Blvd.\",\n      \"locality\": \"Los Angeles\",\n      \"region\": \"CA\",\n      \"postal_code\": \"90210\",\n      \"country\": \"US\"\n    },\n  \"phone_number\":\"+1 (425) 555-1212\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":69,"estimatedTokens":356}}290{"id":"doc-unenroll_a_factor-704cbf8c","source":"documentation","title":"Unenroll a factor","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/unenrollfactor","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/zAgrsaBe0wVGRugDYtdv?removeRecoveryEnrollment=false'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":53}}291{"id":"doc-global_token_revocation-59426b7d","source":"documentation","title":"Global Token Revocation","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/globaltokenrevocation","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/global-token-revocation \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"sub_id\": {\n      \"format\": \"opaque\",\n      \"id\": \"00u1dnq5S0CfjlkpABCD\"\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":72}}292{"id":"doc-verify_a_factor-6b660227","source":"documentation","title":"Verify a factor","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/verifyfactor","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/zAgrsaBe0wVGRugDYtdv/verify?templateId=cstk2flOtuCMDJK4b0g3&tokenLifetimeSeconds=300' \\\n  -H 'Accept-Language: fr' \\\n  -H 'Content-Type: application/json' \\\n  -H 'User-Agent: string' \\\n  -H 'X-Forwarded-For: string' \\\n  -d '{\n    \"passCode\": \"123456\"\n  }'\n```\n\nExample:\n```text\n{\n  \"factorResult\": \"CHALLENGE\",\n  \"profile\": {\n    \"phoneNumber\": \"+12532236986\"\n  },\n  \"_links\": {\n    \"verify\": { … },\n    \"factor\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":138}}293{"id":"doc-list_all_supported_security_questions-16e8a95a","source":"documentation","title":"List all supported security questions","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/listsupportedsecurityquestions","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/questions\n```\n\nExample:\n```text\n[\n  {\n    \"question\": \"disliked_food\",\n    \"questionText\": \"What is the food you least liked as a child?\"\n  },\n  {\n    \"question\": \"name_of_first_plush_toy\",\n    \"questionText\": \"What is the name of your first stuffed animal?\"\n  },\n  {\n    \"question\": \"first_award\",\n    \"questionText\": \"What did you earn your first medal or award for?\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":125}}294{"id":"doc-oauth2_v1_challenge-f1f71bef","source":"documentation","title":"/oauth2/v1/challenge","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/paths/~1oauth2~1v1~1challenge/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/oauth2/v1/challenge\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":29}}295{"id":"doc-activate_a_factor-001ca28b","source":"documentation","title":"Activate a factor","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/activatefactor","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/zAgrsaBe0wVGRugDYtdv/lifecycle/activate \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"passCode\": \"123456\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ostf1fmaMGJLMNGNLIVG\",\n  \"factorType\": \"token:software:totp\",\n  \"provider\": \"OKTA\",\n  \"vendorName\": \"OKTA\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2014-07-16T16:13:56.000Z\",\n  \"lastUpdated\": \"2014-08-06T00:31:07.000Z\",\n  \"profile\": {\n    \"credentialId\": \"dade.murphy@example.com\"\n  },\n  \"_links\": {\n    \"verify\": { … },\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":159}}296{"id":"doc-retrieve_a_factor-0cf1fc1b","source":"documentation","title":"Retrieve a factor","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/getfactor","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/zAgrsaBe0wVGRugDYtdv\n```\n\nExample:\n```text\n{\n  \"id\": \"sms2gt8gzgEBPUWBIFHN\",\n  \"factorType\": \"sms\",\n  \"provider\": \"OKTA\",\n  \"vendorName\": \"OKTA\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2014-06-27T20:27:26.000Z\",\n  \"lastUpdated\": \"2014-06-27T20:27:26.000Z\",\n  \"profile\": {\n    \"phoneNumber\": \"+1-555-415-1337\"\n  },\n  \"_links\": {\n    \"verify\": { … },\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":128}}297{"id":"doc-bc_authorize-9862d97a","source":"documentation","title":"/bc/authorize","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/bcauthorize","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/bc/authorize \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d client_id=0jrabyQWm4B9zVJPbotY \\\n  -d client_secret=6W7XvLCrs4ByKn7Ucwh8ygeeXRhdGFdVOTp75eOc \\\n  -d scope=openid \\\n  -d 'binding_message=Signing in from device' \\\n  -d login_hint=john.doe@example.com\n```\n\nExample:\n```text\n{\n  \"auth_req_id\": \"ftJwF5ZwW2SGPPoTQEKtAr_U8_Ek3RvWyR\",\n  \"expires_in\": 300,\n  \"interval\": 5\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":122}}298{"id":"doc-keys-97b16cf5","source":"documentation","title":"/keys","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/oauthkeys","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/v1/keys?client_id=string'\n```\n\nExample:\n```text\n{\n  \"keys\": [\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":47}}299{"id":"doc-oauth2_v1_global_token_revocation-8658a753","source":"documentation","title":"/oauth2/v1/global-token-revocation","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/paths/~1oauth2~1v1~1global-token-revocation/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/oauth2/v1/global-token-revocation\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":32}}300{"id":"doc-device_authorize-50119e47","source":"documentation","title":"/device/authorize","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/deviceauthorize","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/device/authorize \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d client_id=string \\\n  -d scope=string\n```\n\nExample:\n```text\n{\n  \"user_code\": \"RGTCFDTL\",\n  \"device_code\": \"5cbeb234-7e00-4ff7-9aa2-b1a4558a75d2\",\n  \"interval\": 5,\n  \"verification_uri_complete\": \"https://{yourOktaDomain}/activate?user_code=RGTCFDTL\",\n  \"verification_uri\": \"https://{yourOktaDomain}/activate\",\n  \"expires_in\": 600\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":126}}301{"id":"doc-token-23a3ca8c","source":"documentation","title":"/token","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/tokenoptions","text":"Example:\n```text\ncurl -i -X OPTIONS \\\n  https://subdomain.okta.com/oauth2/v1/token \\\n  -H 'Origin: example.okta.com'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":42}}302{"id":"doc-userinfo-efb3dfde","source":"documentation","title":"/userinfo","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/userinfo","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/oauth2/v1/userinfo\n```\n\nExample:\n```text\n{\n  \"sub\": \"00uid4BxXw6I6TV4m0g3\",\n  \"name\": \"John Doe\",\n  \"nickname\": \"Jimmy\",\n  \"given_name\": \"John\",\n  \"middle_name\": \"James\",\n  \"family_name\": \"Doe\",\n  \"profile\": \"https://example.com/john.doe\",\n  \"zoneinfo\": \"America/Los_Angeles\",\n  \"locale\": \"en-US\",\n  \"updated_at\": 1311280970,\n  \"email\": \"john.doe@example.com\",\n  \"email_verified\": true,\n  \"address\": {\n    \"street_address\": \"123 Hollywood Blvd.\",\n    \"locality\": \"Los Angeles\",\n    \"region\": \"CA\",\n    \"postal_code\": \"90210\",\n    \"country\": \"US\"\n  },\n  \"phone_number\": \"+1 (425) 555-1212\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":168}}303{"id":"doc-par-8e2569e5","source":"documentation","title":"/par","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/par","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/par \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"client_id\": \"string\",\n    \"code_challenge\": \"string\",\n    \"code_challenge_method\": \"string\",\n    \"display\": \"string\",\n    \"idp\": \"string\",\n    \"idp_scope\": \"string\",\n    \"login_hint\": \"string\",\n    \"max_age\": 0,\n    \"nonce\": \"string\",\n    \"prompt\": \"string\",\n    \"redirect_uri\": \"string\",\n    \"request\": \"string\",\n    \"response_mode\": \"string\",\n    \"response_type\": \"string\",\n    \"scope\": \"string\",\n    \"sessionToken\": \"string\",\n    \"state\": \"string\"\n  }'\n```\n\nExample:\n```text\n{\n  \"request_uri\": \"urn:okta:Y1hIQ3ZqYjFodEZMOVJ3TUF4ZHRPZjJuNFZRV2ZWQ044MmFoX2VIT2oyNDo\",\n  \"expires_in\": 3600\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":186}}304{"id":"doc-revoke-a097d9ba","source":"documentation","title":"/revoke","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/revoke","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/revoke \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'token=<access_token_value>' \\\n  -d token_type_hint=access_token\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":65}}305{"id":"doc-par-7452ff54","source":"documentation","title":"/par","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/paroptions","text":"Example:\n```text\ncurl -i -X OPTIONS \\\n  https://subdomain.okta.com/oauth2/v1/par \\\n  -H 'Origin: example.okta.com'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":42}}306{"id":"doc-challenge-7f4f08e0","source":"documentation","title":"/challenge","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/challenge","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/challenge \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d mfa_token=Qwk9va6QYgR3s7JMiWUm \\\n  -d channel_hint=push \\\n  -d challenge_types_supported=http://auth0.com/oauth/grant-type/mfa-oob\n```\n\nExample:\n```text\n{\n  \"challenge_type\": \"http://auth0.com/oauth/grant-type/mfa-otp\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.876Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":97}}307{"id":"doc-oob_authenticate-3f7a208c","source":"documentation","title":"/oob-authenticate","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/oob-authenticate","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/oob-authenticate \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d login_hint=testuser@example.com \\\n  -d channel_hint=push \\\n  -d challenge_hint=urn:okta:params:oauth:grant-type:oob\n```\n\nExample:\n```text\n{\n  \"oob_code\": \"ftOpMH6ohWMGWoH1vgrX-lNX6tnXE6JNd9\",\n  \"channel\": \"push\",\n  \"binding_method\": \"none\",\n  \"expires_in\": 300,\n  \"interval\": 5\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.876Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":113}}308{"id":"doc-introspect-ffd18526","source":"documentation","title":"/introspect","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/introspect","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/introspect \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d token=string \\\n  -d token_type_hint=access_token\n```\n\nExample:\n```text\n{\n  \"active\": true,\n  \"token_type\": \"Bearer\",\n  \"scope\": \"openid profile\",\n  \"client_id\": \"a9VpZDRCeFh3Nkk2VdYa\",\n  \"username\": \"john.doe@example.com\",\n  \"exp\": 1451606400,\n  \"iat\": 1451602800,\n  \"sub\": \"john.doe@example.com\",\n  \"aud\": \"https://{yourOktaDomain}\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/orsmsg0aWLdnF3spV0g3\",\n  \"jti\": \"AT.7P4KlczBYVcWLkxduEuKeZfeiNYkZIC9uGJ28Cc-YaI\",\n  \"uid\": \"00uid4BxXw6I6TV4m0g3\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.876Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":165}}309{"id":"doc-primary_authenticate-4d1ba73f","source":"documentation","title":"/primary-authenticate","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/primary-authenticate","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/primary-authenticate \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d login_hint=testuser@example.com \\\n  -d channel_hint=push \\\n  -d challenge_hint=urn:okta:params:oauth:grant-type:oob\n```\n\nExample:\n```text\n{\n  \"oob_code\": \"ftOpMH6ohWMGWoH1vgrX-lNX6tnXE6JNd9\",\n  \"channel\": \"push\",\n  \"binding_method\": \"none\",\n  \"expires_in\": 300,\n  \"interval\": 5\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.876Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":114}}310{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-a1bbffea","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/android/main/","text":"Example:\n```groovy\nimplementation 'com.okta.idx.sdk: okta-idx-java-api:$okta_sdk_version'\n```\n\nExample:\n```json\nissuer=https://example.okta.com/oauth2/default\nclientId=clientID_from_client_app\nredirectUri=com.okta.sample.android:/login\n```\n\nExample:\n```java\npackage com.okta.android.example;\n\nimport com.okta.idx.sdk.api.client.IDXAuthenticationWrapper;\nimport com.okta.idx.sdk.api.client.ProceedContext;\nimport com.okta.idx.sdk.api.model.AuthenticationOptions;\nimport com.okta.idx.sdk.api.model.UserProfile;\nimport com.okta.idx.sdk.api.model.VerifyAuthenticatorOptions;\nimport com.okta.idx.sdk.api.response.AuthenticationResponse;\nimport com.okta.idx.sdk.api.response.TokenResponse;\n```\n\nExample:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin()\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.876Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":31,"estimatedTokens":199}}311{"id":"doc-retrieve_the_openid_connect_metadata-4a202000","source":"documentation","title":"Retrieve the OpenID Connect metadata","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/getwellknownopenidconfiguration","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/.well-known/openid-configuration?client_id=string'\n```\n\nExample:\n```text\n{\n  \"issuer\": \"https://{yourOktaDomain}\",\n  \"authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/authorize\",\n  \"token_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/token\",\n  \"userinfo_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/userinfo\",\n  \"registration_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/clients\",\n  \"jwks_uri\": \"https://{yourOktaDomain}/oauth2/v1/keys\",\n  \"response_types_supported\": [\n    \"code\",\n    \"id_token\",\n    \"code id_token\",\n    \"code token\",\n    \"id_token token\",\n    \"code id_token token\"\n  ],\n  \"response_modes_supported\": [\n    \"query\",\n    \"fragment\",\n    \"form_post\",\n    \"okta_post_message\"\n  ],\n  \"grant_types_supported\": [\n    \"authorization_code\",\n    \"implicit\",\n    \"refresh_token\",\n    \"password\",\n    \"urn:ietf:params:oauth:grant-type:device_code\"\n  ],\n  \"subject_types_supported\": [\n    \"public\"\n  ],\n  \"id_token_signing_alg_values_supported\": [\n    \"RS256\"\n  ],\n  \"scopes_supported\": [\n    \"openid\",\n    \"email\",\n    \"profile\",\n    \"address\",\n    \"phone\",\n    \"offline_access\",\n    \"groups\"\n  ],\n  \"token_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"claims_supported\": [\n    \"iss\",\n    \"ver\",\n    \"sub\",\n    \"aud\",\n    \"iat\",\n    \"exp\",\n    \"jti\",\n    \"auth_time\",\n    \"amr\",\n    \"idp\",\n    \"nonce\",\n    \"name\",\n    \"nickname\",\n    \"preferred_username\",\n    \"given_name\",\n    \"middle_name\",\n    \"family_name\",\n    \"email\",\n    \"email_verified\",\n    \"profile\",\n    \"zoneinfo\",\n    \"locale\",\n    \"address\",\n    \"phone_number\",\n    \"picture\",\n    \"website\",\n    \"gender\",\n    \"birthdate\",\n    \"updated_at\",\n    \"at_hash\",\n    \"c_hash\"\n  ],\n  \"code_challenge_methods_supported\": [\n    \"S256\"\n  ],\n  \"introspection_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/introspect\",\n  \"introspection_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"revocation_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/revoke\",\n  \"revocation_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"end_session_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/logout\",\n  \"request_parameter_supported\": true,\n  \"request_object_signing_alg_values_supported\": [\n    \"HS256\",\n    \"HS384\",\n    \"HS512\",\n    \"RS256\",\n    \"RS384\",\n    \"RS512\",\n    \"ES256\",\n    \"ES384\",\n    \"ES512\"\n  ],\n  \"device_authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/device/authorize\",\n  \"pushed_authorization_request_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/par\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":129,"estimatedTokens":714}}312{"id":"doc-token-b5e43145","source":"documentation","title":"/token","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/orgas/token","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/token \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d client_id=0jrabyQWm4B9zVJPbotY \\\n  -d client_secret=6W7XvLCrs4ByKn7Ucwh8ygeeXRhdGFdVOTp75eOc \\\n  -d grant_type=authorization_code \\\n  -d redirect_uri=https://www.example.com/oauth2/redirectUri \\\n  -d 'code=QnowT-aeawtOJKp-MtkH&'\n```\n\nExample:\n```text\n{\n  \"access_token\": \"<access_token_value>\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600,\n  \"scope\": \"openid email offline_access\",\n  \"refresh_token\": \"a9VpZDRCeFh3Nkk2VdY\",\n  \"id_token\": \"<id_token_example>\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":157}}313{"id":"doc-oauth2_v1_oob_authenticate-60f3d1a7","source":"documentation","title":"/oauth2/v1/oob-authenticate","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/paths/~1oauth2~1v1~1oob-authenticate/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/oauth2/v1/oob-authenticate\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":30}}314{"id":"doc-create_an_api_token_okta_developer-d59f469c","source":"documentation","title":"Create an API token | Okta Developer","url":"https://developer.okta.com/docs/guides/create-an-api-token/main/","text":"Example:\n```http\nAuthorization: SSWS 00QCjAl4MlV-WPXM...0HmjFx-vbGua\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":22}}315{"id":"doc-load_the_widget_okta_developer-9cc11762","source":"documentation","title":"Load the widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-widget-use-case-load/nodejs/main/","text":"Example:\n```html\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```html\n<div id=\"content\" class=\"ui padded relaxed\">\n\n      {{>formMessages}}\n\n      <div id=\"okta-signin-widget-container\"></div>\n\n      <script type=\"text/javascript\">\n        const widgetConfig = {{{widgetConfig}}};\n        const signIn = new OktaSignIn({\n          el: '#okta-signin-widget-container',\n          ...widgetConfig\n        });\n\n      // Search for URL Parameters to see if a user is being routed to the application to recover password\n      var searchParams = new URL(window.location.href).searchParams;\n      signIn.otp = searchParams.get('otp');\n      signIn.state = searchParams.get('state');\n\n      signIn.showSignInAndRedirect()\n          .catch(err => {\n            console.log('Error happen in showSignInAndRedirect: ', err);\n          });\n      </script>\n\n</div>\n```\n\nExample:\n```javascript\nconsole.log('renderLoginWithWidget: using interaction handle: ', interactionHandle);\n      const { clientId, redirectUri, issuer, scopes } = getConfig().webServer.oidc;\n      const widgetConfig = {\n        baseUrl: issuer.split('/oauth2')[0],\n        clientId: clientId,\n        redirectUri: redirectUri,\n        authParams: {\n          issuer: issuer,\n          scopes: scopes,\n        },\n        state,\n        otp,\n        interactionHandle,\n        codeChallenge,\n        codeChallengeMethod,\n      };\n```\n\nExample:\n```javascript\nres.render('login', {\n        siwVersion: '{widgetVersion}',\n        widgetConfig: JSON.stringify(widgetConfig),\n      });\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":64,"estimatedTokens":443}}316{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-a4ad30c1","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/-/main/","text":"Example:\n```groovy\nimplementation 'com.okta.idx.sdk: okta-idx-java-api:$okta_sdk_version'\n```\n\nExample:\n```json\nissuer=https://example.okta.com/oauth2/default\nclientId=clientID_from_client_app\nredirectUri=com.okta.sample.android:/login\n```\n\nExample:\n```java\npackage com.okta.android.example;\n\nimport com.okta.idx.sdk.api.client.IDXAuthenticationWrapper;\nimport com.okta.idx.sdk.api.client.ProceedContext;\nimport com.okta.idx.sdk.api.model.AuthenticationOptions;\nimport com.okta.idx.sdk.api.model.UserProfile;\nimport com.okta.idx.sdk.api.model.VerifyAuthenticatorOptions;\nimport com.okta.idx.sdk.api.response.AuthenticationResponse;\nimport com.okta.idx.sdk.api.response.TokenResponse;\n```\n\nExample:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin()\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.878Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":31,"estimatedTokens":199}}317{"id":"doc-oauth2_v1_primary_authenticate-10c76f7c","source":"documentation","title":"/oauth2/v1/primary-authenticate","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/paths/~1oauth2~1v1~1primary-authenticate/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/oauth2/v1/primary-authenticate\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.878Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":31}}318{"id":"doc-basic_sign_in_flow_using_the_widget_okta_develop-3c4ae7e2","source":"documentation","title":"Basic sign-in flow using the widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-widget-use-case-basic-sign-in/nodejs/main/","text":"Example:\n```javascript\nrouter.get('/login/callback', async (req, res, next) => {\n   const parsedUrl =\n      new URL(req.protocol + '://' + req.get('host') + req.originalUrl);\n   const { search, href } = parsedUrl;\n   const { state, otp } = req.query;\n   const authClient = getAuthClient(req);\n\n   // error handling elided\n\n   try {\n      // Exchange code for tokens\n      await authClient.idx.handleInteractionCodeRedirect(href);\n\n      // Redirect back to home page\n      res.redirect('/');\n   } catch (err) {\n      next(err);\n   }\n});\n```\n\nExample:\n```javascript\nrouter.get('/', (req, res) => {\n   const userinfo = req.userContext && req.userContext.userinfo;\n   const attributes = userinfo ? Object.entries(userinfo) : [];\n   res.render('home', {\n      isLoggedIn: !!userinfo,\n      userinfo,\n      attributes\n   });\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.878Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":211}}319{"id":"doc-basic_sign_in_with_the_password_factor_okta_deve-a3b73d29","source":"documentation","title":"Basic sign in with the password factor | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-in/nodejs/main/","text":"Example:\n```javascript\nconst authClient = getAuthClient(req);\nconst transaction = await authClient.idx.authenticate({ username, password });\n```\n\nExample:\n```js\nconst { nextStep, tokens, status, error, } = transaction;\n  // Persist states to session\n  req.setFlowStates({ idx: transaction });\n\n  switch (status) {\n    case IdxStatus.SUCCESS:\n      // Save tokens to storage (req.session)\n      authClient.tokenManager.setTokens(tokens);\n      // Redirect back to home page\n      res.redirect('/');\n      return;\n\n   // Handle other statuses\n}\n```\n\nExample:\n```js\nswitch (status) {\n   case IdxStatus.SUCCESS:\n      // handle success\n   return;\n   case IdxStatus.PENDING:\n      // Proceed to next step\n      try {\n         if (!proceed({ req, res, nextStep })) {\n            next(new Error(`\n            Oops! The current flow cannot support the policy configuration in your org.\n            `));\n         }\n      } catch (err) {\n         next(err);\n      }\n   return;\n   case IdxStatus.FAILURE:\n      authClient.transactionManager.clear();\n      next(error);\n   return;\n   case IdxStatus.TERMINAL:\n      redirect({ req, res, path: '/terminal' });\n   return;\n   case IdxStatus.CANCELED:\n      res.redirect('/');\n   return;\n}\n```\n\nExample:\n```javascript\nmodule.exports = async function userContext(req, res, next) {\n  const authClient = getAuthClient(req);\n  const { idToken, accessToken, refreshToken } = authClient.tokenManager.getTokensSync();\n  if (idToken && accessToken) {\n    const userinfo = await authClient.token.getUserInfo(accessToken, idToken);\n    req.userContext = {\n      userinfo,\n      tokens: {\n        idToken, accessToken, refreshToken\n      }\n    };\n  }\n\n  next();\n};\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.878Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":75,"estimatedTokens":426}}320{"id":"doc-build_a_jwt_for_client_authentication_okta_devel-08b28ebe","source":"documentation","title":"Build a JWT for Client Authentication | Okta Developer","url":"https://developer.okta.com/docs/guides/build-self-signed-jwt/java/main/","text":"Example:\n```java\nString clientSecret = \"{clientSecret}\"; // Or load from configuration\nSecretKey sharedSecret = Keys.hmacShaKeyFor(clientSecret.getBytes(StandardCharsets.UTF_8));\nInstant now = Instant.now();\n\nString jwt = Jwts.builder()\n        .setAudience(\"https://{yourOktaDomain}/oauth2/default/v1/token\")\n        .setIssuedAt(Date.from(now))\n        .setExpiration(Date.from(now.plus(5L, ChronoUnit.MINUTES)))\n        .setIssuer(clientId)\n        .setSubject(clientId)\n        .setId(UUID.randomUUID().toString())\n        .signWith(sharedSecret)\n        .compact();\n```\n\nExample:\n```java\nPrivateKey privateKey = // Load an RSA private key from configuration\nInstant now = Instant.now();\n\nString jwt = Jwts.builder()\n        .setAudience(\"https://{yourOktaDomain}/oauth2/default/v1/token\")\n        .setIssuedAt(Date.from(now))\n        .setExpiration(Date.from(now.plus(5L, ChronoUnit.MINUTES)))\n        .setIssuer(clientId)\n        .setSubject(clientId)\n        .setId(UUID.randomUUID().toString())\n        .signWith(privateKey)\n        .compact();\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.879Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":34,"estimatedTokens":268}}321{"id":"doc-implement_oauth_for_okta_with_a_service_app_okta-5495f381","source":"documentation","title":"Implement OAuth for Okta with a service app | Okta Developer","url":"https://developer.okta.com/docs/guides/implement-oauth-for-okta-serviceapp/main/","text":"Example:\n```json\n\"keys\": [\n      {\n    \"kty\": \"RSA\",\n    \"e\": \"AQAB\",\n    \"use\": \"sig\",\n    \"kid\": \"my_key_id\",\n    \"alg\": \"RS256\",\n    \"n\": \"u0VYW2-76A_lYg5NQihhcPJYYU9-NHbNaO6LFERWnOUbU7l3MJdmCailwSzjO76O-2GdLE-Hn2kx04jWCCPofnQ8xNmFScNo8UQ1dKVq0UkFK-sl-Z0Uu19GiZa2fxSWwg_1g2t-ZpNtKCI279xGBi_hTnupqciUonWe6CIvTv0FfX0LiMqQqjARxPS-6fdBZq8WN9qLGDwpjHK81CoYuzASOezVFYDDyXYzV0X3X_kFVt2sqL5DVN684bEbTsWl91vV-bGmswrlQ0UVUq6t78VdgMrj0RZBD-lFNJcY7CwyugpgLbnm4HEJmCOWJOdjVLj3hFxVVblNJQQ1Z15UXw\"\n      }\n    ]\n```\n\nExample:\n```json\n{\n    \"keys\": [\n    {\n        \"kty\": \"RSA\",\n        \"e\": \"AQAB\",\n        \"use\": \"sig\",\n        \"kid\": \"my_key_id\",\n        \"alg\": \"RS256\",\n        \"n\": \"u0VYW2-76A_lYg5NQihhcPJYYU9-NHbNaO6LFERWnOUbU7l3MJdmCailwSzjO76O-2GdLE-Hn2kx04jWCCPofnQ8xNmFScNo8UQ1dKVq0UkFK-sl-Z0Uu19GiZa2fxSWwg_1g2t-ZpNtKCI279xGBi_hTnupqciUonWe6CIvTv0FfX0LiMqQqjARxPS-6fdBZq8WN9qLGDwpjHK81CoYuzASOezVFYDDyXYzV0X3X_kFVt2sqL5DVN684bEbTsWl91vV-bGmswrlQ0UVUq6t78VdgMrj0RZBD-lFNJcY7CwyugpgLbnm4HEJmCOWJOdjVLj3hFxVVblNJQQ1Z15UXw\"\n    }\n  ]\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/apps/{serviceappclient_id}/grants' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS 00...Y' \\\n--header 'Cache-Control: no-cache' \\\n--data-raw '{\n    \"scopeId\": \"okta.users.read\",\n    \"issuer\": \"https://{yourOktaDomain}\"\n}'\n```\n\nExample:\n```json\n{\n    \"aud\": \"https://{yourOktaDomain}/oauth2/v1/token\",\n    \"iss\": \"0oar95zt9zIpYuz6A0h7\",\n    \"sub\": \"0oar95zt9zIpYuz6A0h7\",\n    \"exp\": \"1614664267\"\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/token' \\\n    --header 'Accept: application/json' \\\n    --header 'Content-Type: application/x-www-form-urlencoded' \\\n    --data-urlencode 'grant_type=client_credentials' \\\n    --data-urlencode 'scope=okta.users.read' \\\n    --data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer' \\\n    --data-urlencode 'client_assertion=eyJhbGciOiJSU....tHQ6ggOnrG-ZFRSkZc8Pw'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJ.....UfThlJ7w\",\n    \"scope\": \"okta.users.read\"\n}\n```\n\nExample:\n```bash\ncurl -X GET \"https://{yourOktaDomain}/api/v1/users\"\n    -H \"Accept: application/json\"\n    -H \"Content-Type: application/json\"\n    -H \"Authorization: Bearer eyJraWQiOiJEa1lUbmhTdkd5OEJkbk9yMVdYTENhbVFRTUZiNTlYbHdBWVR2bVg5ekxNIiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULmRNcmJJc1paTWtMR0FyN1gwRVNKdmdsX19JOFF4N0pwQlhrVjV6ZGt5bk0iLCJpc3MiOiJodHRwczovL2xvZ2luLndyaXRlc2hhcnBlci5jb20iLCJhdWQiOiJodHRwczovL2dlbmVyaWNvaWRjLm9rdGFwcmV2aWV3LmNvbSIsInN1YiI6IjBvYXI5NXp0OXpJcFl1ejZBMGg3IiwiaWF0IjoxNTg4MTg1NDU3LCJleHAiOjE1ODgxODkwNTcsImNpZCI6IjBvYXI5NXp0OXpJcFl1ejZBMGg3Iiwic2NwIjpbIm9rdGEudXNlcnMubWFuYWdlIl19.TrrStbXUFtuH5TemMISgozR1xjT3rVaLHF8hqnwbe9gmFffVrLovY-JLl63G8vZVnyudvZ_fWkOBUxip1hcGm80KvrSgpdOp9Nazz-mjkP6T6JwslRFHDe8SC_4h2LG9zi5PV9y3hAayBK51q1HIwgAxl_2F7q4l0jLKDFsWjQS8epNaB05NLI12BDvO-C-7ZGGJ4EQfGS9EjN9lS-vWnt_V3ojTL0BJCKgL5Y0c9D2VkSqVN4j-7BSRZt0Un3MAEgznXmk2ecg3y7s9linGR0mC3QqKeyDfFNdsUJG6ac0h2CFFZQizpQu1DFmI_ADKmzxVQGPICuslgJFFoIF4ZA\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.880Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":83,"estimatedTokens":803}}322{"id":"doc-sign_in_to_your_spa_with_auth_js_okta_developer-1d2dc125","source":"documentation","title":"Sign in to your SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-authjs/angular/main/","text":"Example:\n```bash\ngit clone git@github.com:okta-samples/okta-angular-oie-sample-quickstart.git\ncd okta-angular-oie-sample-quickstart\n```\n\nExample:\n```bash\nnpm ci\n```\n\nExample:\n```javascript\nconst oidcConfig = {\n  clientId: '{clientId}',\n  issuer: 'https://{yourOktaDomain}/oauth2/default',\n  scopes: ['openid', 'offline_access', 'profile', 'email'],\n  pkce: true\n};\n```\n\nExample:\n```bash\ncd okta-angular-oie-sample-quickstart\nnpm start\n```\n\nExample:\n```bash\nnpm install -g @angular/cli\n```\n\nExample:\n```bash\nng new okta-app\n```\n\nExample:\n```bash\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js\n```\n\nExample:\n```html\n<main>\n  <app-menu [isAuthenticated]=\"(isAuthenticated$ | async) ?? false\" (startFlow)=\"onFlow($event)\" (logout)=\"onLogout()\"></app-menu>\n  <ng-container *ngIf=\"idxMessages$ | async as messages\">\n    <div>\n      <p *ngFor=\"let message of messages\">{{message.message}}</p>\n    </div>\n  </ng-container>\n  <ng-container *ngIf=\"nextStep$ | async as nextStep\">\n    <app-okta-dynamic-form *ngIf=\"!(isAuthenticated$ | async)\" [nextStep]=\"nextStep\" (userInput)=\"onInput($event)\"></app-okta-dynamic-form>\n  </ng-container>\n  <ng-container *ngIf=\"isAuthenticated$ | async\">\n    <div>\n      <h3>ID Token</h3>\n      <pre>{{idToken$ | async | json}}</pre>\n    </div>\n  </ng-container>\n</main>\n```\n\nExample:\n```typescript\n@Component({\n  selector: 'app-root',\n  templateUrl: './app.component.html',\n  styleUrls: ['./app.component.scss']\n})\nexport class AppComponent implements OnInit {\n\n  public nextStep$!: Observable<NextStep|undefined>;\n  public authState$ = this.oktaAuthService.authState$.pipe(shareReplay());\n  public isAuthenticated$ = this.authState$.pipe(map(authState => authState?.isAuthenticated));\n  public idToken$ = this.authState$.pipe(\n    filter(authState => !!authState.idToken),\n    map(authState => authState?.idToken)\n  );\n\n  public idxMessages$: Observable<IdxMessage[]> = this.oktaAuthService.idxTransactionMessages$;\n  private flowSub$: Subject<FLOW_TYPE> = new Subject<FLOW_TYPE>();\n  private inputSub$: Subject<UserAction> = new Subject<UserAction>();\n\n  constructor(private oktaAuthService: OktaAuthService) { }\n\n  public ngOnInit(): void {\n    this.nextStep$ = merge(\n      this.oktaAuthService.handleRedirects(),\n      this.flowSub$.pipe(\n        mergeMap((flow: FLOW_TYPE) => this.oktaAuthService.startIdxFlow(flow))\n      ),\n      this.inputSub$.pipe(\n        mergeMap(input => iif(\n              () => input.action === 'cancel',\n              this.oktaAuthService.cancelIdxFlow(),\n              this.oktaAuthService.proceedIdxFlow(input.values as {})\n            )\n        ),\n      )\n    ).pipe(\n      catchError( error => {console.log(error); return of(undefined)}),\n    );\n  }\n```\n\nExample:\n```typescript\nimport { OktaAuth } from '@okta/okta-auth-js';\nimport { FactoryProvider, InjectionToken } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { Router } from '@angular/router';\n\nconst oidcConfig = {\n  clientId: '{clientId}',\n  issuer: 'https://{yourOktaDomain}/oauth2/default',\n  scopes: ['openid', 'profile', 'email'],\n  pkce: true\n};\n```\n\nExample:\n```typescript\nimport { OktaAuth } from '@okta/okta-auth-js';\nimport { FactoryProvider, InjectionToken } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { Router } from '@angular/router';\n\nconst oidcConfig = {\n  clientId: '{clientId}',\n  issuer: 'https://{yourOktaDomain}/oauth2/default',\n  scopes: ['openid', 'profile', 'email'],\n  pkce: true\n};\n\nexport const OKTA_AUTH = new InjectionToken('okta-auth');\n\nconst oktaAuthFactory = (router: Router, doc: any) => {\n  const params = router.parseUrl(doc.location.search);\n  const state = params.queryParamMap.get('state') ?? undefined;\n  const recoveryToken = params.queryParamMap.get('recoveryToken') ?? undefined;\n  const redirectUri = `{doc.location.origin}/login/callback`;\n  return new OktaAuth({...oidcConfig, redirectUri, state, recoveryToken})\n};\n\nexport const OKTA_PROVIDER: FactoryProvider = {\n  provide: OKTA_AUTH,\n  useFactory: oktaAuthFactory,\n  deps: [Router, DOCUMENT]\n}\n```\n\nExample:\n```typescript\nimport { OKTA_AUTH } from './okta-config';\n\nconstructor(@Inject(OKTA_AUTH) private oktaAuth: OktaAuth) {\n  this.oktaAuth.start();\n}\n```\n\nExample:\n```typescript\npublic authenticateFlow(): Observable<NextStep | undefined> {\n  return defer(() => this.oktaAuth.idx.authenticate().pipe(\n    tap( transaction => {\n      if (transaction.status === IdxStatus.SUCCESS && !!transaction.tokens) {\n        this.oktaAuth.tokenManager.setToken(transaction.tokens);\n      }\n    }),\n    map( transaction => {\n      const status = transaction.status;\n\n      if (status === IdxStatus.SUCCESS || status === IdxStatus.CANCELED) {\n        return undefined;\n      }\n\n      if (status === Idx.FAILURE) throw 'Idx error';\n      return transaction.nextStep;\n    }\n  );\n}\n```\n\nExample:\n```typescript\n....\nexport type FLOW_TYPE = 'authenticate' | 'recoverPassword' | 'register' | 'idp';\n....\n\npublic startIdxFlow(flow: FLOW_TYPE): Observable<NextStep | undefined> {\n    return defer(() => flow === 'idp' ? this.oktaAuth.idx.startTransaction() : this.oktaAuth.idx[flow]()).pipe(\n      map(transaction => this.transactionStateHandler(transaction))\n    );\n  }\n  ....\n\nprivate transactionStateHandler(transaction: IdxTransaction): NextStep | undefined {\n    const appState = this.appAuthStateSub$.getValue();\n    this.appAuthStateSub$.next({...appState, transaction});\n\n    const status = transaction.status;\n    if (status === IdxStatus.SUCCESS || status === IdxStatus.CANCELED) {\n      return undefined;\n    }\n\n    if (transaction.status === IdxStatus.FAILURE) {\n      throw 'Idx error';\n    }\n\n    return transaction.nextStep;\n  }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":220,"estimatedTokens":1433}}323{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-e3ea977b","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/react/main/","text":"Example:\n```shell\ngit clone https://github.com/okta/okta-auth-js.git\n```\n\nExample:\n```javascript\nconst appConfig = {\n    \"clientId\": \"0oa1kelclsb...\",\n    \"issuer\": \"https://{yourOktaDomain}/oauth2/default\",\n    \"redirectUri\": \"http://app.example.com/login/callback\",\n    \"scopes\": [\n        \"openid\",\n        \"profile\",\n        ...\n    ],\n    \"pkce\": true\n };\n```\n\nExample:\n```javascript\nconst oktaAuth = (() => {\n  return new OktaAuth(appConfig);\n})();\n```\n\nExample:\n```javascript\nexport default {\n  clientId: `0oa1kelclsb...`,\n  issuer: `https://{yourOktaDomain}/oauth2/default`,\n  redirectUri: `{window.location.origin}/login/callback`,\n  scopes: [\n    'openid',\n    'profile',\n    ...\n  ],\n  pkce: true\n};\n```\n\nExample:\n```javascript\nimport appConfig from './config';\n\nconst oktaAuth = (() => {\n  return new OktaAuth(appConfig);\n})();\n```\n\nExample:\n```yaml\nISSUER=https://{yourOktaDomain}/oauth2/default\nCLIENT_ID=0oa1kelclsb...\n...\n```\n\nExample:\n```shell\n# Run this command in your project root folder.\n# yarn\nyarn add @okta/okta-auth-js\n\n# npm\nnpm install --save @okta/okta-auth-js\n```\n\nExample:\n```javascript\nconst oktaAuth = new OktaAuth({\n  // config\n})\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":76,"estimatedTokens":296}}324{"id":"doc-sign_in_to_your_spa_with_the_embedded_okta_sign_-8ca310e4","source":"documentation","title":"Sign in to your SPA with the embedded Okta Sign-In Widget | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-embedded-widget/angular/main/","text":"Example:\n```bash\ngit clone https://github.com/okta/samples-js-angular.git\ncd samples-js-angular/custom-login\n```\n\nExample:\n```bash\nnpm install\n```\n\nExample:\n```bash\nnode --version\n```\n\nExample:\n```bash\nng --version\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js@latest\n```\n\nExample:\n```txt\nISSUER=https:////{yourOktaDomain.com}/oauth2/default\nCLIENT_ID={Client ID value from app integration}\nUSE_INTERACTION_CODE=true\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest\n```\n\nExample:\n```shell\nng config projects.okta-signin-test.architect.build.options.styles '[\"src/styles.css\", \"./node_modules/@okta/okta-signin-widget/css/okta-sign-in.min.css\"]'\n```\n\nExample:\n```json\n\"options\": {\n            \"outputPath\": \"dist/custom-login\",\n            \"index\": \"src/index.html\",\n            \"main\": \"src/main.ts\",\n            \"polyfills\": \"src/polyfills.ts\",\n            \"tsConfig\": \"tsconfig.app.json\",\n            \"assets\": [\n              \"src/favicon.ico\",\n              \"src/assets\"\n            ],\n            \"styles\": [\n              \"src/styles.css\",\n              \"./node_modules/@okta/okta-signin-widget/dist/css/okta-sign-in.min.css\"\n            ],\n            \"scripts\": []\n          },\n```\n\nExample:\n```javascript\nproviders: [\n    {\n      provide: OKTA_CONFIG,\n      useFactory: () => {\n        const oktaAuth = new OktaAuth(config.oidc);\n        return {\n          oktaAuth,\n          onAuthRequired: (oktaAuth: OktaAuth, injector: Injector) => {\n            const router = injector.get(Router);\n            // Redirect the user to your custom login page\n            router.navigate(['/login']);\n          }\n        }\n      }\n    },\n    { provide: APP_BASE_HREF, useValue: environment.appBaseHref },\n  ]\n```\n\nExample:\n```javascript\nimport { Component, OnInit } from '@angular/core';\nimport { OktaAuth, Tokens } from '@okta/okta-auth-js';\n\n// @ts-ignore\nimport * as OktaSignIn from '@okta/okta-signin-widget';\nimport sampleConfig from '../app.config';\n\nconst DEFAULT_ORIGINAL_URI = window.location.origin;\n\n@Component({\n  selector: 'app-login',\n  templateUrl: './login.component.html',\n  styleUrls: ['./login.component.css']\n})\nexport class LoginComponent implements OnInit {\n  signIn: any;\n  constructor(public oktaAuth: OktaAuth) {\n    this.signIn = new OktaSignIn({\n      /**\n       * Note: when using the Sign-In Widget for an OIDC flow, you still\n       * need to configure the base URL for your Okta Org. Here\n       * we derive it from the given issuer for convenience.\n       */\n      baseUrl: sampleConfig.oidc.issuer.split('/oauth2')[0],\n      clientId: sampleConfig.oidc.clientId,\n      redirectUri: sampleConfig.oidc.redirectUri,\n      logo: 'assets/angular.svg',\n      i18n: {\n        en: {\n          'primaryauth.title': 'Sign in to Angular & Company',\n        },\n      },\n      authClient: oktaAuth,\n    });\n  }\n\n  ngOnInit() {\n    // When navigating to a protected route, the route path is saved as the `originalUri`\n    // If no `originalUri` has been saved, then redirect back to the app root\n    const originalUri = this.oktaAuth.getOriginalUri();\n    if (!originalUri || originalUri === DEFAULT_ORIGINAL_URI) {\n      this.oktaAuth.setOriginalUri('/');\n    }\n\n    // Search for URL Parameters to see if a user is being routed to the application to recover password\n    var searchParams = new URL(window.location.href).searchParams;\n    this.signIn.otp = searchParams.get('otp');\n    this.signIn.state = searchParams.get('state');\n\n    this.signIn.showSignInToGetTokens({\n      el: '#sign-in-widget',\n      scopes: sampleConfig.oidc.scopes\n    }).then((tokens: Tokens) => {\n      // Remove the widget\n      this.signIn.remove();\n\n      // In this flow the redirect to Okta occurs in a hidden iframe\n      this.oktaAuth.handleLoginRedirect(tokens);\n    }).catch((err: any) => {\n      // Typically due to misconfiguration\n      throw err;\n    });\n  }\n\n  ngOnDestroy() {\n    this.signIn.remove();\n  }\n}\n```\n\nExample:\n```javascript\n// Read environment variables from \"testenv\" in the repository root.\n// Override environment vars if they are already set.\nconst path = require('path');\nconst dotenv = require('dotenv');\nconst fs = require('fs');\n\nconst TESTENV = path.resolve(__dirname, 'testenv');\nif (fs.existsSync(TESTENV)) {\n  const envConfig = dotenv.parse(fs.readFileSync(TESTENV));\n  Object.keys(envConfig).forEach((k) => {\n    process.env[k] = envConfig[k];\n  });\n}\nprocess.env.CLIENT_ID = process.env.CLIENT_ID || process.env.SPA_CLIENT_ID;\nprocess.env.USE_INTERACTION_CODE = process.env.USE_INTERACTION_CODE || false;\n```\n\nExample:\n```javascript\nngOnInit() {\n    // When navigating to a protected route, the route path is saved as the `originalUri`\n    // If no `originalUri` is saved, then redirect back to the app root\n    const originalUri = this.oktaAuth.getOriginalUri();\n    if (!originalUri || originalUri === DEFAULT_ORIGINAL_URI) {\n      this.oktaAuth.setOriginalUri('/');\n    }\n\n    this.signIn.showSignInToGetTokens({\n      el: '#sign-in-widget',\n      scopes: sampleConfig.oidc.scopes\n    }).then((tokens: Tokens) => {\n      // Remove the widget\n      this.signIn.remove();\n\n      // In this flow the redirect to Okta occurs in a hidden iframe\n      this.oktaAuth.handleLoginRedirect(tokens);\n    }).catch((err: any) => {\n      // Typically due to misconfiguration\n      throw err;\n    });\n  }\n```\n\nExample:\n```javascript\nasync ngOnInit() {\n    const isAuthenticated = await this.oktaAuth.isAuthenticated();\n    if (isAuthenticated) {\n      const userClaims = await this.oktaAuth.getUser();\n      this.userName = userClaims.name as string;\n    }\n  }\n```\n\nExample:\n```javascript\nimport {\n  OKTA_CONFIG,\n  OktaAuthGuard,\n  OktaAuthModule,\n  OktaCallbackComponent,\n} from '@okta/okta-angular';\n\n...\n\nconst appRoutes: Routes = [\n  {\n    path: '',\n    component: HomeComponent,\n  },\n  {\n    path: 'login/callback',\n    component: OktaCallbackComponent,\n  },\n  {\n    path: 'login',\n    component: LoginComponent,\n  },\n  {\n    path: 'profile',\n    component: ProfileComponent,\n    canActivate: [ OktaAuthGuard ],\n  },\n  {\n    path: 'messages',\n    component: MessagesComponent,\n    canActivate: [ OktaAuthGuard ],\n  },\n];\n```\n\nExample:\n```bash\nng serve\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":255,"estimatedTokens":1556}}325{"id":"doc-embedded_okta_sign_in_widget_fundamentals_okta_d-6cbc47cf","source":"documentation","title":"Embedded Okta Sign-In Widget fundamentals | Okta Developer","url":"https://developer.okta.com/docs/guides/archive-embedded-siw/main/","text":"Example:\n```html\n<!-- Latest CDN production JavaScript and CSS -->\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest\n```\n\nExample:\n```javascript\nimport OktaSignIn from '@okta/okta-signin-widget';\nimport '@okta/okta-signin-widget/dist/css/okta-sign-in.min.css';\n```\n\nExample:\n```javascript\n<div id=\"widget-container\"></div>\n\n<script>\n  const signIn = new OktaSignIn({baseUrl: 'https://{yourOktaDomain}'});\n  signIn.renderEl({\n    el: '#widget-container'\n  }, function success(res) {\n    if (res.status === 'SUCCESS') {\n      console.log('Do something with this sessionToken', res.session.token);\n    } else {\n    // The user can be in another authentication state that requires further action.\n    // For more information about these states, see:\n    //   https://github.com/okta/okta-signin-widget#rendereloptions-success-error\n    }\n  });\n</script>\n```\n\nExample:\n```html\n<head>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n</head>\n```\n\nExample:\n```html\n<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, shrink-to-fit=no\">\n    <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css\" integrity=\"sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk\" crossorigin=\"anonymous\">\n    <title>Simple Web Page</title>\n    <style>\n      h1 {\n        margin: 2em 0;\n      }\n    </style>\n    <!-- widget stuff here -->\n    <script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n    <link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n  </head>\n  <body>\n    <div class=\"container\">\n      <h1 class=\"text-center\">Simple Web Page</h1>\n      <div id=\"messageBox\" class=\"jumbotron\">\n        You are not logged in. Get outta here! Shoo! >:S\n      </div>\n      <!-- where the sign-in form will be displayed -->\n      <div id=\"okta-login-container\"></div>\n      <button id=\"logout\" class=\"button\" onclick=\"logout()\" style=\"display: none\">Logout</button>\n    </div>\n    <script type=\"text/javascript\">\n      const oktaSignIn = new OktaSignIn({\n        baseUrl: \"https://{yourOktaDomain}\",\n        redirectUri: '{{https://{yourAppRedirectUri} configured in your OIDC app}}',\n        clientId: \"{clientId}\",\n        authParams: {\n          issuer: \"https://{yourOktaDomain}/oauth2/default\"\n        }\n      });\n\n      oktaSignIn.authClient.token.getUserInfo().then(function(user) {\n        document.getElementById(\"messageBox\").innerHTML = \"Hello, \" + user.email + \"! You are *still* logged in! :)\";\n        document.getElementById(\"logout\").style.display = 'block';\n      }, function(error) {\n        oktaSignIn.showSignInToGetTokens({\n          el: '#okta-login-container'\n        }).then(function(tokens) {\n          oktaSignIn.authClient.tokenManager.setTokens(tokens);\n          oktaSignIn.remove();\n\n          const idToken = tokens.idToken;\n          document.getElementById(\"messageBox\").innerHTML = \"Hello, \" + idToken.claims.email + \"! You just logged in! :)\";\n          document.getElementById(\"logout\").style.display = 'block';\n\n        }).catch(function(err) {\n          console.error(err);\n        });\n      });\n\n      function logout() {\n        oktaSignIn.authClient.signOut();\n        location.reload();\n      }\n    </script>\n  </body>\n</html>\n```\n\nExample:\n```javascript\nfunction success(res) {\n  if (res.status === 'SUCCESS') {\n    res.session.setCookieAndRedirect('https://{yourOktaDomain}/app/UserHome');\n  }\n}\n```\n\nExample:\n```javascript\nfunction success(res) {\n  if (res.status === 'SUCCESS') {\n    res.session.setCookieAndRedirect('https://example.com/dashboard');\n  }\n}\n```\n\nExample:\n```javascript\nconst signIn = new OktaSignIn({\n  baseUrl: 'https://{yourOktaDomain}',\n  el: '#widget-container',\n  clientId: '{clientId}',\n  // must be in the list of redirect URIs enabled for the OIDC app\n  redirectUri: '{redirectUri}',\n  authParams: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    pkce: false,\n    responseType: ['code']\n  }\n});\n\n// A query parameter named `code` will be passed to the login redirect URI\n// This should be handled by server-side code. The code can be exchanged for tokens\nsignIn.showSignInAndRedirect();\n```\n\nExample:\n```javascript\nconst signIn = new OktaSignIn({\n  baseUrl: 'https://{yourOktaDomain}',\n  el: '#widget-container',\n  clientId: '{clientId}',\n  // must be in the list of redirect URIs enabled for the OIDC app\n  redirectUri: '{redirectUri}',\n  authParams: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default'\n  }\n});\n\n// SPA and Native apps using PKCE can receive tokens directly without any redirect\nsignIn.showSignInToGetTokens().then(function(tokens) {\n  // store/use tokens\n});\n```\n\nExample:\n```javascript\nfunction callMessagesApi() {\n  const accessToken = signIn.authClient.getAccessToken();\n\n  if (!accessToken) {\n    // This means that the user is not logged in\n    return;\n  }\n\n  // Make a request using jQuery\n  $.ajax({\n    // Your API or resource server:\n    url: 'http://localhost:8080/api/messages',\n    headers: {\n      Authorization: 'Bearer ' + accessToken.accessToken\n    },\n    success: function(response) {\n      // Received messages!\n      console.log('Messages', response);\n    },\n    error: function(response) {\n      console.error(response);\n    }\n  });\n}\n```\n\nExample:\n```javascript\nfunction error(err) {\n  const errorEl = document.createElement('div');\n  errorEl.textContent = 'Error! ' + err.message;\n  document.body.insertBefore(\n    errorEl,\n    document.body.firstChild\n  );\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":209,"estimatedTokens":1492}}326{"id":"doc-sign_in_to_your_spa_with_auth_js_okta_developer-60503c5b","source":"documentation","title":"Sign in to your SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-authjs/react/main/","text":"Example:\n```bash\ngit clone https://github.com/okta/okta-auth-js.git\ncd okta-auth-js\n```\n\nExample:\n```bash\nyarn install\n```\n\nExample:\n```txt\nISSUER=https://{yourOktaDomain}/oauth2/default\nCLIENT_ID={clientId}\n```\n\nExample:\n```bash\ncd samples/generated/react-embedded-auth-with-sdk\n  yarn start\n```\n\nExample:\n```bash\nnpm create vite@latest okta-app -- --template react\n```\n\nExample:\n```bash\ncd okta-app\nnpm install\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js@latest\nnpm install @okta/okta-react@latest\nnpm install react-router-dom@5\n```\n\nExample:\n```txt\nVITE_ISSUER=https://{yourOktaDomain}/oauth2/default\nVITE_CLIENT_ID={clientId}\n```\n\nExample:\n```javascript\nimport React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport App from './App';\n\nconst root = createRoot(document.getElementById('root'));\nroot.render(\n  <React.StrictMode>\n    <Router>\n      <App />\n    </Router>\n  </React.StrictMode>\n);\n```\n\nExample:\n```javascript\nconst inputTransformer = nextStep => form => {\n  // only process UI inputs\n  const inputs = nextStep.inputs?.filter(input => !!input.label);\n\n  if (!inputs?.length) {\n    return form;\n  }\n\n  return {\n    ...form,\n    inputs: inputs.map(({ label, name, type, secret, required }) => {\n      if (secret) {\n        type = 'password';\n      } else if (type === 'string') {\n        type = 'text';\n      } else if (type === 'boolean') {\n        type = 'checkbox'\n      }\n      return { label, name, type, required };\n    })\n  };\n};\n```\n\nExample:\n```javascript\nconst CLIENT_ID = import.meta.env.VITE_CLIENT_ID || '{clientId}';\nconst ISSUER = import.meta.env.VITE_ISSUER || 'https://{yourOktaDomain}/oauth2/default';\nconst REDIRECT_URI = `${window.location.origin}/login/callback`;\n\nexport default {\n  clientId: CLIENT_ID,\n  issuer: ISSUER,\n  redirectUri: REDIRECT_URI,\n  scopes: ['openid', 'offline_access', 'profile', 'email'],\n  pkce: true\n};\n```\n\nExample:\n```javascript\nimport { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { OktaAuth, IdxStatus, toRelativeUrl } from '@okta/okta-auth-js';\nimport { Security } from '@okta/okta-react';\nimport { formTransformer } from './formTransformer';\nimport oidcConfig from './config';\nimport './App.css';\n\nconst oktaAuth = new OktaAuth(oidcConfig);\n\n...\n\nfunction App() {\n  const history = useHistory();\n  const restoreOriginalUri = async (_oktaAuth, originalUri) => {\n    history.replace(toRelativeUrl(originalUri || '/', window.location.origin));\n  };\n\n  return (\n    <Security oktaAuth={oktaAuth} restoreOriginalUri={restoreOriginalUri}>\n      ...\n    </Security>\n  );\n}\n```\n\nExample:\n```javascript\nconst [transaction, setTransaction] = useState(null);\n\nuseEffect(() => {\n  const startTransaction = async () => {\n    await oktaAuth.idx.start();\n    const newTransaction = await oktaAuth.idx.proceed({ step: 'identify' });\n    setTransaction(newTransaction);\n  };\n  startTransaction();\n}, []);\n```\n\nExample:\n```javascript\nconst handleSubmit = async e => {\n  e.preventDefault();\n\n  const submittedTransaction = await oktaAuth.idx.proceed({ step: transaction.nextStep.name, ...inputValues });\n  console.log('Transaction:', submittedTransaction);\n  setInputValues({});\n\n  if (submittedTransaction.status === IdxStatus.SUCCESS) {\n    oktaAuth.tokenManager.setTokens(submittedTransaction.tokens);\n    return;\n  }\n\n  const newTransaction = await oktaAuth.idx.proceed({ step: submittedTransaction.nextStep.name });\n  setTransaction(newTransaction);\n};\n```\n\nExample:\n```javascript\nimport { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { OktaAuth, IdxStatus, toRelativeUrl } from '@okta/okta-auth-js';\nimport { Security } from '@okta/okta-react';\nimport { formTransformer } from './formTransformer';\nimport oidcConfig from './config';\nimport './App.css';\n\nconst oktaAuth = new OktaAuth(oidcConfig);\n\nfunction SignInForm() {\n  const [transaction, setTransaction] = useState(null);\n  const [inputValues, setInputValues] = useState({});\n\n  useEffect(() => {\n    const startTransaction = async () => {\n      await oktaAuth.idx.start();\n      const newTransaction = await oktaAuth.idx.proceed({ step: 'identify' });\n      setTransaction(newTransaction);\n    };\n    startTransaction();\n  }, []);\n\n  const handleChange = ({ target: { name, value } }) => {\n    setInputValues({ ...inputValues, [name]: value });\n  };\n\n  const handleSubmit = async e => {\n    e.preventDefault();\n\n    const submittedTransaction = await oktaAuth.idx.proceed({ step: transaction.nextStep.name, ...inputValues });\n    console.log('Transaction:', submittedTransaction);\n    setInputValues({});\n\n    if (submittedTransaction.status === IdxStatus.SUCCESS) {\n      oktaAuth.tokenManager.setTokens(submittedTransaction.tokens);\n      return;\n    }\n\n    const newTransaction = await oktaAuth.idx.proceed({ step: submittedTransaction.nextStep.name });\n    setTransaction(newTransaction);\n  };\n\n  if (!transaction?.nextStep) {\n    return null;\n  }\n\n  const { inputs } = formTransformer(transaction.nextStep)({});\n\n  return (\n    <form onSubmit={handleSubmit}>\n      {inputs.map(({ label, name, type, required }) => (\n        <label key={name}>\n          {label}\n          <input\n            name={name}\n            type={type}\n            required={required}\n            value={inputValues[name] || ''}\n            onChange={handleChange}\n          />\n        </label>\n      ))}\n      <button type=\"submit\">Sign in</button>\n    </form>\n  );\n}\n\nfunction App() {\n  const history = useHistory();\n  const restoreOriginalUri = async (_oktaAuth, originalUri) => {\n    history.replace(toRelativeUrl(originalUri || '/', window.location.origin));\n  };\n\n  return (\n    <Security oktaAuth={oktaAuth} restoreOriginalUri={restoreOriginalUri}>\n      <SignInForm />\n    </Security>\n  );\n}\n\nexport default App;\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.884Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":253,"estimatedTokens":1476}}327{"id":"doc-sign_in_to_your_spa_with_the_embedded_okta_sign_-77f288f0","source":"documentation","title":"Sign in to your SPA with the embedded Okta Sign-In Widget | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-embedded-widget/react/main/","text":"Example:\n```js\nnpx create-react-app okta-app\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest @okta/okta-auth-js@latest\n```\n\nExample:\n```bash\nnpm install @okta/okta-react@latest react-router-dom@5\n```\n\nExample:\n```js\nexport default {\n  oidc: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    clientId: '{clientId}',\n    scopes: ['openid', 'profile', 'email'],\n    redirectUri: `{window.location.origin}/login/callback`\n  },\n  widget: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    clientId: '{clientId}',\n    redirectUri: `{window.location.origin}/login/callback`,\n    scopes: ['openid', 'profile', 'email'],\n  }\n};\n```\n\nExample:\n```js\nimport React, { useEffect, useRef } from 'react';\nimport OktaSignIn from '@okta/okta-signin-widget';\nimport '@okta/okta-signin-widget/css/okta-sign-in.min.css';\nimport config from './config';\n\nconst OktaSignInWidget = ({ onSuccess, onError }) => {\n  const widgetRef = useRef();\n  useEffect(() => {\n    if (!widgetRef.current) {\n      return false;\n    }\n\n    const widget = new OktaSignIn(config.widget);\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   widget.otp = searchParams.get('otp');\n   widget.state = searchParams.get('state');\n   widget.showSignInToGetTokens({\n      el: widgetRef.current,\n    }).then(onSuccess).catch(onError);\n\n    return () => widget.remove();\n  }, [onSuccess, onError]);\n\n  return (<div ref={widgetRef} />);\n};\n\nexport default OktaSignInWidget;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Link, useHistory } from 'react-router-dom';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst Home = () => {\n  const { oktaAuth, authState } = useOktaAuth();\n  const history = useHistory();\n\n  if (!authState) {\n    return <div>Loading ...</div>;\n  }\n\n  const handleLogin = async () => history.push('/login');\n\n  const handleLogout = async () => oktaAuth.signOut();\n\n  return (\n    <div id=\"home\">\n      <Link to=\"/\">Home</Link> | &nbsp;\n      <Link id=\"protected\" to=\"/protected\">Protected</Link> | &nbsp;\n      {\n        authState.isAuthenticated\n          ? <button id=\"logout-button\" type=\"button\" onClick={handleLogout}>Logout</button>\n          : <button id=\"login-button\" type=\"button\" onClick={handleLogin}>Login</button>\n      }\n    </div>\n  );\n};\n\nexport default Home;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport OktaSignInWidget from './OktaSignInWidget';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst Login = ({ config }) => {\n  const { oktaAuth, authState } = useOktaAuth();\n  const onSuccess = (tokens) => {\n    oktaAuth.handleLoginRedirect(tokens);\n  };\n\n  const onError = (err) => {\n    console.log('Sign in error:', err);\n  };\n\n  if (!authState) {\n    return <div>Loading ... </div>;\n  }\n\n  return authState.isAuthenticated ?\n    <Redirect to={{ pathname: '/' }}/> :\n    <OktaSignInWidget config={config} onSuccess={onSuccess} onError={onError}/>;\n};\n\nexport default Login;\n```\n\nExample:\n```jsx\nimport React, { useState, useEffect } from 'react';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst Protected = () => {\n  const { authState, oktaAuth } = useOktaAuth();\n  const [userInfo, setUserInfo] = useState(null);\n\n  useEffect(() => {\n    if (!authState || !authState.isAuthenticated) {\n      // When user isn't authenticated, forget any user info\n      setUserInfo(null);\n    } else {\n      oktaAuth.getUser().then((info) => {\n        setUserInfo(info);\n      }).catch((err) => {\n        console.error(err);\n      });\n    }\n  }, [authState, oktaAuth]); // Update if authState changes\n\n  if (!userInfo) {\n    return (\n      <div>\n        <p>Fetching user info ...</p>\n      </div>\n    );\n  }\n\n  return (\n    <div>\n      <div>\n        <p id=\"welcome\">\n          Welcome, &nbsp;{userInfo.name}!\n        </p>\n        <p>You have successfully authenticated against your Okta org, and have been redirected back to this application.</p>\n      </div>\n    </div>\n  );\n};\n\nexport default Protected;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Route, useHistory } from 'react-router-dom';\nimport { Security, SecureRoute, LoginCallback } from '@okta/okta-react';\nimport { OktaAuth, toRelativeUrl } from '@okta/okta-auth-js';\nimport Home from './Home';\nimport Login from './Login';\nimport Protected from './Protected';\nimport config from './config';\n\nimport logo from './logo.svg';\nimport './App.css';\n\nconst oktaAuth = new OktaAuth(config.oidc);\n\nconst App = () => {\n  const history = useHistory();\n\n  const customAuthHandler = () => {\n    history.push('/login');\n  };\n\n  const restoreOriginalUri = async (_oktaAuth, originalUri) => {\n    history.replace(toRelativeUrl(originalUri || '', window.location.origin));\n  };\n\n  return (\n    <div className=\"App\">\n      <header className=\"App-header\">\n        <p>My Okta-React app</p>\n        <img src={logo} className=\"App-logo\" alt=\"logo\" />\n      <Security\n        oktaAuth={oktaAuth}\n        onAuthRequired={customAuthHandler}\n        restoreOriginalUri={restoreOriginalUri}\n      >\n        <Route path=\"/\" exact component={Home} />\n        <SecureRoute path=\"/protected\" component={Protected} />\n        <Route path=\"/login\" render={() => <Login />} />\n        <Route path=\"/login/callback\" component={LoginCallback} />\n    </Security>\n    </header>\n    </div>\n  );\n};\n\nexport default App;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport App from './App';\n\nconst root = createRoot(document.getElementById(\"root\"))\nroot.render(\n  <Router>\n    <App />\n  </Router>,\n);\n```\n\nExample:\n```bash\nnpm start\n```\n\nExample:\n```bash\nexport ISSUER=https://{yourOktaDomain}/oauth2/default\nexport CLIENT_ID={yourAppClientId}\nexport USE_INTERACTION_CODE=true\n```\n\nExample:\n```bash\nISSUER=https://{yourOktaDomain}/oauth2/default\nCLIENT_ID={yourAppClientId}\nUSE_INTERACTION_CODE=true\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":260,"estimatedTokens":1522}}328{"id":"doc-list_all_client_applications-b8cde42e","source":"documentation","title":"List all client applications","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/client/listclients","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/v1/clients?after=string&limit=20&q=string'\n```\n\nExample:\n```text\n[\n  {\n    \"client_id\": \"B6YnDUIpt6Oq354YYaNR\",\n    \"client_id_issued_at\": 1495059435,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Native client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"native\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  },\n  {\n    \"client_id\": \"etwquEhEjxqyA7HDB8lD\",\n    \"client_id_issued_at\": 1495059868,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Service client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"service\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  },\n  {\n    \"client_id\": \"l3O8MfR0eTVfLJ7jG2UB\",\n    \"client_id_issued_at\": 1495059734,\n    \"client_name\": \"Browser client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"none\",\n    \"application_type\": \"browser\"\n  },\n  {\n    \"client_id\": \"rHQoApjizqc4MGVlW5En\",\n    \"client_id_issued_at\": 1495059117,\n    \"client_secret_expires_at\": 0,\n    \"client_name\": \"Web client\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"redirect_uris\": [ … ],\n    \"response_types\": [ … ],\n    \"grant_types\": [ … ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"web\",\n    \"frontchannel_logout_uri\": \"https://example.com/logout\",\n    \"frontchannel_logout_session_required\": false\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":70,"estimatedTokens":489}}329{"id":"doc-sanitizing_data_okta_developer-750443a8","source":"documentation","title":"Sanitizing Data | Okta Developer","url":"https://developer.okta.com/books/api-security/sanitizing/","text":"Example:\n```html\n<img src onerror='alert(\"haxor\")'>\n```\n\nExample:\n```html\n&lt;img src onerror=&#39;alert(&quot;haxor&quot;)&#39;&gt;\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":38}}330{"id":"doc-replace_a_client_app-f92017c7","source":"documentation","title":"Replace a client app","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/client/replaceclient","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/oauth2/v1/clients/{clientId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"client_id\": \"0jrabyQWm4B9zVJPbotY\",\n    \"client_name\": \"Updated OAuth 2.0 client\",\n    \"client_uri\": \"https://www.example.com\",\n    \"logo_uri\": \"https://www.example.com/logo.png\",\n    \"application_type\": \"web\",\n    \"redirect_uris\": [\n      \"https://www.example.com/oauth2/redirectUri\"\n    ],\n    \"post_logout_redirect_uris\": [\n      \"https://www.example.com/oauth2/postLogoutRedirectUri\"\n    ],\n    \"response_types\": [\n      \"id_token\",\n      \"code\"\n    ],\n    \"grant_types\": [\n      \"authorization_code\"\n    ],\n    \"token_endpoint_auth_method\": \"client_secret_post\",\n    \"initiate_login_uri\": \"https://www.example.com/oauth2/login\"\n  }'\n```\n\nExample:\n```text\n{\n  \"client_id\": \"0jrabyQWm4B9zVJPbotY\",\n  \"client_secret\": \"5W7XULCEs4BJKnWUXwh8lgmeXRhcGcdViFp84pWe\",\n  \"client_id_issued_at\": 1453913425,\n  \"client_secret_expires_at\": 0,\n  \"client_name\": \"Updated OAuth Client\",\n  \"client_uri\": \"https://www.example.com\",\n  \"logo_uri\": \"https://www.example.com/logo.png\",\n  \"application_type\": \"web\",\n  \"redirect_uris\": [\n    \"https://www.example.com/oauth2/redirectUri\"\n  ],\n  \"post_logout_redirect_uris\": [\n    \"https://www.example.com/oauth2/postLogoutRedirectUri\"\n  ],\n  \"response_types\": [\n    \"id_token\",\n    \"code\"\n  ],\n  \"grant_types\": [\n    \"authorization_code\"\n  ],\n  \"token_endpoint_auth_method\": \"client_secret_post\",\n  \"initiate_login_uri\": \"https://www.example.com/oauth2/login\",\n  \"frontchannel_logout_uri\": \"https://example.com/logout\",\n  \"frontchannel_logout_session_required\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.886Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":61,"estimatedTokens":417}}331{"id":"doc-generate_a_new_client_secret-a4bf21d4","source":"documentation","title":"Generate a new client secret","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/client/generatenewclientsecret","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/v1/clients/{clientId}/lifecycle/newSecret'\n```\n\nExample:\n```text\n{\n  \"client_id\": \"0jrabyQWm4B9zVJPbotY\",\n  \"client_secret\": \"6W7XvLCrs4ByKn7Ucwh8ygeeXRhdGFdVOTp75eOc\",\n  \"client_id_issued_at\": 1453913425,\n  \"client_secret_expires_at\": 0,\n  \"client_name\": \"Updated OAuth Client\",\n  \"client_uri\": \"https://www.example.com\",\n  \"logo_uri\": \"https://www.example.com/logo.png\",\n  \"application_type\": \"web\",\n  \"redirect_uris\": [\n    \"https://www.example.com/oauth2/redirectUri\"\n  ],\n  \"post_logout_redirect_uris\": [\n    \"https://www.example.com/oauth2/postLogoutRedirectUri\"\n  ],\n  \"response_types\": [\n    \"id_token\",\n    \"code\"\n  ],\n  \"grant_types\": [\n    \"authorization_code\"\n  ],\n  \"token_endpoint_auth_method\": \"client_secret_post\",\n  \"initiate_login_uri\": \"https://www.example.com/oauth2/login\",\n  \"frontchannel_logout_uri\": \"https://example.com/logout\",\n  \"frontchannel_logout_session_required\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.886Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":249}}332{"id":"doc-sign_in_to_your_spa_with_auth_js_okta_developer-843346cb","source":"documentation","title":"Sign in to your SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-authjs/vue/main/","text":"Example:\n```bash\nnpm install -g @vue/cli\nvue create okta-app\n```\n\nExample:\n```bash\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-vue@latest\nnpm install @okta/okta-auth-js@latest\n```\n\nExample:\n```js\nexport default {\n  oidc: {\n    clientId: '{yourClientId}',\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    redirectUri: '{yourLocalAppDomain}/login/callback',\n    scopes: ['openid', 'offline_access', 'profile', 'email'],\n    tokenManager: {\n      storage: 'localStorage'\n    }\n  }\n}\n```\n\nExample:\n```html\n<template>\n  <div class=\"login\">\n    <h1>Sign in</h1>\n    <p v-if=\"$route.query.redirect\">\n      You need to sign in first.\n    </p>\n    <form @submit.prevent=\"signIn\" autocomplete=\"off\">\n      Email: <label><input v-model=\"email\" placeholder=\"email\" v-focus></label><br><br>\n      Password: <label><input v-model=\"pass\" placeholder=\"password\" type=\"password\"></label><br>\n      <br>\n      <button type=\"submit\">Continue</button>\n      <p v-if=\"error\" class=\"error\">{{msg}}</p>\n    </form>\n  </div>\n</template>\n\n<script>\nexport default {\n  data () {\n    return {\n      email: '',\n      pass: '',\n      msg: '',\n      error: false\n    }\n  },\n  methods: {\n    signIn () {\n      this.$auth.idx.authenticate({\n      username: this.email,\n      password: this.pass\n    }).then(transaction => {\n      switch (transaction.status) {\n        case 'SUCCESS':\n          this.$auth.tokenManager.setTokens(transaction.tokens)\n          this.$router.replace(this.$route.query.redirect || '/')\n          break\n        case 'PENDING':\n          // next IDX step not handled in this app yet\n          this.error = true\n          this.msg = transaction.messages[0].message\n          console.log('TODO: add handling for status: ', transaction.status,\n            'message: ', transaction.messages,\n            'next step: ', transaction.nextStep)\n          break\n        case 'FAILURE':\n          // failure from idx.authenticate\n          this.error = true\n          this.msg = transaction.messages[0].message\n          console.log(transaction.status, transaction.messages)\n          break\n        default:\n          this.error = true\n          this.msg = transaction.messages[0].message\n          console.error('What happened?: ', transaction.status, transaction.messages)\n      }\n    }).catch(err => {\n      this.error = true\n      this.msg = err.message\n      console.error(err.message)\n      })\n    }\n  }\n}\n</script>\n\n<style>\n  .error {\n    color: red;\n  }\n</style>\n```\n\nExample:\n```js\nimport { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport { OktaAuth } from '@okta/okta-auth-js'\nimport OktaVue from '@okta/okta-vue'\nimport sampleConfig from '@/config'\n\nconst oktaAuth = new OktaAuth(sampleConfig.oidc)\n\ncreateApp(App)\n.directive('focus', {\n  // When the bound element is inserted into the DOM...\n  mounted: function (el) {\n    // Focus the element\n    el.focus()\n  }\n})\n.use(router)\n.use(OktaVue, { oktaAuth,\n  onAuthRequired: () => {\n    router.push('/login')\n  },\n  onAuthResume: () => {\n    router.push('/login')\n  },\n})\n.mount('#app')\n```\n\nExample:\n```html\n<template>\n  <div id=\"app\">\n    <h1>Okta Vue.js and Auth JS example</h1>\n      <div id=\"nav\">\n        <router-link to=\"/about\">About</router-link> |\n        <router-link to=\"/dashboard\" v-if=\"authState && authState.isAuthenticated\" >Dashboard</router-link>\n        <span v-if=\"authState && authState.isAuthenticated\"> | </span>\n        <a v-if=\"authState && authState.isAuthenticated\" v-on:click=\"logout()\"> Sign out</a>\n        <router-link v-if=\"authState && !authState.isAuthenticated\" to=\"/login\">Sign in</router-link>\n      </div>\n    <template v-if=\"$route.matched.length\">\n      <router-view></router-view>\n    </template>\n    <template v-else>\n      <h2>Welcome!</h2>\n      <p>This is an embedded Okta auth SPA app with Vue.js and Auth JS SDK</p>\n      <p>You are {{ (authState && authState.isAuthenticated) ? '' : 'not' }} signed in.</p>\n    </template>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'app',\n  methods: {\n      async logout () {\n        await this.$auth.signOut()\n      }\n    }\n}\n</script>\n\n...\n```\n\nExample:\n```js\n{ path: '/dashboard', name: 'Dashboard', component: Dashboard, meta: { requiresAuth: true } },\n```\n\nExample:\n```html\n<router-link to=\"/dashboard\" v-if=\"authState && authState.isAuthenticated\" >Dashboard</router-link>\n```\n\nExample:\n```html\n<template>\n  <div>\n    <h1>Dashboard</h1>\n    <h3>Success</h3>\n       <p>\n       You have signed in to an embedded Okta auth SPA app with Vue.js and Auth JS SDK.\n       </p>\n    <h3>User Profile</h3>\n    <br><br>\n    <table>\n      <thead>\n        <tr>\n          <th>Claim</th>\n          <th>Value</th>\n        </tr>\n      </thead>\n      <tbody>\n        <tr v-for=\"(claim, index) in claims\" :key=\"index\">\n          <td>{{claim.claim}}</td>\n          <td :id=\"'claim-' + claim.claim\">{{claim.value}}</td>\n        </tr>\n      </tbody>\n    </table>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'Dashboard',\n  data () {\n    return {\n      claims: []\n    }\n  },\n  async created () {\n    this.claims = await Object.entries(await this.$auth.getUser()).map(entry => ({ claim: entry[0], value: entry[1] }))\n  }\n}\n</script>\n\n...\n```\n\nExample:\n```js\nimport { createRouter, createWebHistory } from 'vue-router'\nimport { navigationGuard } from '@okta/okta-vue'\nimport About from '@/components/About.vue'\nimport Dashboard from '@/components/Dashboard.vue'\nimport Login from '@/components/Login.vue'\n\nconst router = createRouter({\n  history: createWebHistory(__dirname),\n  routes: [\n    { path: '/', name: 'Home', component: About },\n    { path: '/about', name: 'About', component: About },\n    { path: '/dashboard', name: 'Dashboard', component: Dashboard, meta: { requiresAuth: true } },\n    { path: '/login', component: Login }\n  ]\n})\n\nrouter.beforeEach(navigationGuard)\n\nexport default router;\n```\n\nExample:\n```bash\nnpm run serve\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":259,"estimatedTokens":1488}}333{"id":"doc-register_a_client_app-ef033437","source":"documentation","title":"Register a client app","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/client/createclient","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/clients \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"client_name\": \"Example OAuth 2.0 client\",\n    \"client_uri\": \"https://www.example.com\",\n    \"logo_uri\": \"https://www.example.com/logo.png\",\n    \"application_type\": \"web\",\n    \"redirect_uris\": [\n      \"https://www.example.com/oauth2/redirectUri\"\n    ],\n    \"post_logout_redirect_uris\": [\n      \"https://www.example.com/oauth2/postLogoutRedirectUri\"\n    ],\n    \"response_types\": [\n      \"code\",\n      \"id_token\"\n    ],\n    \"grant_types\": [\n      \"authorization_code\",\n      \"refresh_token\",\n      \"implicit\"\n    ],\n    \"token_endpoint_auth_method\": \"client_secret_post\",\n    \"initiate_login_uri\": \"https://www.example.com/oauth2/login\"\n  }'\n```\n\nExample:\n```text\n{\n  \"client_id\": \"0jrabyQWm4B9zVJPbotY\",\n  \"client_secret\": \"5W7XULCEs4BJKnWUXwh8lgmeXRhcGcdViFp84pWe\",\n  \"client_id_issued_at\": 1453913425,\n  \"client_secret_expires_at\": 0,\n  \"client_name\": \"Example OAuth 2.0 client\",\n  \"client_uri\": \"https://www.example.com\",\n  \"logo_uri\": \"https://www.example.com/logo.png\",\n  \"application_type\": \"web\",\n  \"redirect_uris\": [\n    \"https://www.example.com/oauth2/redirectUri\"\n  ],\n  \"post_logout_redirect_uris\": [\n    \"https://www.example.com/oauth2/postLogoutRedirectUri\"\n  ],\n  \"response_types\": [\n    \"id_token\",\n    \"code\"\n  ],\n  \"grant_types\": [\n    \"authorization_code\"\n  ],\n  \"token_endpoint_auth_method\": \"client_secret_post\",\n  \"initiate_login_uri\": \"https://www.example.com/oauth2/login\",\n  \"frontchannel_logout_uri\": \"https://example.com/logout\",\n  \"frontchannel_logout_session_required\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":62,"estimatedTokens":415}}334{"id":"doc-introspect-34103576","source":"documentation","title":"/introspect","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/introspectcustomas","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/introspect' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d token=string \\\n  -d token_type_hint=access_token\n```\n\nExample:\n```text\n{\n  \"active\": true,\n  \"token_type\": \"Bearer\",\n  \"scope\": \"openid profile\",\n  \"client_id\": \"a9VpZDRCeFh3Nkk2VdYa\",\n  \"username\": \"john.doe@example.com\",\n  \"exp\": 1451606400,\n  \"iat\": 1451602800,\n  \"sub\": \"john.doe@example.com\",\n  \"aud\": \"https://{yourOktaDomain}\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/orsmsg0aWLdnF3spV0g3\",\n  \"jti\": \"AT.7P4KlczBYVcWLkxduEuKeZfeiNYkZIC9uGJ28Cc-YaI\",\n  \"uid\": \"00uid4BxXw6I6TV4m0g3\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":172}}335{"id":"doc-bc_authorize-49fe4896","source":"documentation","title":"/bc/authorize","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/bcauthorizecustomas","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/bc/authorize' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d client_id=0jrabyQWm4B9zVJPbotY \\\n  -d client_secret=6W7XvLCrs4ByKn7Ucwh8ygeeXRhdGFdVOTp75eOc \\\n  -d scope=openid \\\n  -d 'binding_message=Signing in from device' \\\n  -d login_hint=john.doe@example.com\n```\n\nExample:\n```text\n{\n  \"auth_req_id\": \"ftJwF5ZwW2SGPPoTQEKtAr_U8_Ek3RvWyR\",\n  \"expires_in\": 300,\n  \"interval\": 5\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":128}}336{"id":"doc-oob_authenticate-dcd04af4","source":"documentation","title":"/oob-authenticate","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/oob-authenticate-custom-as","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/oob-authenticate' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d login_hint=testuser@example.com \\\n  -d channel_hint=push \\\n  -d challenge_hint=urn:okta:params:oauth:grant-type:oob\n```\n\nExample:\n```text\n{\n  \"oob_code\": \"ftOpMH6ohWMGWoH1vgrX-lNX6tnXE6JNd9\",\n  \"channel\": \"push\",\n  \"binding_method\": \"none\",\n  \"expires_in\": 300,\n  \"interval\": 5\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":120}}337{"id":"doc-userinfo-7ebe1404","source":"documentation","title":"/userinfo","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/userinfocustomas","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/userinfo'\n```\n\nExample:\n```text\n{\n  \"sub\": \"00uid4BxXw6I6TV4m0g3\",\n  \"name\": \"John Doe\",\n  \"nickname\": \"Jimmy\",\n  \"given_name\": \"John\",\n  \"middle_name\": \"James\",\n  \"family_name\": \"Doe\",\n  \"profile\": \"https://example.com/john.doe\",\n  \"zoneinfo\": \"America/Los_Angeles\",\n  \"locale\": \"en-US\",\n  \"updated_at\": 1311280970,\n  \"email\": \"john.doe@example.com\",\n  \"email_verified\": true,\n  \"address\": {\n    \"street_address\": \"123 Hollywood Blvd.\",\n    \"locality\": \"Los Angeles\",\n    \"region\": \"CA\",\n    \"postal_code\": \"90210\",\n    \"country\": \"US\"\n  },\n  \"phone_number\": \"+1 (425) 555-1212\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":175}}338{"id":"doc-retrieve_the_openid_connect_metadata-a515f851","source":"documentation","title":"Retrieve the OpenID Connect metadata","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/getwellknownopenidconfigurationcustomas","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/.well-known/openid-configuration?client_id=string'\n```\n\nExample:\n```text\n{\n  \"issuer\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7\",\n  \"authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/authorize\",\n  \"token_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/token\",\n  \"userinfo_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/userinfo\",\n  \"registration_endpoint\": \"https://{yourOktaDomain}/oauth2/v1/clients\",\n  \"jwks_uri\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/keys\",\n  \"response_types_supported\": [\n    \"code\",\n    \"id_token\",\n    \"code id_token\",\n    \"code token\",\n    \"id_token token\",\n    \"code id_token token\"\n  ],\n  \"response_modes_supported\": [\n    \"query\",\n    \"fragment\",\n    \"form_post\",\n    \"okta_post_message\"\n  ],\n  \"grant_types_supported\": [\n    \"authorization_code\",\n    \"implicit\",\n    \"refresh_token\",\n    \"password\",\n    \"urn:ietf:params:oauth:grant-type:device_code\"\n  ],\n  \"subject_types_supported\": [\n    \"public\"\n  ],\n  \"id_token_signing_alg_values_supported\": [\n    \"RS256\"\n  ],\n  \"id_token_encryption_alg_values_supported\": [\n    \"RSA-OAEP-256\",\n    \"RSA-OAEP-384\",\n    \"RSA-OAEP-512\"\n  ],\n  \"id_token_encryption_enc_values_supported\": [\n    \"A256GCM\"\n  ],\n  \"scopes_supported\": [\n    \"okta.myAccount.email.manage\",\n    \"okta.myAccount.email.read\",\n    \"okta.myAccount.manage\",\n    \"okta.myAccount.phone.manage\",\n    \"okta.myAccount.phone.read\",\n    \"okta.myAccount.profile.manage\",\n    \"okta.myAccount.profile.read\",\n    \"okta.myAccount.read\",\n    \"openid\",\n    \"profile\",\n    \"email\",\n    \"address\",\n    \"phone\",\n    \"offline_access\",\n    \"device_sso\"\n  ],\n  \"token_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"claims_supported\": [\n    \"iss\",\n    \"ver\",\n    \"sub\",\n    \"aud\",\n    \"iat\",\n    \"exp\",\n    \"jti\",\n    \"auth_time\",\n    \"amr\",\n    \"idp\",\n    \"nonce\",\n    \"name\",\n    \"nickname\",\n    \"preferred_username\",\n    \"given_name\",\n    \"middle_name\",\n    \"family_name\",\n    \"email\",\n    \"email_verified\",\n    \"profile\",\n    \"zoneinfo\",\n    \"locale\",\n    \"address\",\n    \"phone_number\",\n    \"picture\",\n    \"website\",\n    \"gender\",\n    \"birthdate\",\n    \"updated_at\",\n    \"at_hash\",\n    \"c_hash\"\n  ],\n  \"code_challenge_methods_supported\": [\n    \"S256\"\n  ],\n  \"introspection_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/introspect\",\n  \"introspection_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"revocation_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/revoke\",\n  \"revocation_endpoint_auth_methods_supported\": [\n    \"client_secret_basic\",\n    \"client_secret_post\",\n    \"client_secret_jwt\",\n    \"private_key_jwt\",\n    \"none\"\n  ],\n  \"end_session_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/logout\",\n  \"request_parameter_supported\": true,\n  \"request_object_signing_alg_values_supported\": [\n    \"HS256\",\n    \"HS384\",\n    \"HS512\",\n    \"RS256\",\n    \"RS384\",\n    \"RS512\",\n    \"ES256\",\n    \"ES384\",\n    \"ES512\"\n  ],\n  \"device_authorization_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/device/authorize\",\n  \"pushed_authorization_request_endpoint\": \"https://{yourOktaDomain}/oauth2/aus59pz16qgMvHvBS0g7/v1/par\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":145,"estimatedTokens":888}}339{"id":"doc-challenge-4b363acb","source":"documentation","title":"/challenge","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/challenge-custom-as","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/challenge' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d mfa_token=Qwk9va6QYgR3s7JMiWUm \\\n  -d channel_hint=push \\\n  -d challenge_types_supported=http://auth0.com/oauth/grant-type/mfa-oob\n```\n\nExample:\n```text\n{\n  \"challenge_type\": \"http://auth0.com/oauth/grant-type/mfa-otp\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":103}}340{"id":"doc-revoke-b02b4c6f","source":"documentation","title":"/revoke","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/revokecustomas","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/revoke' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'token=<access_token_value>' \\\n  -d token_type_hint=access_token\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":72}}341{"id":"doc-keys-0118c409","source":"documentation","title":"/keys","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/oauthkeyscustomas","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/keys'\n```\n\nExample:\n```text\n{\n  \"keys\": [\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":49}}342{"id":"doc-retrieve_the_sign_out_page_settings-071f264f","source":"documentation","title":"Retrieve the sign-out page settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/getsignoutpagesettings","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-out/customized'\n```\n\nExample:\n```text\n{\n  \"type\": \"EXTERNALLY_HOSTED\",\n  \"url\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":52}}343{"id":"doc-list_all_sign_in_widget_versions-3d6bb6c2","source":"documentation","title":"List all Sign-In Widget versions","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/listallsigninwidgetversions","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in/widget-versions'\n```\n\nExample:\n```text\n[\n  \"string\"\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":44}}344{"id":"doc-delete_the_favicon-e77cbe15","source":"documentation","title":"Delete the favicon","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/themes/other/deletebrandthemefavicon","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}/favicon'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}345{"id":"doc-retrieve_the_preview_sign_in_page_preview-5b4c0081","source":"documentation","title":"Retrieve the preview sign-in page preview","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/getpreviewsigninpage","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in/preview'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  },\n  \"widgetCustomizations\": {\n    \"signInLabel\": \"string\",\n    \"usernameLabel\": \"string\",\n    \"usernameInfoTip\": \"string\",\n    \"passwordLabel\": \"string\",\n    \"passwordInfoTip\": \"string\",\n    \"showPasswordVisibilityToggle\": true,\n    \"showUserIdentifier\": true,\n    \"forgotPasswordLabel\": \"string\",\n    \"forgotPasswordUrl\": \"string\",\n    \"unlockAccountLabel\": \"string\",\n    \"unlockAccountUrl\": \"string\",\n    \"helpLabel\": \"string\",\n    \"helpUrl\": \"string\",\n    \"customLink1Label\": \"string\",\n    \"customLink1Url\": \"string\",\n    \"customLink2Label\": \"string\",\n    \"customLink2Url\": \"string\",\n    \"authenticatorPageCustomLinkLabel\": \"string\",\n    \"authenticatorPageCustomLinkUrl\": \"string\",\n    \"classicRecoveryFlowEmailOrUsernameLabel\": \"string\",\n    \"widgetGeneration\": \"G2\",\n    \"postAuthKeepMeSignedInPrompt\": { … },\n    \"classicFooterHelpTitle\": \"string\",\n    \"gracePeriodRequiredSoon\": { … }\n  },\n  \"widgetVersion\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":46,"estimatedTokens":305}}346{"id":"doc-upload_the_logo-ba39f667","source":"documentation","title":"Upload the logo","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/themes/other/uploadbrandthemelogo","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}/logo' \\\n  -H 'Content-Type: multipart/form-data' \\\n  -F file=string\n```\n\nExample:\n```text\n{\n  \"url\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":59}}347{"id":"doc-upload_the_background_image-d64fbcad","source":"documentation","title":"Upload the background image","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/themes/other/uploadbrandthemebackgroundimage","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}/background-image' \\\n  -H 'Content-Type: multipart/form-data' \\\n  -F file=string\n```\n\nExample:\n```text\n{\n  \"url\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":62}}348{"id":"doc-replace_the_sign_out_page_settings-e5f780fd","source":"documentation","title":"Replace the sign-out page settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/replacesignoutpagesettings","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-out/customized' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"EXTERNALLY_HOSTED\",\n    \"url\": \"string\"\n  }'\n```\n\nExample:\n```text\n{\n  \"type\": \"EXTERNALLY_HOSTED\",\n  \"url\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":79}}349{"id":"doc-upload_the_favicon-f26ebe66","source":"documentation","title":"Upload the favicon","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/themes/other/uploadbrandthemefavicon","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}/favicon' \\\n  -H 'Content-Type: multipart/form-data' \\\n  -F file=string\n```\n\nExample:\n```text\n{\n  \"url\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":60}}350{"id":"doc-list_all_themes-19d0fa6a","source":"documentation","title":"List all themes","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/themes/other/listbrandthemes","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"thdul904tTZ6kWVhP0g3\",\n    \"logo\": \"https://{yourOktaDomain}/assets/img/logos/okta-logo.47066819ac7db5c13f4c431b2687cef6.png\",\n    \"favicon\": \"https://{yourOktaDomain}/favicon.ico\",\n    \"backgroundImage\": null,\n    \"primaryColorHex\": \"#1662dd\",\n    \"primaryColorContrastHex\": \"#000000\",\n    \"secondaryColorHex\": \"#ebebed\",\n    \"secondaryColorContrastHex\": \"#000000\",\n    \"signInPageTouchPointVariant\": \"OKTA_DEFAULT\",\n    \"endUserDashboardTouchPointVariant\": \"OKTA_DEFAULT\",\n    \"errorPageTouchPointVariant\": \"OKTA_DEFAULT\",\n    \"emailTemplateTouchPointVariant\": \"OKTA_DEFAULT\",\n    \"loadingPageTouchPointVariant\": \"OKTA_DEFAULT\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":197}}351{"id":"doc-well_known_apple_app_site_association-40f449b4","source":"documentation","title":"/.well-known/apple-app-site-association","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/paths/~1.well-known~1apple-app-site-association/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/.well-known/apple-app-site-association\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":33}}352{"id":"doc-retrieve_the_customized_apple_app_site_associati-492e6e67","source":"documentation","title":"Retrieve the customized apple-app-site-association URI content","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/other/getappleappsiteassociationwellknownuri","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/.well-known/apple-app-site-association\n```\n\nExample:\n```text\n{\n  \"authsrv\": {\n    \"apps\": [ … ],\n    \"key1\": \"value1\",\n    \"key2\": \"value2\",\n    \"key3\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":62}}353{"id":"doc-delete_the_logo-eb8389ca","source":"documentation","title":"Delete the logo","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/themes/other/deletebrandthemelogo","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}/logo'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}354{"id":"doc-retrieve_a_theme-adc65327","source":"documentation","title":"Retrieve a theme","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/themes/other/getbrandtheme","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"thdul904tTZ6kWVhP0g3\",\n  \"logo\": \"https://{yourOktaDomain}/assets/img/logos/okta-logo.47066819ac7db5c13f4c431b2687cef6.png\",\n  \"favicon\": \"https://{yourOktaDomain}/favicon.ico\",\n  \"backgroundImage\": null,\n  \"primaryColorHex\": \"#1662dd\",\n  \"primaryColorContrastHex\": \"#000000\",\n  \"secondaryColorHex\": \"#ebebed\",\n  \"secondaryColorContrastHex\": \"#000000\",\n  \"signInPageTouchPointVariant\": \"OKTA_DEFAULT\",\n  \"endUserDashboardTouchPointVariant\": \"OKTA_DEFAULT\",\n  \"errorPageTouchPointVariant\": \"OKTA_DEFAULT\",\n  \"emailTemplateTouchPointVariant\": \"OKTA_DEFAULT\",\n  \"loadingPageTouchPointVariant\": \"OKTA_DEFAULT\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":191}}355{"id":"doc-well_known_assetlinks_json-9f6df0d0","source":"documentation","title":"/.well-known/assetlinks.json","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/paths/~1.well-known~1assetlinks.json/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/.well-known/assetlinks.json\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":31}}356{"id":"doc-well_known_webauthn-2da3f76a","source":"documentation","title":"/.well-known/webauthn","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/paths/~1.well-known~1webauthn/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/.well-known/webauthn\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":29}}357{"id":"doc-update_a_custom_telephony_provider_credential-8d28bcc2","source":"documentation","title":"Update a custom telephony provider credential","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtelephonyprovider/other/updatecustomtelephonyprovidercredential","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/api/v1/telephony-providers/{customTelephonyProviderId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"oct3v00k4iOFlEJmQ806\",\n    \"providerAuthToken\": \"11a9b6c435967abe806f4f0d6ec0f382\",\n    \"providerSid\": \"ACb49fb19a09b2f5d2f121fe1c207689dt\",\n    \"providerSettings\": {\n      \"sms\": {\n        \"twilioPhoneNumber\": \"+1234567890\"\n      },\n      \"call\": {\n        \"twilioVerifySid\": \"updated-verify-sid\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"oct3v00k4iOFlEJmQ806\",\n  \"isPrimaryProvider\": true,\n  \"enabled\": true,\n  \"providerCapability\": \"ALL\",\n  \"providerName\": \"TWILIO\",\n  \"providerSid\": \"11a9b6c435967abe806f4f0d6ec0f382\",\n  \"providerSettings\": {\n    \"sms\": { … },\n    \"call\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":200}}358{"id":"doc-retrieve_the_customized_content_of_the_specified-09136b86","source":"documentation","title":"Retrieve the customized content of the specified well-known URI","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/other/getbrandwellknownuri","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/well-known-uris/{path}/customized'\n```\n\nExample:\n```text\n{\n  \"representation\": {\n    \"key1\": \"value1\",\n    \"key2\": \"value2\",\n    \"key3\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":73}}359{"id":"doc-create_a_custom_telephony_provider-721f302b","source":"documentation","title":"Create a custom telephony provider","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtelephonyprovider/other/createcustomtelephonyprovidercredentials","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/telephony-providers \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"providerAuthToken\": \"11a9b6c435967abe806f4f0d6ec0f382\",\n    \"providerCapability\": \"ALL\",\n    \"providerName\": \"TWILIO\",\n    \"providerSid\": \"ACb49fb19a09b2f5d2f121fe1c207689dt\",\n    \"providerSettings\": {\n      \"sms\": {\n        \"twilioPhoneNumber\": \"+1234567890\"\n      },\n      \"call\": {\n        \"twilioVerifySid\": \"example-verify-sid\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"oct3v00k4iOFlEJmQ806\",\n  \"isPrimaryProvider\": true,\n  \"enabled\": true,\n  \"providerCapability\": \"ALL\",\n  \"providerName\": \"TWILIO\",\n  \"providerSid\": \"ACb49fb19a09b2f5d2f121fe1c207689dt\",\n  \"providerSettings\": {\n    \"sms\": { … },\n    \"call\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":200}}360{"id":"doc-retrieve_all_the_well_known_uris-d977150b","source":"documentation","title":"Retrieve all the well-known URIs","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/other/getallwellknownuris","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/well-known-uris?expand=all'\n```\n\nExample:\n```text\n{\n  \"_links\": {\n    \"self\": { … },\n    \"apple-app-site-association\": { … },\n    \"assetlinks.json\": { … },\n    \"webauthn\": { … }\n  },\n  \"_embedded\": {\n    \"apple-app-site-association\": { … },\n    \"assetlinks.json\": { … },\n    \"webauthn\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":101}}361{"id":"doc-deactivate_a_custom_telephony_provider-0af76d57","source":"documentation","title":"Deactivate a custom telephony provider","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtelephonyprovider/other/deactivatecustomtelephonycredential","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/telephony-providers/{customTelephonyProviderId}/lifecycle/deactivate'\n```\n\nExample:\n```text\n{\n  \"id\": \"oct3v00k4iOFlEJmQ806\",\n  \"isPrimaryProvider\": false,\n  \"enabled\": false,\n  \"providerCapability\": \"ALL\",\n  \"providerName\": \"TWILIO\",\n  \"providerSid\": \"ACb49fb19a09b2f5d2f121fe1c207689dt\",\n  \"providerSettings\": {\n    \"sms\": { … },\n    \"call\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":112}}362{"id":"doc-activate_a_custom_telephony_provider-9733a246","source":"documentation","title":"Activate a custom telephony provider","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtelephonyprovider/other/activatecustomtelephonycredential","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/telephony-providers/{customTelephonyProviderId}/lifecycle/activate'\n```\n\nExample:\n```text\n{\n  \"id\": \"oct3v00k4iOFlEJmQ806\",\n  \"isPrimaryProvider\": true,\n  \"enabled\": true,\n  \"providerCapability\": \"ALL\",\n  \"providerName\": \"TWILIO\",\n  \"providerSid\": \"ACb49fb19a09b2f5d2f121fe1c207689dt\",\n  \"providerSettings\": {\n    \"sms\": { … },\n    \"call\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":111}}363{"id":"doc-replace_the_customized_well_known_uri_of_the_spe-aa599040","source":"documentation","title":"Replace the customized well-known URI of the specific path","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/other/replacebrandwellknownuri","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/well-known-uris/{path}/customized' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"representation\": {\n      \"key1\": \"value1\",\n      \"key2\": \"value2\",\n      \"key3\": {\n        \"key3.1\": \"value3.1\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"representation\": {\n    \"key1\": \"value1\",\n    \"key2\": \"value2\",\n    \"key3\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":120}}364{"id":"doc-retrieve_a_custom_telephony_provider-94838307","source":"documentation","title":"Retrieve a custom telephony provider","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtelephonyprovider/other/getcustomtelephonyprovidercredential","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/telephony-providers/{customTelephonyProviderId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"oct3v00k4iOFlEJmQ806\",\n  \"isPrimaryProvider\": true,\n  \"enabled\": true,\n  \"providerCapability\": \"ALL\",\n  \"providerName\": \"TWILIO\",\n  \"providerSid\": \"ACb49fb19a09b2f5d2f121fe1c207689dt\",\n  \"providerSettings\": {\n    \"sms\": { … },\n    \"call\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":106}}365{"id":"doc-custom_email_providers_with_oauth_2_0_okta_devel-a7ca3ada","source":"documentation","title":"Custom email providers with OAuth 2.0 | Okta Developer","url":"https://developer.okta.com/docs/guides/custom-smtp/main/","text":"Example:\n```powershell\nInstall-Module -Name ExchangeOnlineManagement\n```\n\nExample:\n```powershell\nConnect-ExchangeOnline\n```\n\nExample:\n```powershell\n# $ClientID = \"{YourClientID}\"\n # $EnterpriseObjectID = \"{YourEnterpriseObjectID}\"\n # $SenderEmail = \"sender@example.com\"\n\n # Register the app in Exchange Online\n New-ServicePrincipal -AppId $ClientID -ServiceId $EnterpriseObjectID -DisplayName \"{App-Name}\"\n\n # Grant permissions\n Add-MailboxPermission -Identity $SenderEmail -User $EnterpriseObjectID -AccessRights FullAccess\n```\n\nExample:\n```json\n{\n  \"type\": \"service_account\",\n  \"project_id\": \"{ProjectName}\",\n  \"private_key_id\": \"XXXXXXXXXXXXXXXXX\",\n  \"private_key\": \"-----BEGIN PRIVATE KEY-----\\\\nXXXXXXXXXXX==\\n-----END PRIVATE KEY-----\\n\",\n  \"client_email\": \"{username}@{project_id}.iam.gserviceaccount.com\",\n  \"client_id\": \"{ClientId}\",\n  \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n  \"token_uri\": \"https://oauth2.googleapis.com/token\",\n  \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n  \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/{username}@{project_id}.iam.gserviceaccount.com\",\n  \"universe_domain\": \"googleapis.com\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":41,"estimatedTokens":305}}366{"id":"doc-list_all_devices-6ec119ef","source":"documentation","title":"List all devices","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/listdevices","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/devices?after=200u3des4afA47rYJu1d7&limit=20&search=status%20eq%20%22ACTIVE%22&expand=user&fields=id%2Cstatus'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"guo4a5u7YAHhjXrMK0g4\",\n    \"status\": \"CREATED\",\n    \"created\": \"2019-10-02T18:03:07.000Z\",\n    \"lastUpdated\": \"2019-10-02T18:03:07.000Z\",\n    \"profile\": { … },\n    \"resourceType\": \"UDDevice\",\n    \"resourceDisplayName\": { … },\n    \"resourceAlternateId\": null,\n    \"resourceId\": \"guo4a5u7YAHhjXrMK0g4\",\n    \"_links\": { … },\n    \"_embedded\": { … }\n  },\n  {\n    \"id\": \"guo4a5u7YAHhjXrMK0g5\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2023-06-21T23:24:02.000Z\",\n    \"lastUpdated\": \"2023-06-21T23:24:02.000Z\",\n    \"profile\": { … },\n    \"resourceType\": \"UDDevice\",\n    \"resourceDisplayName\": { … },\n    \"resourceAlternateId\": null,\n    \"resourceId\": \"guo4a5u7YAHhjXrMK0g5\",\n    \"_links\": { … },\n    \"_embedded\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":39,"estimatedTokens":239}}367{"id":"doc-retrieve_an_smtp_server_configuration-b6ce6954","source":"documentation","title":"Retrieve an SMTP server configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emailserver/other/getemailserver","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/email-servers/{emailServerId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"ces7n3u7sSohfoaou0g1\",\n  \"alias\": \"CustomServer1\",\n  \"enabled\": true,\n  \"authType\": \"BASIC_SMTP_AUTH\",\n  \"host\": \"smtp.example.com\",\n  \"port\": 587,\n  \"username\": \"user@example.com\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":84}}368{"id":"doc-list_all_enrolled_smtp_servers-19e1880f","source":"documentation","title":"List all enrolled SMTP servers","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emailserver/other/listemailservers","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/email-servers\n```\n\nExample:\n```text\n{\n  \"email-servers\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.893Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":41}}369{"id":"doc-send_a_test_message_from_a_custom_telephony_prov-d99b729b","source":"documentation","title":"Send a test message from a custom telephony provider","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtelephonyprovider/other/sendtestcustomtelephonyprovidercredential","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/telephony-providers/{customTelephonyProviderId}/test' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"factor\": \"SMS\",\n    \"phoneNumber\": \"+1234567890\",\n    \"countryCodeIso2\": \"US\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.893Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":79}}370{"id":"doc-test_an_smtp_server_configuration-6138beef","source":"documentation","title":"Test an SMTP server configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emailserver/other/testemailserver","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/email-servers/{emailServerId}/test' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"fromAddress\": \"sender@host.com\",\n    \"toAddress\": \"receiver@host.com\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":72}}371{"id":"doc-list_all_realms-a4a1ad14","source":"documentation","title":"List all realms","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realm/other/listrealms","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/realms?limit=200&after=string&search=string&sortBy=profile.name&sortOrder=asc&fields=id%2Cprofile%3A(name)'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"guox9jQ16k9V8IFEL0g3\",\n    \"created\": \"2022-04-04T15:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T18:15:44.000Z\",\n    \"isDefault\": false,\n    \"profile\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":105}}372{"id":"doc-delete_an_smtp_server_configuration-91370c4d","source":"documentation","title":"Delete an SMTP server configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emailserver/other/deleteemailserver","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/email-servers/{emailServerId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}373{"id":"doc-set_a_custom_telephony_provider_as_a_primary_tel-3e3a1f90","source":"documentation","title":"Set a custom telephony provider as a primary telephony provider","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customtelephonyprovider/other/setasprimarycustomtelephonycredential","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/telephony-providers/{customTelephonyProviderId}/setAsPrimary'\n```\n\nExample:\n```text\n{\n  \"id\": \"oct3v00k4iOFlEJmQ806\",\n  \"isPrimaryProvider\": true,\n  \"enabled\": true,\n  \"providerCapability\": \"ALL\",\n  \"providerName\": \"TWILIO\",\n  \"providerSid\": \"ACb49fb19a09b2f5d2f121fe1c207689dt\",\n  \"providerSettings\": {\n    \"sms\": { … },\n    \"call\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":109}}374{"id":"doc-update_an_smtp_server_configuration-27b8ea96","source":"documentation","title":"Update an SMTP server configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emailserver/other/updateemailserver","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/api/v1/email-servers/{emailServerId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"alias\": \"CustomServer1 New Alias\",\n    \"password\": \"New password\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ces7n3u7sSohfoaou0g1\",\n  \"alias\": \"CustomServer1 New Alias\",\n  \"enabled\": true,\n  \"authType\": \"BASIC_SMTP_AUTH\",\n  \"host\": \"smtp.example.com\",\n  \"port\": 587,\n  \"username\": \"user@example.com\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":119}}375{"id":"doc-okta_and_scim_version_1_1-d97ebb53","source":"documentation","title":"Okta and SCIM Version 1.1","url":"https://developer.okta.com/docs/api/openapi/okta-scim/guides/scim-11","text":"Example:\n```text\nGET /scim/v1/Users?startIndex=1&count=2 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v1/Groups?startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v1/Users?filter=userName%20eq%20%22test.user%40okta.local%22&startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 06:39:03 GMT\nContent-Type: application/json\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"totalResults\": 0,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 0,\n    \"Resources\": []\n}\n```\n\nExample:\n```text\nPUT /scim/v1/Users/e155dc98-aeee-4f58-b683-12b93dbc86b3 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"e155dc98-aeee-4f58-b683-12b93dbc86b3\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": []\n}\n```\n\nExample:\n```text\nPOST /scim/v1/Users HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en_US\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"groups\": [],\n    \"password\": \"1mz050nq\",\n    \"active\": true\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Fri, 18 Oct 2019 06:39:04 GMT\nContent-Type: application/json\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"e155dc98-aeee-4f58-b683-12b93dbc86b3\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:39:04+00:00\",\n        \"lastModified\": \"2019-10-18T06:39:04+00:00\",\n        \"version\": \"fe2a80129b16ff934d485c3c9c45892f\"\n    }\n}\n```\n\nExample:\n```text\nPOST /scim/v1/Users HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"groups\": [],\n    \"password\": \"1mz050nq\",\n    \"active\": true\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Tue, 10 Sep 2019 02:02:58 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"externalId\": \"00ujl29u0le5T6Aj10h7\",\n    \"active\": true,\n    \"userType\": \"Contractor\"\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 409 Conflict\nDate: Fri, 18 Oct 2019 06:50:25 GMT\nContent-Type: application/json\n\n{\n    \"Errors\": [{\n        \"description\": \"User already exists in the database.\",\n        \"code\": 409\n    }]\n}\n```\n\nExample:\n```text\nGET /scim/v1/Users?startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v1/Users/48e0a2da-0999-4f2c-87f4-80432cfe6617 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 06:54:35 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T06:50:23+00:00\",\n        \"version\": \"6d8ef4c9b0ae96fae6623e549f820a60\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 06:56:38 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test user\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T06:56:20+00:00\",\n        \"version\": \"a7fc04c68e3f5551e29a448031d45425\"\n    }\n}\n```\n\nExample:\n```text\nPUT /scim/v1/Users/48e0a2da-0999-4f2c-87f4-80432cfe6617 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test1\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test1 User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T06:56:20+00:00\",\n        \"version\": \"a7fc04c68e3f5551e29a448031d45425\"\n    },\n    \"groups\": []\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 06:56:39 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test1\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test1 User\",\n    \"locale\": \"en_US\",\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T06:56:39+00:00\",\n        \"version\": \"7c9d14512d03434910940e5574f6f8f0\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v1/Users/48e0a2da-0999-4f2c-87f4-80432cfe6617 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"active\": false\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 07:00:47 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n    \"userName\": \"test.user@okta.local\",\n    \"externalId\": \"00b443dd40SOK2eup0h7\",\n    \"name\": {\n        \"givenName\": \"Test1\",\n        \"familyName\": \"User\"\n    },\n    \"displayName\": \"Test1 User\",\n    \"locale\": \"en_US\",\n    \"active\": false,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T06:50:23+00:00\",\n        \"lastModified\": \"2019-10-18T07:00:47+00:00\",\n        \"version\": \"6feac5cd8e2e3a617037e2543e3e83d0\"\n    }\n}\n```\n\nExample:\n```text\nPOST /scim/v1/Groups HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"displayName\": \"Test SCIMv1\"\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Fri, 18 Oct 2019 07:02:44 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv1\",\n    \"members\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T07:02:44+00:00\",\n        \"lastModified\": \"2019-10-18T07:02:44+00:00\",\n        \"version\": \"12ba4e7e158aa0b78d78c7e9ae15d917\"\n    }\n}\n```\n\nExample:\n```text\n{\n\"schemas\": [\"urn:scim:schemas:core:1.0\", \"urn:okta:custom:group:1.0\"],\n    \"displayName\": \"Group 10\",\n    \"urn:okta:custom:group:1.0\": {\n        \"description\": \"All Users West of the Rockies\"\n    }\n}\n```\n\nExample:\n```text\nGET /scim/v1/Groups?filter=displayName%20eq%20%22Test%20SCIMv1%22&startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Wed, 15 May 2024 10:02:45 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\n        \"urn:scim:schemas:core:1.0\"\n    ],\n    \"totalResults\": 1,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 1,\n    \"Resources\": [\n        {\n        \"id\": \"e7d09e9b3faa4888b65cf9e9316cba1c\",\n        \"meta\": {\n            \"created\": \"2024-05-15T09:21:23\",\n            \"lastModified\": \"2024-05-15T09:21:23\",\n            \"version\": \"v1.0\"\n        },\n        \"displayName\": \"Test SCIMv1\"\n       },\n    ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Wed, 15 May 2024 11:02:14 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"totalResults\": 0,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 0,\n    \"Resources\": []\n}\n```\n\nExample:\n```text\nGET /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 07:08:51 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv1\",\n    \"members\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T07:02:44+00:00\",\n        \"lastModified\": \"2019-10-18T07:02:44+00:00\",\n        \"version\": \"12ba4e7e158aa0b78d78c7e9ae15d917\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv11\"\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 07:11:00 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv11\",\n    \"members\": [],\n    \"meta\": {\n        \"created\": \"2019-10-18T07:02:44+00:00\",\n        \"lastModified\": \"2019-10-18T07:11:00+00:00\",\n        \"version\": \"3a0c8354ccfcaab56019859469078a0b\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"members\": [{\n        \"value\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n        \"display\": \"test.user@okta.local\"\n    }]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Fri, 18 Oct 2019 07:11:01 GMT\nContent-Type: text/json;charset=UTF-8\n\n{\n    \"schemas\": [\"urn:scim:schemas:core:1.0\"],\n    \"id\": \"74094a55-c9ee-47ae-9fd4-9137deb43497\",\n    \"displayName\": \"Test SCIMv11\",\n    \"members\": [{\n        \"value\": \"48e0a2da-0999-4f2c-87f4-80432cfe6617\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"meta\": {\n        \"created\": \"2019-10-18T07:02:44+00:00\",\n        \"lastModified\": \"2019-10-18T07:11:01+00:00\",\n        \"version\": \"cca3a6ab18596cc450377eddcc4b5a58\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\n        \"urn:scim:schemas:core:1.0\"\n    ],\n    \"members\": [\n        {\n            \"value\": \"b4327d81-fc79-47ad-a7ff-182d9e103291\",\n            \"display\": \"test.user2@okta.local\",\n            \"operation\": \"delete\"\n        }\n    ]\n}\n```\n\nExample:\n```text\nDELETE /scim/v1/Groups/74094a55-c9ee-47ae-9fd4-9137deb43497 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 204 No Content\nDate: Fri, 18 Oct 2019 07:16:10 GMT\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.895Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":600,"estimatedTokens":3341}}376{"id":"doc-create_a_custom_smtp_server-d73aa62d","source":"documentation","title":"Create a custom SMTP server","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emailserver/other/createemailserver","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/email-servers \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"alias\": \"CustomServer1\",\n    \"enabled\": true,\n    \"authType\": \"BASIC_SMTP_AUTH\",\n    \"host\": \"smtp.example.com\",\n    \"port\": 587,\n    \"username\": \"user@example.com\",\n    \"password\": \"securepassword\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ces7n3u7sSohfoaou0g1\",\n  \"alias\": \"CustomServer1\",\n  \"enabled\": true,\n  \"authType\": \"BASIC_SMTP_AUTH\",\n  \"host\": \"smtp.example.com\",\n  \"port\": 587,\n  \"username\": \"user@example.com\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":145}}377{"id":"doc-primary_authenticate-14039a6e","source":"documentation","title":"/primary-authenticate","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/primary-authenticate-custom-as","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/primary-authenticate' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d login_hint=testuser@example.com \\\n  -d channel_hint=push \\\n  -d challenge_hint=urn:okta:params:oauth:grant-type:oob\n```\n\nExample:\n```text\n{\n  \"oob_code\": \"ftOpMH6ohWMGWoH1vgrX-lNX6tnXE6JNd9\",\n  \"channel\": \"push\",\n  \"binding_method\": \"none\",\n  \"expires_in\": 300,\n  \"interval\": 5\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":121}}378{"id":"doc-par-c4a3a399","source":"documentation","title":"/par","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/parcustomas","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/par' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"client_id\": \"string\",\n    \"code_challenge\": \"string\",\n    \"code_challenge_method\": \"string\",\n    \"display\": \"string\",\n    \"idp\": \"string\",\n    \"idp_scope\": \"string\",\n    \"login_hint\": \"string\",\n    \"max_age\": 0,\n    \"nonce\": \"string\",\n    \"prompt\": \"string\",\n    \"redirect_uri\": \"string\",\n    \"request\": \"string\",\n    \"response_mode\": \"string\",\n    \"response_type\": \"string\",\n    \"scope\": \"string\",\n    \"sessionToken\": \"string\",\n    \"state\": \"string\"\n  }'\n```\n\nExample:\n```text\n{\n  \"request_uri\": \"urn:okta:Y1hIQ3ZqYjFodEZMOVJ3TUF4ZHRPZjJuNFZRV2ZWQ044MmFoX2VIT2oyNDo\",\n  \"expires_in\": 3600\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":192}}379{"id":"doc-okta_and_scim_version_2_0-f92d40ce","source":"documentation","title":"Okta and SCIM Version 2.0","url":"https://developer.okta.com/docs/api/openapi/okta-scim/guides/scim-20","text":"Example:\n```text\nGET /scim/v2/Users?startIndex=1&count=2 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v2/Groups?startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v2/Users?filter=userName%20eq%20%22test.user%40okta.local%22&startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 01:49:39 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:ListResponse\"],\n    \"totalResults\": 0,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 0,\n    \"Resources\": []\n}\n```\n\nExample:\n```text\nHTTP/1.1 404 Not Found\nDate: Tue, 10 Sep 2019 01:58:03 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:Error\"],\n    \"detail\": \"User not found\",\n    \"status\": \"404\"\n}\n```\n\nExample:\n```text\nPOST /scim/v2/Users HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"externalId\": \"00ujl29u0le5T6Aj10h7\",\n    \"groups\": [],\n    \"password\": \"1mz050nq\",\n    \"active\": true\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Tue, 10 Sep 2019 02:02:58 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"externalId\": \"00ujl29u0le5T6Aj10h7\",\n    \"active\": true,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nPOST /scim/v2/Users HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"groups\": [],\n    \"password\": \"1mz050nq\",\n    \"active\": true\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Tue, 10 Sep 2019 02:02:58 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\"\n    }],\n    \"displayName\": \"Test User\",\n    \"locale\": \"en-US\",\n    \"externalId\": \"00ujl29u0le5T6Aj10h7\",\n    \"active\": true,\n    \"userType\": \"Contractor\"\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 409 Conflict\nDate: Tue, 10 Sep 2019 02:22:30 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:Error\"],\n    \"detail\": \"User already exists in the database.\",\n    \"status\": \"409\"\n}\n```\n\nExample:\n```text\nGET /scim/v2/Users?startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nGET /scim/v2/Users/23a35c27-23d3-4c03-b4c5-6443c09e7173 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 03:46:53 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Test\",\n        \"middleName\": \"\",\n        \"familyName\": \"User\"\n    },\n    \"active\": true,\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 03:46:53 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Another\",\n        \"middleName\": \"\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"active\": true,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nPUT /scim/v2/Users/23a35c27-23d3-4c03-b4c5-6443c09e7173 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Another\",\n        \"middleName\": \"Excited\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"active\": true,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 03:48:10 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Another\",\n        \"middleName\": \"Excited\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"active\": true,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v2/Users/23a35c27-23d3-4c03-b4c5-6443c09e7173 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],\n    \"Operations\": [{\n        \"op\": \"replace\",\n        \"value\": {\n            \"active\": false\n        }\n    }]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 03:50:23 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n    \"userName\": \"test.user@okta.local\",\n    \"name\": {\n        \"givenName\": \"Another\",\n        \"middleName\": \"\",\n        \"familyName\": \"User\"\n    },\n    \"emails\": [{\n        \"primary\": true,\n        \"value\": \"test.user@okta.local\",\n        \"type\": \"work\",\n        \"display\": \"test.user@okta.local\"\n    }],\n    \"active\": false,\n    \"groups\": [],\n    \"meta\": {\n        \"resourceType\": \"User\"\n    }\n}\n```\n\nExample:\n```text\nPOST /scim/v2/Groups HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"displayName\": \"Test SCIMv2\",\n    \"members\": []\n}\n```\n\nExample:\n```text\nHTTP/1.1 201 Created\nDate: Tue, 10 Sep 2019 04:54:18 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n    \"displayName\": \"Test SCIMv2\",\n    \"members\": [],\n    \"meta\": {\n        \"resourceType\": \"Group\"\n    }\n}\n```\n\nExample:\n```text\nGET /scim/v2/Groups?filter=displayName%20eq%20%22Test%20SCIMv2%22&startIndex=1&count=100 HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Wed, 15 May 2024 10:02:45 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\n        \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n    ],\n    \"totalResults\": 1,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 1,\n    \"Resources\": [\n        {\n        \"id\": \"e7d09e9b3faa4888b65cf9e9316cba1c\",\n        \"meta\": {\n            \"created\": \"2024-05-15T09:21:23\",\n            \"lastModified\": \"2024-05-15T09:21:23\",\n            \"version\": \"v1.0\"\n        },\n        \"displayName\": \"Test SCIMv1\"\n       },\n    ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Wed, 15 May 2024 11:02:14 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:ListResponse\"],\n    \"totalResults\": 0,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 0,\n    \"Resources\": []\n}\n```\n\nExample:\n```text\nGET /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 05:06:25 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n    \"displayName\": \"Test SCIMv2\",\n    \"members\":  [{\n        \"value\": \"b1c794f24f4c49f4b5d503a4cb2686ea\",\n        \"display\": \"SCIM 2 Group A\"\n    }],\n    \"meta\": {\n        \"resourceType\": \"Group\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],\n    \"Operations\": [{\n        \"op\": \"replace\",\n        \"value\": {\n            \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n            \"displayName\": \"Test SCIMv2\"\n        }\n    }]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 05:08:48 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n    \"displayName\": \"Test SCIMv20\",\n    \"members\": null,\n    \"meta\": {\n        \"resourceType\": \"Group\"\n    }\n}\n```\n\nExample:\n```text\nPUT /scim/v2/Groups/U0FP0NMEE HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n{\n        \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n        \"id\":\"e9e30dba-f08f-4109-8486-d5c6a331660a\",\n        \"displayName\": \"Tour Guides\",\n        \"members\": [\n        {\n        \"value\": \"some-member-1\",\n        \"display\": \"Babs Jensen\"\n        },\n        {\n        \"value\": \"some-member-2\",\n        \"display\": \"Mandy Pepperidge\"\n        }\n        ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\":\"e9e30dba-f08f-4109-8486-d5c6a331660a\",\n    \"displayName\": \"Tour Guides\",\n    \"members\": [\n        {\n            \"value\": \"some-member-1\",\n            \"display\": \"Babs Jensen\"\n        },\n        {\n            \"value\": \"some-member-2\",\n            \"display\": \"Mandy Pepperidge\"\n        }\n    ],\n    \"meta\": {\n        \"resourceType\": \"Group\",\n        \"created\": \"01-23-2017 00:00:00\",\n        \"lastModified\": \"01-23-2017 00:00:00\",\n        \"version\": \"v1.0\"\n        }\n}\n```\n\nExample:\n```text\nPATCH /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],\n    \"Operations\": [{\n        \"op\": \"remove\",\n        \"path\": \"members[value eq \\\"89bb1940-b905-4575-9e7f-6f887cfb368e\\\"]\"\n        },\n        {\n        \"op\": \"add\",\n        \"path\": \"members\",\n        \"value\": [{\n            \"value\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n            \"display\": \"test.user@okta.local\"\n        }]\n    }]\n}\n```\n\nExample:\n```text\nPUT /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"displayName\": \"Test SCIMv2\",\n    \"members\": [\n            {\n            \"value\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n            \"display\": \"test.user@okta.local\"\n            }\n    ]\n}\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\nDate: Tue, 10 Sep 2019 05:06:25 GMT\nContent-Type: application/scim+json; charset=UTF-8\n\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:Group\"],\n    \"id\": \"abf4dd94-a4c0-4f67-89c9-76b03340cb9b\",\n    \"displayName\": \"Test SCIMv20\",\n    \"members\": [\n        {\n            \"value\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n            \"display\": \"test.user@okta.local\"\n        }\n     ],\n    \"meta\": {\n        \"resourceType\": \"Group\"\n    }\n}\n```\n\nExample:\n```text\nPATCH /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n\n{\n  \"schemas\": [\n    \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n  ],\n  \"Operations\": [\n    {\n      \"op\": \"replace\",\n      \"path\": \"members\",\n      \"value\": [\n        {\n          \"value\": \"23a35c27-23d3-4c03-b4c5-6443c09e7173\",\n          \"display\": \"test.user@okta.local\"\n        },\n        {\n          \"value\": \"89bb1940-b905-4575-9e7f-6f887cfb368e\",\n          \"display\": \"test.user@okta.local\"\n        }\n      ]\n    }\n  ]\n}\n```\n\nExample:\n```text\nDELETE /scim/v2/Groups/abf4dd94-a4c0-4f67-89c9-76b03340cb9b HTTP/1.1\nUser-Agent: Okta SCIM Client 1.0.0\nAuthorization: <Authorization credentials>\n```\n\nExample:\n```text\nHTTP/1.1 204 No Content\nDate: Tue, 10 Sep 2019 05:29:25 GMT\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.897Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":35,"totalLines":649,"estimatedTokens":3566}}380{"id":"doc-replace_the_preview_error_page-ca615acf","source":"documentation","title":"Replace the preview error page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/replacepreviewerrorpage","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/preview' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"pageContent\": \"string\",\n    \"contentSecurityPolicySetting\": {\n      \"mode\": \"enforced\",\n      \"reportUri\": \"string\",\n      \"srcList\": [\n        \"string\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.897Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":130}}381{"id":"doc-customize_associated_domains_okta_developer-25604204","source":"documentation","title":"Customize associated domains | Okta Developer","url":"https://developer.okta.com/docs/guides/custom-well-known-uri/main/","text":"Example:\n```json\n{\n    \"representation\": {\n      \"key1\": \"value1\",\n      \"key2\": \"value2\",\n      \"key3\": {\n        \"key3.1\": \"value3.1\"\n      }\n    }\n  }\n```\n\nExample:\n```json\n{\n  \"representation\": [\n    {\n      \"key1\": \"value1\",\n      \"key2\": \"value2\",\n      \"key3\": {\n        \"key3.1\": \"value3.1\"\n      }\n    }\n  ]\n}\n```\n\nExample:\n```json\n{\n    \"representation\": {\n      \"origins\": [\n        \"https://www.example.com\",\n        \"https://store.example.com\"\n      ]\n    }\n  }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":41,"estimatedTokens":123}}382{"id":"doc-replace_the_customized_sign_in_page-fdbadeaa","source":"documentation","title":"Replace the customized sign-in page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/replacecustomizedsigninpage","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in/customized' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"pageContent\": \"string\",\n    \"contentSecurityPolicySetting\": {\n      \"mode\": \"enforced\",\n      \"reportUri\": \"string\",\n      \"srcList\": [\n        \"string\"\n      ]\n    },\n    \"widgetCustomizations\": {\n      \"signInLabel\": \"string\",\n      \"usernameLabel\": \"string\",\n      \"usernameInfoTip\": \"string\",\n      \"passwordLabel\": \"string\",\n      \"passwordInfoTip\": \"string\",\n      \"showPasswordVisibilityToggle\": true,\n      \"showUserIdentifier\": true,\n      \"forgotPasswordLabel\": \"string\",\n      \"forgotPasswordUrl\": \"string\",\n      \"unlockAccountLabel\": \"string\",\n      \"unlockAccountUrl\": \"string\",\n      \"helpLabel\": \"string\",\n      \"helpUrl\": \"string\",\n      \"customLink1Label\": \"string\",\n      \"customLink1Url\": \"string\",\n      \"customLink2Label\": \"string\",\n      \"customLink2Url\": \"string\",\n      \"authenticatorPageCustomLinkLabel\": \"string\",\n      \"authenticatorPageCustomLinkUrl\": \"string\",\n      \"classicRecoveryFlowEmailOrUsernameLabel\": \"string\",\n      \"widgetGeneration\": \"G2\",\n      \"postAuthKeepMeSignedInPrompt\": {\n        \"acceptButtonText\": \"string\",\n        \"rejectButtonText\": \"string\",\n        \"subtitle\": \"string\",\n        \"title\": \"string\"\n      },\n      \"classicFooterHelpTitle\": \"string\",\n      \"gracePeriodRequiredSoon\": {\n        \"gracePeriodRequiredSoonCustomLinkLabel\": \"string\",\n        \"gracePeriodRequiredSoonCustomLinkUrl\": \"string\",\n        \"gracePeriodRequiredSoonDescription\": \"string\"\n      }\n    },\n    \"widgetVersion\": \"string\"\n  }'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  },\n  \"widgetCustomizations\": {\n    \"signInLabel\": \"string\",\n    \"usernameLabel\": \"string\",\n    \"usernameInfoTip\": \"string\",\n    \"passwordLabel\": \"string\",\n    \"passwordInfoTip\": \"string\",\n    \"showPasswordVisibilityToggle\": true,\n    \"showUserIdentifier\": true,\n    \"forgotPasswordLabel\": \"string\",\n    \"forgotPasswordUrl\": \"string\",\n    \"unlockAccountLabel\": \"string\",\n    \"unlockAccountUrl\": \"string\",\n    \"helpLabel\": \"string\",\n    \"helpUrl\": \"string\",\n    \"customLink1Label\": \"string\",\n    \"customLink1Url\": \"string\",\n    \"customLink2Label\": \"string\",\n    \"customLink2Url\": \"string\",\n    \"authenticatorPageCustomLinkLabel\": \"string\",\n    \"authenticatorPageCustomLinkUrl\": \"string\",\n    \"classicRecoveryFlowEmailOrUsernameLabel\": \"string\",\n    \"widgetGeneration\": \"G2\",\n    \"postAuthKeepMeSignedInPrompt\": { … },\n    \"classicFooterHelpTitle\": \"string\",\n    \"gracePeriodRequiredSoon\": { … }\n  },\n  \"widgetVersion\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":93,"estimatedTokens":685}}383{"id":"doc-replace_the_preview_sign_in_page-1541ac62","source":"documentation","title":"Replace the preview sign-in page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/replacepreviewsigninpage","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in/preview' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"pageContent\": \"string\",\n    \"contentSecurityPolicySetting\": {\n      \"mode\": \"enforced\",\n      \"reportUri\": \"string\",\n      \"srcList\": [\n        \"string\"\n      ]\n    },\n    \"widgetCustomizations\": {\n      \"signInLabel\": \"string\",\n      \"usernameLabel\": \"string\",\n      \"usernameInfoTip\": \"string\",\n      \"passwordLabel\": \"string\",\n      \"passwordInfoTip\": \"string\",\n      \"showPasswordVisibilityToggle\": true,\n      \"showUserIdentifier\": true,\n      \"forgotPasswordLabel\": \"string\",\n      \"forgotPasswordUrl\": \"string\",\n      \"unlockAccountLabel\": \"string\",\n      \"unlockAccountUrl\": \"string\",\n      \"helpLabel\": \"string\",\n      \"helpUrl\": \"string\",\n      \"customLink1Label\": \"string\",\n      \"customLink1Url\": \"string\",\n      \"customLink2Label\": \"string\",\n      \"customLink2Url\": \"string\",\n      \"authenticatorPageCustomLinkLabel\": \"string\",\n      \"authenticatorPageCustomLinkUrl\": \"string\",\n      \"classicRecoveryFlowEmailOrUsernameLabel\": \"string\",\n      \"widgetGeneration\": \"G2\",\n      \"postAuthKeepMeSignedInPrompt\": {\n        \"acceptButtonText\": \"string\",\n        \"rejectButtonText\": \"string\",\n        \"subtitle\": \"string\",\n        \"title\": \"string\"\n      },\n      \"classicFooterHelpTitle\": \"string\",\n      \"gracePeriodRequiredSoon\": {\n        \"gracePeriodRequiredSoonCustomLinkLabel\": \"string\",\n        \"gracePeriodRequiredSoonCustomLinkUrl\": \"string\",\n        \"gracePeriodRequiredSoonDescription\": \"string\"\n      }\n    },\n    \"widgetVersion\": \"string\"\n  }'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  },\n  \"widgetCustomizations\": {\n    \"signInLabel\": \"string\",\n    \"usernameLabel\": \"string\",\n    \"usernameInfoTip\": \"string\",\n    \"passwordLabel\": \"string\",\n    \"passwordInfoTip\": \"string\",\n    \"showPasswordVisibilityToggle\": true,\n    \"showUserIdentifier\": true,\n    \"forgotPasswordLabel\": \"string\",\n    \"forgotPasswordUrl\": \"string\",\n    \"unlockAccountLabel\": \"string\",\n    \"unlockAccountUrl\": \"string\",\n    \"helpLabel\": \"string\",\n    \"helpUrl\": \"string\",\n    \"customLink1Label\": \"string\",\n    \"customLink1Url\": \"string\",\n    \"customLink2Label\": \"string\",\n    \"customLink2Url\": \"string\",\n    \"authenticatorPageCustomLinkLabel\": \"string\",\n    \"authenticatorPageCustomLinkUrl\": \"string\",\n    \"classicRecoveryFlowEmailOrUsernameLabel\": \"string\",\n    \"widgetGeneration\": \"G2\",\n    \"postAuthKeepMeSignedInPrompt\": { … },\n    \"classicFooterHelpTitle\": \"string\",\n    \"gracePeriodRequiredSoon\": { … }\n  },\n  \"widgetVersion\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":93,"estimatedTokens":684}}384{"id":"doc-retrieve_the_customized_webauthn_uri_content-65f0a89b","source":"documentation","title":"Retrieve the customized webauthn URI content","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/other/getwebauthnwellknownuri","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/.well-known/webauthn\n```\n\nExample:\n```text\n{\n  \"origins\": [\n    \"https://example1.com\"\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":44}}385{"id":"doc-replace_a_theme-46dcc894","source":"documentation","title":"Replace a theme","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/themes/other/replacebrandtheme","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"primaryColorHex\": \"#1662dd\",\n    \"primaryColorContrastHex\": \"#000000\",\n    \"secondaryColorHex\": \"#ebebed\",\n    \"secondaryColorContrastHex\": \"#000000\",\n    \"signInPageTouchPointVariant\": \"OKTA_DEFAULT\",\n    \"endUserDashboardTouchPointVariant\": \"OKTA_DEFAULT\",\n    \"errorPageTouchPointVariant\": \"OKTA_DEFAULT\",\n    \"emailTemplateTouchPointVariant\": \"OKTA_DEFAULT\",\n    \"loadingPageTouchPointVariant\": \"OKTA_DEFAULT\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"thdul904tTZ6kWVhP0g3\",\n  \"logo\": \"https://{yourOktaDomain}/assets/img/logos/okta-logo.47066819ac7db5c13f4c431b2687cef6.png\",\n  \"favicon\": \"https://{yourOktaDomain}/favicon.ico\",\n  \"backgroundImage\": null,\n  \"primaryColorHex\": \"#1662dd\",\n  \"primaryColorContrastHex\": \"#000000\",\n  \"secondaryColorHex\": \"#ebebed\",\n  \"secondaryColorContrastHex\": \"#000000\",\n  \"signInPageTouchPointVariant\": \"OKTA_DEFAULT\",\n  \"endUserDashboardTouchPointVariant\": \"OKTA_DEFAULT\",\n  \"errorPageTouchPointVariant\": \"OKTA_DEFAULT\",\n  \"emailTemplateTouchPointVariant\": \"OKTA_DEFAULT\",\n  \"loadingPageTouchPointVariant\": \"OKTA_DEFAULT\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.899Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":310}}386{"id":"doc-retrieve_the_customized_assetlinks_json_uri_cont-ef3c9e95","source":"documentation","title":"Retrieve the customized assetlinks.json URI content","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/other/getassetlinkswellknownuri","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/.well-known/assetlinks.json\n```\n\nExample:\n```text\n[\n  {\n    \"key1\": \"value1\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.899Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":41}}387{"id":"doc-build_universal_logout_for_your_app_okta_develop-1a41611d","source":"documentation","title":"Build Universal Logout for your app | Okta Developer","url":"https://developer.okta.com/docs/guides/oin-universal-logout-overview","text":"Example:\n```bash\nAuthorization: Bearer {JWT}\n```\n\nExample:\n```json\n// Header\n{\n  \"typ\": \"global-token-revocation+jwt\",\n  \"alg\": \"{algorithm used for signing SSO token}\"\n}\n// Payload\n{\n  \"jti\": \"{unique identifier}\",\n  \"iss\": \"{orgDomainBaseUrl/customDomainBaseUrl}\",\n  \"sub\": \"{client_id of OIDC app/appInstanceId of SAML 2.0 app}\",\n  \"aud\": \"{revocation endpoint URL}\",\n  \"exp\": \"{5 min into future}\",\n  \"nbf\": \"{5 min ago}\",\n  \"iat\": \"{current timestamp}\"\n}\n```\n\nExample:\n```json\n{\n  \"sub_id\": {\n    \"format\": \"email\",\n    \"email\": \"user@example.com\"\n  }\n}\n```\n\nExample:\n```json\n{\n  \"sub_id\": {\n    \"format\": \"iss_sub\",\n    \"iss\": \"https://issuer.example.com/\",\n    \"sub\": \"145234573\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.899Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":46,"estimatedTokens":178}}388{"id":"doc-retrieve_the_well_known_uri_of_a_specific_brand-8afd090b","source":"documentation","title":"Retrieve the well-known URI of a specific brand","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/associateddomaincustomizations/other/getrootbrandwellknownuri","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/well-known-uris/{path}?expand=customized'\n```\n\nExample:\n```text\n{\n  \"_links\": {\n    \"self\": { … },\n    \"customized\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.899Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":59}}389{"id":"doc-delete_an_idp-1463effc","source":"documentation","title":"Delete an IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovider/other/deleteidentityprovider","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.899Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}390{"id":"doc-deactivate_an_idp-76bd8f5c","source":"documentation","title":"Deactivate an IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovider/other/deactivateidentityprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa62bfdiumsUndnZ0h7\",\n  \"type\": \"GOOGLE\",\n  \"name\": \"Google\",\n  \"status\": \"INACTIVE\",\n  \"created\": \"2016-03-24T23:21:49.000Z\",\n  \"lastUpdated\": \"2016-03-25T19:16:53.000Z\",\n  \"protocol\": {\n    \"type\": \"OIDC\",\n    \"endpoints\": { … },\n    \"scopes\": [ … ],\n    \"credentials\": { … }\n  },\n  \"policy\": {\n    \"provisioning\": { … },\n    \"accountLink\": { … },\n    \"subject\": { … },\n    \"mapAMRClaims\": false,\n    \"trustClaims\": false,\n    \"maxClockSkew\": 0\n  },\n  \"_links\": {\n    \"authorize\": { … },\n    \"clientRedirectUri\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.900Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":174}}391{"id":"doc-activate_an_idp-7323d427","source":"documentation","title":"Activate an IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovider/other/activateidentityprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa62bfdiumsUndnZ0h7\",\n  \"type\": \"GOOGLE\",\n  \"name\": \"Google\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2016-03-24T23:21:49.000Z\",\n  \"lastUpdated\": \"2016-03-25T19:14:23.000Z\",\n  \"protocol\": {\n    \"type\": \"OIDC\",\n    \"endpoints\": { … },\n    \"scopes\": [ … ],\n    \"credentials\": { … }\n  },\n  \"policy\": {\n    \"provisioning\": { … },\n    \"accountLink\": { … },\n    \"subject\": { … },\n    \"mapAMRClaims\": false,\n    \"trustClaims\": false,\n    \"maxClockSkew\": 0\n  },\n  \"_links\": {\n    \"authorize\": { … },\n    \"clientRedirectUri\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.900Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":173}}392{"id":"doc-replace_an_idp-6f8d4163","source":"documentation","title":"Replace an IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovider/other/replaceidentityprovider","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"0oa62bc8wppPw0UGr0h7\",\n    \"type\": \"SAML2\",\n    \"name\": \"Example SAML IdP\",\n    \"status\": \"INACTIVE\",\n    \"created\": null,\n    \"lastUpdated\": \"2016-03-29T21:23:45.000Z\",\n    \"protocol\": {\n      \"type\": \"SAML2\",\n      \"endpoints\": {\n        \"sso\": {\n          \"url\": \"https://idp.example.com/saml2/sso\",\n          \"binding\": \"HTTP-REDIRECT\",\n          \"destination\": \"https://idp.example.com/saml2/sso\"\n        },\n        \"slo\": {\n          \"url\": \"https://idp.example.com/slo\",\n          \"binding\": \"HTTP-POST\"\n        },\n        \"acs\": {\n          \"binding\": \"HTTP-POST\",\n          \"type\": \"INSTANCE\"\n        }\n      },\n      \"algorithms\": {\n        \"request\": {\n          \"signature\": {\n            \"algorithm\": \"SHA-256\",\n            \"scope\": \"REQUEST\"\n          }\n        },\n        \"response\": {\n          \"signature\": {\n            \"algorithm\": \"SHA-256\",\n            \"scope\": \"ANY\"\n          }\n        }\n      },\n      \"settings\": {\n        \"nameFormat\": \"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified\",\n        \"participateSlo\": true\n      },\n      \"credentials\": {\n        \"trust\": {\n          \"issuer\": \"https://idp.example.com\",\n          \"audience\": \"https://www.okta.com/saml2/service-provider/spCQJRNaaxs7ANqKBO7M\",\n          \"kid\": \"your-key-id\",\n          \"additionalKids\": [\n            \"additional-key-id\"\n          ]\n        }\n      }\n    },\n    \"policy\": {\n      \"provisioning\": {\n        \"action\": \"AUTO\",\n        \"profileMaster\": true,\n        \"groups\": {\n          \"action\": \"NONE\"\n        },\n        \"conditions\": {\n          \"deprovisioned\": {\n            \"action\": \"NONE\"\n          },\n          \"suspended\": {\n            \"action\": \"NONE\"\n          }\n        }\n      },\n      \"accountLink\": {\n        \"filter\": null,\n        \"action\": \"AUTO\"\n      },\n      \"subject\": {\n        \"userNameTemplate\": {\n          \"template\": \"idpuser.subjectNameId\"\n        },\n        \"filter\": null,\n        \"matchType\": \"USERNAME\"\n      },\n      \"mapAMRClaims\": false,\n      \"trustClaims\": false,\n      \"maxClockSkew\": 120000\n    },\n    \"_links\": {\n      \"metadata\": {\n        \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oa62bc8wppPw0UGr0h7/metadata.xml\",\n        \"type\": \"application/xml\",\n        \"hints\": {\n          \"allow\": [\n            \"GET\"\n          ]\n        }\n      },\n      \"acs\": {\n        \"href\": \"https://{yourOktaDomain}/sso/saml2/0oa62bc8wppPw0UGr0h7\",\n        \"type\": \"application/xml\",\n        \"hints\": {\n          \"allow\": [\n            \"POST\"\n          ]\n        }\n      },\n      \"users\": {\n        \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oa62bc8wppPw0UGr0h7/users\",\n        \"hints\": {\n          \"allow\": [\n            \"GET\"\n          ]\n        }\n      },\n      \"activate\": {\n        \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oa62bc8wppPw0UGr0h7/lifecycle/activate\",\n        \"hints\": {\n          \"allow\": [\n            \"POST\"\n          ]\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa62bc8wppPw0UGr0h7\",\n  \"type\": \"SAML2\",\n  \"name\": \"Example SAML IdP\",\n  \"status\": \"INACTIVE\",\n  \"created\": null,\n  \"lastUpdated\": \"2016-03-29T21:23:45.000Z\",\n  \"protocol\": {\n    \"type\": \"SAML2\",\n    \"endpoints\": { … },\n    \"algorithms\": { … },\n    \"settings\": { … },\n    \"credentials\": { … }\n  },\n  \"policy\": {\n    \"provisioning\": { … },\n    \"accountLink\": { … },\n    \"subject\": { … },\n    \"mapAMRClaims\": false,\n    \"trustClaims\": false,\n    \"maxClockSkew\": 120000\n  },\n  \"_links\": {\n    \"metadata\": { … },\n    \"acs\": { … },\n    \"users\": { … },\n    \"activate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":162,"estimatedTokens":926}}393{"id":"doc-build_a_scim_2_0_server_with_entitlements_okta_d-ccabe268","source":"documentation","title":"Build a SCIM 2.0 server with entitlements | Okta Developer","url":"https://developer.okta.com/docs/guides/scim-with-entitlements/main/","text":"Example:\n```json\n{\n    \"schemas\": [\n      \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n    ],\n    \"totalResults\": 3,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 3,\n    \"Resources\": [\n        {\n            \"schemas\": [\n            \"urn:ietf:params:scim:schemas:core:2.0:ResourceType\"\n            ],\n            \"id\": \"Role\",\n            \"name\": \"Role\",\n            \"endpoint\": \"/Roles\",\n            \"description\": \"Role\",\n            \"schema\": \"urn:okta:scim:schemas:core:1.0:Role\",\n            \"meta\": {\n                \"location\": \"https://example.com/v2/ResourceTypes/Role\",\n                \"resourceType\": \"ResourceType\"\n            }\n        },\n\n        {\n            \"schemas\": [\n                \"urn:ietf:params:scim:schemas:core:2.0:ResourceType\"\n            ],\n            \"id\": \"Entitlement\",\n            \"name\": \"Entitlement\",\n            \"description\": \"Entitlement resource\",\n            \"endpoint\": \"/Entitlements\",\n            \"schema\": \"urn:okta:scim:schemas:core:1.0:Entitlement\",\n            \"meta\": {\n                \"location\": \"https://example.com/v2/ResourceTypes/Entitlement\",\n                \"resourceType\": \"ResourceType\"\n            }\n        },\n\n        {\n            \"schemas\": [\n                \"urn:ietf:params:scim:schemas:core:2.0:ResourceType\"\n            ],\n            \"id\": \"Profile\",\n            \"name\": \"Profile\",\n            \"endpoint\": \"/Profiles\",\n            \"description\": \"Profile\",\n            \"schema\": \"urn:okta:scim:schemas:core:1.0:Entitlement\",\n            \"schemaExtensions\": [\n                {\n                    \"schema\": \"urn:isvname:scim:schemas:extension:appname:1.0:Profile\",\n                    \"required\": true\n                }\n            ],\n            \"meta\": {\n                \"location\": \"https://example.com/v2/ResourceTypes/Profile\",\n                \"resourceType\": \"ResourceType\"\n            }\n        }\n    ]\n}\n```\n\nExample:\n```json\n{\n    \"schemas\": [\n      \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n    ],\n    \"totalResults\": 1,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 1,\n    \"Resources\": [\n        {\n            \"id\": \"urn:isvname:scim:schemas:extension:appname:1.0:Profile\",\n            \"name\": \"Profile\",\n            \"description\": \"An example of a Profile Entitlement schema extension\",\n            \"attributes\": [\n            {\n                \"name\": \"customProfileProperty\",\n                \"type\": \"string\",\n                \"multiValued\": false,\n                \"description\": \"A Profile Entitlement extension field\",\n                \"required\": false,\n                \"caseExact\": false,\n                \"mutability\": \"readWrite\",\n                \"returned\": \"default\",\n                \"uniqueness\": \"none\"\n            }\n            ],\n            \"meta\": {\n                \"resourceType\": \"Schema\",\n                \"location\": \"/v2/Schemas/urn:isvname:scim:schemas:extension:appname:1.0:Profile\"\n            }\n        }\n    ]\n}\n```\n\nExample:\n```json\n{\n    \"schemas\": [\n      \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n    ],\n    \"totalResults\": 2,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 2,\n    \"Resources\": [\n        {\n            \"schemas\": [\n                \"urn:okta:scim:schemas:core:1.0:Entitlement\",\n                \"urn:<isvname>:scim:schemas:extension:<appname>:1.0:Profile\"\n            ],\n            \"type\": \"Profile\",\n            \"id\": \"profile-123\",\n            \"displayName\": \"Profile 123\",\n            \"description\": \"Sample text description for Profile 123\",\n            \"urn:<isvname>:scim:schemas:extension:<appname>:1.0:Profile\": {\n                \"customProfileProperty\": \"test-value\"\n            }\n        },\n        {\n            \"schemas\": [\n                \"urn:okta:scim:schemas:core:1.0:Entitlement\",\n                \"urn:<isvname>:scim:schemas:extension:<appname>:1.0:Profile\"\n            ],\n            \"type\": \"Profile\",\n            \"id\": \"profile-321\",\n            \"displayName\": \"Profile 321\",\n            \"urn:<isvname>:scim:schemas:extension:<appname>:1.0:Profile\": {\n                \"customProfileProperty\": \"test-value\"\n            }\n        }\n    ]\n}\n```\n\nExample:\n```json\n{\n    \"schemas\": [\n      \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n    ],\n    \"totalResults\": 2,\n    \"startIndex\": 1,\n    \"itemsPerPage\": 2,\n    \"Resources\": [\n        {\n            \"schemas\": [\n                \"urn:okta:scim:schemas:core:1.0:Role\"\n            ],\n            \"id\": \"role-1\",\n            \"displayName\": \"First Role\",\n            \"description\": \"Sample text description of First Role\"\n        },\n        {\n            \"schemas\": [\n                \"urn:okta:scim:schemas:core:1.0:Role\"\n            ],\n            \"id\": \"role-2\",\n            \"displayName\": \"Second Role\",\n            \"description\": \"Sample text description of Second Role\"\n        }\n    ]\n}\n```\n\nExample:\n```json\n{\n  \"schemas\": [\n    \"urn:ietf:params:scim:schemas:core:2.0:User\",\n    \"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User\"\n  ],\n  \"id\": \"2819c223-7f76-453a-919d-413861904646\",\n  \"externalId\": 701984,\n  \"userName\": \"bjensen@example.com\",\n  \"name\": null,\n  \"formatted\": \"Ms. Barbara J Jensen, III\",\n  \"familyName\": \"Jensen\",\n  \"givenName\": \"Barbara\",\n  \"middleName\": \"Jane\",\n  \"honorificPrefix\": \"Ms.\",\n  \"honorificSuffix\": \"III\",\n  \"displayName\": \"Babs Jensen\",\n  \"nickName\": \"Babs\",\n  \"profileUrl\": \"https://login.example.com/bjensen\",\n  \"emails\": [\n    {\n      \"value\": \"bjensen@example.com\",\n      \"type\": \"work\",\n      \"primary\": true\n    },\n    {\n      \"value\": \"babs@jensen.org\",\n      \"type\": \"home\"\n    }\n  ],\n  \"addresses\": [\n    {\n      \"type\": \"work\",\n      \"streetAddress\": \"100 Universal City Plaza\",\n      \"locality\": \"Hollywood\",\n      \"region\": \"CA\",\n      \"postalCode\": 91608,\n      \"country\": \"USA\",\n      \"formatted\": \"100 Universal City Plaza\\nHollywood, CA 91608 USA\",\n      \"primary\": true\n    },\n    {\n      \"type\": \"home\",\n      \"streetAddress\": \"456 Hollywood Blvd\",\n      \"locality\": \"Hollywood\",\n      \"region\": \"CA\",\n      \"postalCode\": 91608,\n      \"country\": \"USA\",\n      \"formatted\": \"456 Hollywood Blvd\\nHollywood, CA 91608 USA\"\n    }\n  ],\n  \"phoneNumbers\": [\n    {\n      \"value\": \"555-555-5555\",\n      \"type\": \"work\"\n    },\n    {\n      \"value\": \"555-555-4444\",\n      \"type\": \"mobile\"\n    }\n  ],\n  \"ims\": [\n    {\n      \"value\": \"someaimhandle\",\n      \"type\": \"aim\"\n    }\n  ],\n  \"photos\": [\n    {\n      \"value\": \"https://photos.example.com/profilephoto/72930000000Ccne/F\",\n      \"type\": \"photo\"\n    },\n    {\n      \"value\": \"https://photos.example.com/profilephoto/72930000000Ccne/T\",\n      \"type\": \"thumbnail\"\n    }\n  ],\n  \"userType\": \"Employee\",\n  \"title\": \"Tour Guide\",\n  \"preferredLanguage\": \"en-US\",\n  \"locale\": \"en-US\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"active\": true,\n  \"password\": \"t1meMa$heen\",\n  \"groups\": [\n    {\n      \"value\": \"e9e30dba-f08f-4109-8486-d5c6a331660a\",\n      \"$ref\": \"https://example.com/v2/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a\",\n      \"display\": \"Tour Guides\"\n    },\n    {\n      \"value\": \"fc348aa8-3835-40eb-a20b-c726e15c55b5\",\n      \"$ref\": \"https://example.com/v2/Groups/fc348aa8-3835-40eb-a20b-c726e15c55b5\",\n      \"display\": \"Employees\"\n    },\n    {\n      \"value\": \"71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7\",\n      \"$ref\": \"https://example.com/v2/Groups/71ddacd2-a8e7-49b8-a5db-ae50d0a5bfd7\",\n      \"display\": \"US Employees\"\n    }\n  ],\n  \"entitlements\": [\n    {\n      \"value\": \"entitlement123\",\n      \"display\": \"First Entitlement\",\n      \"type\": \"License\"\n    },\n    {\n      \"value\": \"profile123\",\n      \"display\": \"First Profile\",\n      \"type\": \"Profile\"\n    }\n  ],\n  \"roles\": [\n    {\n      \"value\": \"role123\",\n      \"display\": \"First Role\"\n    }\n  ],\n  \"x509Certificates\": [\n    {\n      \"value\": \"certvalue\"\n    }\n  ],\n  \"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User\": {\n    \"employeeNumber\": 701984,\n    \"costCenter\": 4130,\n    \"organization\": \"Universal Studios\",\n    \"division\": \"Theme Park\",\n    \"department\": \"Tour Operations\",\n    \"manager\": {\n      \"value\": \"26118915-6090-4610-87e4-49d8ca9f808d\",\n      \"$ref\": \"../Users/26118915-6090-4610-87e4-49d8ca9f808d\",\n      \"displayName\": \"John Smith\"\n    }\n  },\n  \"meta\": {\n    \"resourceType\": \"User\",\n    \"created\": \"2010-01-23T04:56:22Z\",\n    \"lastModified\": \"2011-05-13T04:42:34Z\",\n    \"version\": \"W/\\\"a330bc54f0671c9\\\"\",\n    \"location\": \"https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":317,"estimatedTokens":2100}}394{"id":"doc-update_a_published_integration_with_the_oin_wiza-ce3507d8","source":"documentation","title":"Update a published integration with the OIN Wizard | Okta Developer","url":"https://developer.okta.com/docs/guides/update-oin-app/scim/main/","text":"Example:\n```js\n'https://fruits.example.com/scim2/myapp' + (String.len(app.companyId) == 0 ? '/' : '?connection=' + app.companyId)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.903Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":37}}395{"id":"doc-retrieve_an_idp-2acfa424","source":"documentation","title":"Retrieve an IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovider/other/getidentityprovider","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7\n```\n\nExample:\n```text\n{\n  \"id\": \"0oaulob4BFVa4zQvt0g3\",\n  \"type\": \"OIDC\",\n  \"name\": \"Example OpenID Connect IdP\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2019-02-07T20:07:47.000Z\",\n  \"lastUpdated\": \"2019-02-07T20:07:47.000Z\",\n  \"protocol\": {\n    \"type\": \"OIDC\",\n    \"endpoints\": { … },\n    \"algorithms\": { … },\n    \"scopes\": [ … ],\n    \"settings\": { … },\n    \"issuer\": { … },\n    \"credentials\": { … }\n  },\n  \"policy\": {\n    \"provisioning\": { … },\n    \"accountLink\": { … },\n    \"subject\": { … },\n    \"mapAMRClaims\": false,\n    \"trustClaims\": false,\n    \"maxClockSkew\": 0\n  },\n  \"_links\": {\n    \"authorize\": { … },\n    \"clientRedirectUri\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":40,"estimatedTokens":190}}396{"id":"doc-create_an_idp-28507589","source":"documentation","title":"Create an IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovider/other/createidentityprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/idps \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"OKTA_INTEGRATION\",\n    \"name\": \"Example Okta Integration IdP\",\n    \"protocol\": {\n      \"type\": \"SAML2\",\n      \"credentials\": {\n        \"client\": {\n          \"token_endpoint_auth_method\": \"private_key_jwt\",\n          \"client_id\": \"your-client-id\"\n        }\n      },\n      \"oktaIdpOrgUrl\": \"https://your-spoke-org.example.com\"\n    },\n    \"policy\": {\n      \"accountLink\": {\n        \"action\": \"AUTO\",\n        \"filter\": null\n      },\n      \"provisioning\": {\n        \"action\": \"AUTO\",\n        \"conditions\": {\n          \"deprovisioned\": {\n            \"action\": \"NONE\"\n          },\n          \"suspended\": {\n            \"action\": \"NONE\"\n          }\n        },\n        \"groups\": {\n          \"action\": \"NONE\"\n        }\n      },\n      \"maxClockSkew\": 120000,\n      \"subject\": {\n        \"userNameTemplate\": {\n          \"template\": \"idpuser.email\"\n        },\n        \"matchType\": \"USERNAME\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oaulob4BFVa4zQvt0g3\",\n  \"type\": \"OIDC\",\n  \"name\": \"Example OpenID Connect IdP\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2019-02-07T20:07:47.000Z\",\n  \"lastUpdated\": \"2019-02-07T20:07:47.000Z\",\n  \"protocol\": {\n    \"type\": \"OIDC\",\n    \"endpoints\": { … },\n    \"algorithms\": { … },\n    \"scopes\": [ … ],\n    \"settings\": { … },\n    \"issuer\": { … },\n    \"credentials\": { … }\n  },\n  \"policy\": {\n    \"provisioning\": { … },\n    \"accountLink\": { … },\n    \"subject\": { … },\n    \"mapAMRClaims\": false,\n    \"trustClaims\": false,\n    \"maxClockSkew\": 0\n  },\n  \"_links\": {\n    \"authorize\": { … },\n    \"clientRedirectUri\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":82,"estimatedTokens":425}}397{"id":"doc-list_all_api_token_metadata-ca23dea2","source":"documentation","title":"List all API token metadata","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apitoken/other/listapitokens","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/api-tokens\n```\n\nExample:\n```text\n[\n  {\n    \"name\": \"My API Token\",\n    \"userId\": \"00uabcdefg1234567890\",\n    \"tokenWindow\": \"P30D\",\n    \"network\": { … },\n    \"id\": \"00Tabcdefg1234567890\",\n    \"clientName\": \"Okta API\",\n    \"expiresAt\": \"2021-12-11T20:38:10.000Z\",\n    \"created\": \"2021-11-09T20:38:10.000Z\",\n    \"lastUpdated\": \"2021-11-11T20:38:10.000Z\",\n    \"_links\": { … }\n  },\n  {\n    \"name\": \"Another API Token\",\n    \"userId\": \"00uabcdefg1234567890\",\n    \"tokenWindow\": \"PT5M\",\n    \"id\": \"00T1234567890abcdefg\",\n    \"clientName\": \"Okta API\",\n    \"expiresAt\": \"2021-11-11T20:43:10.000Z\",\n    \"created\": \"2021-11-09T20:38:10.000Z\",\n    \"lastUpdated\": \"2021-11-11T20:38:10.000Z\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":198}}398{"id":"doc-revoke_the_current_api_token-c442ac3f","source":"documentation","title":"Revoke the current API token","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apitoken/other/revokecurrentapitoken","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/api-tokens/current\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":36}}399{"id":"doc-retrieve_an_api_token_s_metadata-6f8f1c3f","source":"documentation","title":"Retrieve an API token's metadata","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apitoken/other/getapitoken","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/api-tokens/00Tabcdefg1234567890\n```\n\nExample:\n```text\n{\n  \"name\": \"My API Token\",\n  \"userId\": \"00uXXXXXXXXXXXXXXXXX\",\n  \"tokenWindow\": \"P30D\",\n  \"network\": {\n    \"connection\": \"ANYWHERE\"\n  },\n  \"id\": \"00Tabcdefg1234567890\",\n  \"clientName\": \"Okta API\",\n  \"expiresAt\": \"2021-12-11T20:38:10.000Z\",\n  \"created\": \"2021-11-09T20:38:10.000Z\",\n  \"lastUpdated\": \"2021-11-11T20:38:10.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":132}}400{"id":"doc-retrieve_a_behavior_detection_rule-2af14652","source":"documentation","title":"Retrieve a behavior detection rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/behavior/other/getbehaviordetectionrule","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/behaviors/abcd1234\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"My Behavior Rule\",\n  \"type\": \"VELOCITY\",\n  \"settings\": {\n    \"velocityKph\": 805\n  },\n  \"status\": \"ACTIVE\",\n  \"created\": \"2021-11-09 20:38:10.0\",\n  \"lastUpdated\": \"2021-11-11 20:38:10.0\",\n  \"_link\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":97}}401{"id":"doc-delete_a_policy_branch-9e20a763","source":"documentation","title":"Delete a policy branch","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/deletepolicybranch","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}402{"id":"doc-delete_a_behavior_detection_rule-a1c76d55","source":"documentation","title":"Delete a behavior detection rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/behavior/other/deletebehaviordetectionrule","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/behaviors/abcd1234\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":36}}403{"id":"doc-retrieve_the_threatinsight_configuration-df38eabb","source":"documentation","title":"Retrieve the ThreatInsight configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/threatinsight/other/getcurrentconfiguration","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/threats/configuration\n```\n\nExample:\n```text\n{\n  \"action\": \"none\",\n  \"excludeZones\": [],\n  \"created\": \"2020-08-05T22:18:30.629Z\",\n  \"lastUpdated\": \"2020-08-05T22:18:30.629Z\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":75}}404{"id":"doc-list_the_policy_s_branch_history-401f48bf","source":"documentation","title":"List the policy's branch history","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/listpolicyhistory","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/history\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"rsb1d7xus97faIAgmti\",\n    \"policy\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"rsb2k8pqr14hbJCnzuj\",\n    \"policy\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":79}}405{"id":"doc-openid_connect_oauth_2_0-252d6329","source":"documentation","title":"OpenID Connect & OAuth 2.0","url":"https://developer.okta.com/docs/reference/api/oidc/","text":"Example:\n```text\n{\n  \"alg\": \"RS256\",\n  \"kid\": \"45js03w0djwedsw\"\n}\n```\n\nExample:\n```text\n{\n  \"ver\": 1,\n  \"jti\": \"AT.0mP4JKAZX1iACIT4vbEDF7LpvDVjxypPMf0D7uX39RE\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n  \"aud\": \"https://api.example.com\",\n  \"sub\": \"00ujmkLgagxeRrAg20g3\",\n  \"iat\": 1467145094,\n  \"exp\": 1467148694,\n  \"cid\": \"nmdP1fcyvdVO11AL7ECm\",\n  \"uid\": \"00ujmkLgagxeRrAg20g3\",\n  \"scp\": [\n    \"openid\",\n    \"email\",\n    \"flights\",\n    \"custom\"\n  ],\n  \"auth_time\": 1467142021,\n  \"custom_claim\": \"CustomValue\"\n}\n```\n\nExample:\n```text\n{\n  \"ver\": 1,\n  \"sub\": \"00uid4BxXw6I6TV4m0g3\",\n  \"iss\": \"https://{yourOktaDomain}\",\n  \"aud\": \"uAaunofWkaDJxukCFeBx\",\n  \"iat\": 1449624026,\n  \"exp\": 1449627626,\n  \"amr\": [\n    \"pwd\"\n  ],\n  \"jti\": \"ID.4eAWJOCMB3SX8XewDfVR\",\n  \"auth_time\": 1449624026,\n  \"at_hash\": \"cpqKfdQA5eH891Ff5oJr_Q\",\n  \"name\" :\"John Doe\",\n  \"nickname\":\"Jimmy\",\n  \"preferred_username\": \"john.doe@example.com\",\n  \"given_name\":\"John\",\n  \"middle_name\":\"James\",\n  \"family_name\":\"Doe\",\n  \"profile\":\"https://example.com/john.doe\",\n  \"zoneinfo\":\"America/Los_Angeles\",\n  \"locale\":\"en-US\",\n  \"updated_at\":1311280970,\n  \"email\":\"john.doe@example.com\",\n  \"email_verified\":true,\n  \"address\" : { \"street_address\": \"123 Hollywood Blvd.\",\n      \"locality\": \"Los Angeles\",\n      \"region\": \"CA\",\n      \"postal_code\": \"90210\",\n      \"country\": \"US\"\n    },\n  \"phone_number\":\"+1 (425) 555-1212\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.907Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":69,"estimatedTokens":356}}406{"id":"doc-replace_a_policy_branch_rule-6514366c","source":"documentation","title":"Replace a policy branch rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/replacepolicybranchrule","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules/ruld3hJ7jZh4fn0st0g3 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"ACCESS_POLICY\",\n    \"name\": \"Require MFA for high and medium risk sign-ins\",\n    \"conditions\": {\n      \"riskScore\": {\n        \"level\": \"MEDIUM\"\n      },\n      \"network\": {\n        \"connection\": \"ANYWHERE\"\n      }\n    },\n    \"actions\": {\n      \"appSignOn\": {\n        \"access\": \"ALLOW\",\n        \"verificationMethod\": {\n          \"type\": \"ASSURANCE\",\n          \"reauthenticateIn\": \"PT0S\",\n          \"constraints\": [\n            {\n              \"knowledge\": {\n                \"types\": [\n                  \"PASSWORD\"\n                ]\n              },\n              \"reauthenticateIn\": \"PT0S\"\n            },\n            {\n              \"possession\": {\n                \"userPresence\": \"REQUIRED\",\n                \"phishingResistant\": \"REQUIRED\"\n              }\n            }\n          ]\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rul5o1bcd47keNFq2xm\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Require MFA for high and medium risk sign-ins\",\n  \"priority\": 1,\n  \"created\": \"2026-04-02T11:00:00.000Z\",\n  \"lastUpdated\": \"2026-05-06T17:00:00.000Z\",\n  \"system\": false,\n  \"conditions\": {\n    \"riskScore\": { … },\n    \"network\": { … }\n  },\n  \"actions\": {\n    \"appSignOn\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  },\n  \"type\": \"ACCESS_POLICY\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":69,"estimatedTokens":370}}407{"id":"doc-list_all_rules_in_a_policy_history_entry-4aede761","source":"documentation","title":"List all rules in a policy history entry","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/listpolicyhistorybranchrules","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/history/rsb1d7xus97faIAgmti/rules\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"rul5o1bcd47keNFq2xm\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require MFA for high-risk sign-ins\",\n    \"priority\": 1,\n    \"created\": \"2026-04-02T11:00:00.000Z\",\n    \"lastUpdated\": \"2026-04-10T09:30:00.000Z\",\n    \"system\": false,\n    \"conditions\": { … },\n    \"actions\": { … },\n    \"_links\": { … },\n    \"type\": \"ACCESS_POLICY\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":130}}408{"id":"doc-retrieve_a_policy_history_entry-f4ae74f6","source":"documentation","title":"Retrieve a policy history entry","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/getpolicyhistoryentry","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/history/rsb1d7xus97faIAgmti\n```\n\nExample:\n```text\n{\n  \"id\": \"rsb1d7xus97faIAgmti\",\n  \"policy\": {\n    \"id\": \"rst1d7xus97faIAgmti0\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Production Branch\",\n    \"description\": \"Current live production configuration\",\n    \"priority\": 1,\n    \"system\": false,\n    \"type\": \"ACCESS_POLICY\",\n    \"conditions\": null,\n    \"created\": \"2026-01-15T08:30:00.000Z\",\n    \"lastUpdated\": \"2026-04-01T10:15:30.000Z\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"rules\": { … },\n    \"rollback\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":159}}409{"id":"doc-retrieve_a_policy_branch_rule-fefa7181","source":"documentation","title":"Retrieve a policy branch rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/getpolicybranchrule","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules/ruld3hJ7jZh4fn0st0g3\n```\n\nExample:\n```text\n{\n  \"id\": \"rul5o1bcd47keNFq2xm\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Require MFA for high-risk sign-ins\",\n  \"priority\": 1,\n  \"created\": \"2026-04-02T11:00:00.000Z\",\n  \"lastUpdated\": \"2026-04-10T09:30:00.000Z\",\n  \"system\": false,\n  \"conditions\": {\n    \"riskScore\": { … },\n    \"network\": { … }\n  },\n  \"actions\": {\n    \"appSignOn\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  },\n  \"type\": \"ACCESS_POLICY\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":149}}410{"id":"doc-deactivate_a_policy_branch_rule-a06ab346","source":"documentation","title":"Deactivate a policy branch rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/deactivatepolicybranchrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules/ruld3hJ7jZh4fn0st0g3/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":57}}411{"id":"doc-restore_a_policy_branch-d1a8f757","source":"documentation","title":"Restore a policy branch","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/restorefromhistory","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/history/rsb1d7xus97faIAgmti/lifecycle/rollback \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"comments\": \"Rolling back due to performance issues identified in production\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rst3m9wxy25icKDo0vk1\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"MFA Pilot Test\",\n  \"description\": \"Testing enhanced MFA requirements for pilot users\",\n  \"priority\": 1,\n  \"system\": false,\n  \"type\": \"ACCESS_POLICY\",\n  \"conditions\": null,\n  \"created\": \"2026-03-10T09:00:00.000Z\",\n  \"lastUpdated\": \"2026-05-06T15:30:00.000Z\",\n  \"branchInformation\": {\n    \"id\": \"rsb3m9wxy25icKDo0vk\",\n    \"status\": \"LIVE\",\n    \"comments\": \"Rolling back due to performance issues identified in production\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"rules\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":219}}412{"id":"doc-delete_a_policy_branch_rule-1849a30b","source":"documentation","title":"Delete a policy branch rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/deletepolicybranchrule","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules/ruld3hJ7jZh4fn0st0g3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.909Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":53}}413{"id":"doc-create_a_policy_branch_rule-ac45be90","source":"documentation","title":"Create a policy branch rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/createpolicybranchrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"ACCESS_POLICY\",\n    \"name\": \"Require step-up auth for sensitive resources\",\n    \"conditions\": {\n      \"app\": {\n        \"include\": [\n          {\n            \"type\": \"APP\",\n            \"id\": \"0oa8r4uvw59mgQIt5d7\"\n          }\n        ]\n      },\n      \"network\": {\n        \"connection\": \"ANYWHERE\"\n      }\n    },\n    \"actions\": {\n      \"appSignOn\": {\n        \"access\": \"ALLOW\",\n        \"verificationMethod\": {\n          \"type\": \"ASSURANCE\",\n          \"reauthenticateIn\": \"PT1H\",\n          \"constraints\": [\n            {\n              \"knowledge\": {\n                \"types\": [\n                  \"PASSWORD\"\n                ]\n              },\n              \"reauthenticateIn\": \"PT1H\"\n            },\n            {\n              \"possession\": {\n                \"userPresence\": \"REQUIRED\"\n              }\n            }\n          ]\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rul7s3efg69mgPIt6ao\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Require step-up auth for sensitive resources\",\n  \"priority\": 1,\n  \"created\": \"2026-05-06T16:30:00.000Z\",\n  \"lastUpdated\": \"2026-05-06T16:30:00.000Z\",\n  \"system\": false,\n  \"conditions\": {\n    \"app\": { … },\n    \"network\": { … }\n  },\n  \"actions\": {\n    \"appSignOn\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  },\n  \"type\": \"ACCESS_POLICY\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.909Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":73,"estimatedTokens":374}}414{"id":"doc-list_all_policy_branch_rules-c2ef564b","source":"documentation","title":"List all policy branch rules","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/listpolicybranchrules","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"rul5o1bcd47keNFq2xm\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require MFA for high-risk sign-ins\",\n    \"priority\": 1,\n    \"created\": \"2026-04-02T11:00:00.000Z\",\n    \"lastUpdated\": \"2026-04-10T09:30:00.000Z\",\n    \"system\": false,\n    \"conditions\": { … },\n    \"actions\": { … },\n    \"_links\": { … },\n    \"type\": \"ACCESS_POLICY\"\n  },\n  {\n    \"id\": \"rul6p2def58lfOGr3yn\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Default allow for trusted networks\",\n    \"priority\": 99,\n    \"created\": \"2026-04-01T10:15:30.000Z\",\n    \"lastUpdated\": \"2026-04-01T10:15:30.000Z\",\n    \"system\": false,\n    \"conditions\": { … },\n    \"actions\": { … },\n    \"_links\": { … },\n    \"type\": \"ACCESS_POLICY\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.909Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":39,"estimatedTokens":216}}415{"id":"doc-delete_a_trusted_origin-165b53db","source":"documentation","title":"Delete a trusted origin","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/trustedorigin/other/deletetrustedorigin","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/trustedOrigins/7j2PkU1nyNIDe26ZNufR\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.910Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":40}}416{"id":"doc-activate_a_policy_branch_rule-5cef3892","source":"documentation","title":"Activate a policy branch rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/activatepolicybranchrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/rules/ruld3hJ7jZh4fn0st0g3/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.910Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":57}}417{"id":"doc-create_a_trusted_origin-51186e8e","source":"documentation","title":"Create a trusted origin","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/trustedorigin/other/createtrustedorigin","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/trustedOrigins \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"New trusted origin\",\n    \"origin\": \"http://example.com\",\n    \"scopes\": [\n      {\n        \"type\": \"CORS\"\n      },\n      {\n        \"type\": \"REDIRECT\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"tos10hu7rkbtrFt1M0g4\",\n  \"name\": \"New trusted origin\",\n  \"origin\": \"http://example.com\",\n  \"status\": \"ACTIVE\",\n  \"scopes\": [\n    { … },\n    { … }\n  ],\n  \"created\": \"2018-01-13T01:11:44.000Z\",\n  \"createdBy\": \"00ut5t92p6IEOi4bu0g3\",\n  \"lastedUpdated\": \"2018-01-13T01:11:44.000Z\",\n  \"lastedUpdatedBy\": \"00ut5t92p6IEOi4bu0g3\",\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":42,"estimatedTokens":188}}418{"id":"doc-retrieve_a_trusted_origin-c7623daf","source":"documentation","title":"Retrieve a trusted origin","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/trustedorigin/other/gettrustedorigin","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/trustedOrigins/7j2PkU1nyNIDe26ZNufR\n```\n\nExample:\n```text\n{\n  \"id\": \"tos10hu7rkbtrFt1M0g4\",\n  \"name\": \"New trusted origin\",\n  \"origin\": \"http://example.com\",\n  \"status\": \"ACTIVE\",\n  \"scopes\": [\n    { … },\n    { … }\n  ],\n  \"created\": \"2018-01-13T01:11:44.000Z\",\n  \"createdBy\": \"00ut5t92p6IEOi4bu0g3\",\n  \"lastedUpdated\": \"2018-01-13T01:11:44.000Z\",\n  \"lastedUpdatedBy\": \"00ut5t92p6IEOi4bu0g3\",\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":136}}419{"id":"doc-activate_a_trusted_origin-d2fc5234","source":"documentation","title":"Activate a trusted origin","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/trustedorigin/other/activatetrustedorigin","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/trustedOrigins/7j2PkU1nyNIDe26ZNufR/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"tos10hu7rkbtrFt1M0g4\",\n  \"name\": \"New trusted origin\",\n  \"origin\": \"http://example.com\",\n  \"status\": \"ACTIVE\",\n  \"scopes\": [\n    { … },\n    { … }\n  ],\n  \"created\": \"2018-01-13T01:11:44.000Z\",\n  \"createdBy\": \"00ut5t92p6IEOi4bu0g3\",\n  \"lastedUpdated\": \"2018-01-13T01:11:44.000Z\",\n  \"lastedUpdatedBy\": \"00ut5t92p6IEOi4bu0g3\",\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":141}}420{"id":"doc-deactivate_a_trusted_origin-9dd9f655","source":"documentation","title":"Deactivate a trusted origin","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/trustedorigin/other/deactivatetrustedorigin","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/trustedOrigins/7j2PkU1nyNIDe26ZNufR/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"tos10hu7rkbtrFt1M0g4\",\n  \"name\": \"New trusted origin\",\n  \"origin\": \"http://example.com\",\n  \"status\": \"INACTIVE\",\n  \"scopes\": [\n    { … },\n    { … }\n  ],\n  \"created\": \"2018-01-13T01:11:44.000Z\",\n  \"createdBy\": \"00ut5t92p6IEOi4bu0g3\",\n  \"lastedUpdated\": \"2018-01-13T01:11:44.000Z\",\n  \"lastedUpdatedBy\": \"00ut5t92p6IEOi4bu0g3\",\n  \"_links\": {\n    \"activate\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":141}}421{"id":"doc-email_magic_links_overview_okta_developer-6d7b2282","source":"documentation","title":"Email Magic Links overview | Okta Developer","url":"https://developer.okta.com/docs/guides/email-magic-links-overview/java/main/","text":"Example:\n```javascript\nvar searchParams = new URL(window.location.href).searchParams;\nvar signIn = new OktaSignIn({\n   baseUrl: '{yourOktaDomain}',\n   baseUrl: '{yourOktaDomain}',\n   clientId: '{yourClientId}',\n   redirectUri: '{yourSignInRedirectUrl}',\n   otp: searchParams.get('otp'),\n   state: searchParams.get('state')\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":14,"estimatedTokens":86}}422{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-f14ca280","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/ios/main","text":"Example:\n```swift\nlet configuration = IDXClient.Configuration(\n    issuer: \"https:///<#oktaDomain#>/oauth2/default\", // e.g. https://foo.okta.com/oauth2/default, https://foo.okta.com/oauth2/ausar5vgt5TSDsfcJ0h7\n    clientId: \"<#clientId#>\",\n    clientSecret: nil, // Optional, only required for confidential clients.\n    scopes: [\"openid\", \"email\", \"offline_access\", \"<#otherScopes#>\"],\n    redirectUri: \"<#redirectUri#>\") // Must match the redirect uri in client app settings/console\n```\n\nExample:\n```swift\ndependencies: [\n    .Package(url: \"https://github.com/okta/okta-idx-swift.git\", majorVersion: <majorVersion>, minor: <minor>)\n]\n```\n\nExample:\n```swift\nimport OktaIdx\n```\n\nExample:\n```swift\nIDXClient.start(with: configuration) { (client, error) in\n    guard let client = client else {\n        // Handle the error\n        return\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":215}}423{"id":"doc-replace_a_trusted_origin-7f9f6bee","source":"documentation","title":"Replace a trusted origin","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/trustedorigin/other/replacetrustedorigin","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/trustedOrigins/7j2PkU1nyNIDe26ZNufR \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"value\": {\n      \"id\": \"tosue7JvguwJ7U6kz0g3\",\n      \"name\": \"Updated Example trusted origin\",\n      \"origin\": \"http://updated.example.com\",\n      \"scopes\": [\n        {\n          \"type\": \"CORS\"\n        },\n        {\n          \"type\": \"REDIRECT\"\n        }\n      ],\n      \"status\": \"ACTIVE\",\n      \"created\": \"2017-12-16T05:01:12.000Z\",\n      \"createdBy\": \"00ut5t92p6IEOi4bu0g3\",\n      \"lastUpdated\": \"2017-12-16T05:01:12.000Z\",\n      \"lastUpdatedBy\": \"00ut5t92p6IEOi4bu0g3\",\n      \"_links\": {\n        \"self\": {\n          \"href\": \"https://${yourOktaDomain}/api/v1/trustedOrigins/tosue7JvguwJ7U6kz0g3\",\n          \"hints\": {\n            \"allow\": [\n              \"GET\",\n              \"PUT\",\n              \"DELETE\"\n            ]\n          }\n        },\n        \"deactivate\": {\n          \"href\": \"https://${yourOktaDomain}/api/v1/trustedOrigins/tosue7JvguwJ7U6kz0g3/lifecycle/deactivate\",\n          \"hints\": {\n            \"allow\": [\n              \"POST\"\n            ]\n          }\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"value\": {\n    \"id\": \"tosue7JvguwJ7U6kz0g3\",\n    \"name\": \"Updated Example trusted origin\",\n    \"origin\": \"http://updated.example.com\",\n    \"scopes\": [ … ],\n    \"status\": \"ACTIVE\",\n    \"created\": \"2017-12-16T05:01:12.000Z\",\n    \"createdBy\": \"00ut5t92p6IEOi4bu0g3\",\n    \"lastUpdated\": \"2017-12-16T05:01:12.000Z\",\n    \"lastUpdatedBy\": \"00ut5t92p6IEOi4bu0g3\",\n    \"_links\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":66,"estimatedTokens":397}}424{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-b82d4faf","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/android/main","text":"Example:\n```groovy\nimplementation 'com.okta.idx.sdk: okta-idx-java-api:$okta_sdk_version'\n```\n\nExample:\n```json\nissuer=https://example.okta.com/oauth2/default\nclientId=clientID_from_client_app\nredirectUri=com.okta.sample.android:/login\n```\n\nExample:\n```java\npackage com.okta.android.example;\n\nimport com.okta.idx.sdk.api.client.IDXAuthenticationWrapper;\nimport com.okta.idx.sdk.api.client.ProceedContext;\nimport com.okta.idx.sdk.api.model.AuthenticationOptions;\nimport com.okta.idx.sdk.api.model.UserProfile;\nimport com.okta.idx.sdk.api.model.VerifyAuthenticatorOptions;\nimport com.okta.idx.sdk.api.response.AuthenticationResponse;\nimport com.okta.idx.sdk.api.response.TokenResponse;\n```\n\nExample:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin()\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":31,"estimatedTokens":199}}425{"id":"doc-update_the_threatinsight_configuration-d817e5de","source":"documentation","title":"Update the ThreatInsight configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/threatinsight/other/updateconfiguration","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/threats/configuration \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"action\": \"audit\",\n    \"excludeZones\": [\n      \"nzo1q7jEOsoCnoKcj0g4\",\n      \"nzouagptWUz5DlLfM0g3\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"action\": \"audit\",\n  \"excludeZones\": [\n    \"nzo1q7jEOsoCnoKcj0g4\",\n    \"nzouagptWUz5DlLfM0g3\"\n  ],\n  \"created\": \"2020-08-05T22:18:30.629Z\",\n  \"lastUpdated\": \"2020-10-13T21:23:10.178Z\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":131}}426{"id":"doc-list_all_trusted_origins-a9628310","source":"documentation","title":"List all trusted origins","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/trustedorigin/other/listtrustedorigins","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/trustedOrigins?q=string&filter=name%20eq%20%22Example%20trusted%20origin%22&after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"tos10hu7rkbtrFt1M0g4\",\n    \"name\": \"New trusted origin\",\n    \"origin\": \"http://example.com\",\n    \"status\": \"ACTIVE\",\n    \"scopes\": [ … ],\n    \"created\": \"2018-01-13T01:11:44.000Z\",\n    \"createdBy\": \"00ut5t92p6IEOi4bu0g3\",\n    \"lastedUpdated\": \"2018-01-13T01:11:44.000Z\",\n    \"lastedUpdatedBy\": \"00ut5t92p6IEOi4bu0g3\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":143}}427{"id":"doc-list_all_user_types-4faff0e6","source":"documentation","title":"List all user types","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usertype/other/listusertypes","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/meta/types/user\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"otyfnly5cQjJT9PnR0g4\",\n    \"displayName\": \"New user type\",\n    \"name\": \"newUserType\",\n    \"description\": \"A new custom user type\",\n    \"createdBy\": \"sprz9fj1ycBcsgopy1d6\",\n    \"lastUpdatedBy\": \"sprz9fj1ycBcsgopy1d6\",\n    \"created\": \"2021-07-05T20:40:38.000Z\",\n    \"lastUpdated\": \"2021-07-05T20:40:38.000Z\",\n    \"default\": false,\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"otyz9fj2jMiRBC1ZT1d6\",\n    \"displayName\": \"User\",\n    \"name\": \"user\",\n    \"description\": \"Okta user profile template with default permission settings\",\n    \"createdBy\": \"sprz9fj1ycBcsgopy1d6\",\n    \"lastUpdatedBy\": \"sprz9fj1ycBcsgopy1d6\",\n    \"created\": \"2021-07-05T20:40:38.000Z\",\n    \"lastUpdated\": \"2021-07-05T20:40:38.000Z\",\n    \"default\": true,\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":222}}428{"id":"doc-upload_the_device_external_ids_to_be_deleted_in_-b503e4e0","source":"documentation","title":"Upload the device external IDs to be deleted in Okta","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/uploadidentitysourcedevicesfordelete","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/bulk-devices-delete \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"externalIds\": [\n      \"DEVICEEXT123456784C2IF\",\n      \"DEVICEEXT123456784C3IF\"\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":89}}429{"id":"doc-retrieve_a_user_type-5223dcae","source":"documentation","title":"Retrieve a user type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usertype/other/getusertype","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/meta/types/user/{typeId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"otyfnly5cQjJT9PnR0g4\",\n  \"displayName\": \"New user type\",\n  \"name\": \"newUserType\",\n  \"description\": \"A new custom user type\",\n  \"createdBy\": \"sprz9fj1ycBcsgopy1d6\",\n  \"lastUpdatedBy\": \"sprz9fj1ycBcsgopy1d6\",\n  \"created\": \"2021-07-05T20:40:38.000Z\",\n  \"lastUpdated\": \"2021-07-05T20:40:38.000Z\",\n  \"default\": false,\n  \"_links\": {\n    \"self\": { … },\n    \"schema\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":130}}430{"id":"doc-delete_a_user_type-f3614501","source":"documentation","title":"Delete a user type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usertype/other/deleteusertype","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/meta/types/user/{typeId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}431{"id":"doc-replace_a_user_type-904313d7","source":"documentation","title":"Replace a user type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usertype/other/replaceusertype","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/meta/types/user/{typeId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"displayName\": \"Replacement Display Name\",\n    \"description\": \"Replacement description\",\n    \"name\": \"newUserType\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"otyfnly5cQjJT9PnR0g4\",\n  \"displayName\": \"Replacement Display Name\",\n  \"name\": \"newUserType\",\n  \"description\": \"Replacement description\",\n  \"createdBy\": \"sprz9fj1ycBcsgopy1d6\",\n  \"lastUpdatedBy\": \"sprz9fj1ycBcsgopy1d6\",\n  \"created\": \"2021-07-05T20:40:38.000Z\",\n  \"lastUpdated\": \"2021-07-05T20:40:38.000Z\",\n  \"default\": false,\n  \"_links\": {\n    \"self\": { … },\n    \"schema\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":177}}432{"id":"doc-upload_the_device_profiles_to_be_upserted_in_okt-c93b0d67","source":"documentation","title":"Upload the device profiles to be upserted in Okta","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/uploadidentitysourcedevicesforupsert","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/bulk-devices-upsert \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"profiles\": [\n      {\n        \"externalId\": \"DEVICEEXT123456784C2IF\",\n        \"profile\": {\n          \"serialNumber\": \"DEVICEEXT123456784C2IF\",\n          \"platform\": \"MACOS\",\n          \"displayName\": \"Isaac Brock'\\''s MacBook\"\n        }\n      },\n      {\n        \"externalId\": \"DEVICEEXT123456784C3IF\",\n        \"profile\": {\n          \"serialNumber\": \"DEVICEEXT123456784C3IF\",\n          \"platform\": \"ANDROID\",\n          \"displayName\": \"Shared Kiosk 3\"\n        }\n      }\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":186}}433{"id":"doc-update_a_user_type-ca6b6651","source":"documentation","title":"Update a user type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usertype/other/updateusertype","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/meta/types/user/{typeId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"displayName\": \"Updated Display Name\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"otyfnly5cQjJT9PnR0g4\",\n  \"displayName\": \"Updated Display Name\",\n  \"name\": \"newUserType\",\n  \"description\": \"A new custom user type\",\n  \"createdBy\": \"sprz9fj1ycBcsgopy1d6\",\n  \"lastUpdatedBy\": \"sprz9fj1ycBcsgopy1d6\",\n  \"created\": \"2021-07-05T20:40:38.000Z\",\n  \"lastUpdated\": \"2021-07-05T20:40:38.000Z\",\n  \"default\": false,\n  \"_links\": {\n    \"self\": { … },\n    \"schema\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":156}}434{"id":"doc-create_a_user_type-dca65ce3","source":"documentation","title":"Create a user type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usertype/other/createusertype","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/meta/types/user \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"description\": \"A new custom user type\",\n    \"displayName\": \"New user type\",\n    \"name\": \"newUserType\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"otyfnly5cQjJT9PnR0g4\",\n  \"displayName\": \"New user type\",\n  \"name\": \"newUserType\",\n  \"description\": \"A new custom user type\",\n  \"createdBy\": \"sprz9fj1ycBcsgopy1d6\",\n  \"lastUpdatedBy\": \"sprz9fj1ycBcsgopy1d6\",\n  \"created\": \"2021-07-05T20:40:38.000Z\",\n  \"lastUpdated\": \"2021-07-05T20:40:38.000Z\",\n  \"default\": false,\n  \"_links\": {\n    \"self\": { … },\n    \"schema\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":168}}435{"id":"doc-resume_an_agent_pool_update-4d387edd","source":"documentation","title":"Resume an agent pool update","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/resumeagentpoolsupdate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/{updateId}/resume'\n```\n\nExample:\n```text\n{\n  \"agents\": [\n    { … }\n  ],\n  \"agentType\": \"AD\",\n  \"enabled\": true,\n  \"id\": \"string\",\n  \"name\": \"region1A.dc\",\n  \"notifyAdmin\": true,\n  \"reason\": \"Update failed.\",\n  \"schedule\": {\n    \"cron\": \"0 8 ? * 6#3\",\n    \"delay\": 0,\n    \"duration\": 120,\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"timezone\": \"America/New_York\"\n  },\n  \"sortOrder\": 0,\n  \"status\": \"Cancelled\",\n  \"targetVersion\": \"3.20.0\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":150}}436{"id":"doc-retrieve_an_agent_pool_update_s_settings-629a640b","source":"documentation","title":"Retrieve an agent pool update's settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/getagentpoolsupdatesettings","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/settings'\n```\n\nExample:\n```text\n{\n  \"agentType\": \"AD\",\n  \"continueOnError\": true,\n  \"latestVersion\": \"3.20.0\",\n  \"minimalSupportedVersion\": \"3.19.0\",\n  \"poolId\": \"0oa3eu7ekG8tjbD9J5s6\",\n  \"poolName\": \"iwa.dc\",\n  \"releaseChannel\": \"BETA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":89}}437{"id":"doc-list_all_agent_pool_updates-d2cbf95e","source":"documentation","title":"List all agent pool updates","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/listagentpoolsupdates","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates?scheduled=true'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"poolId1\",\n    \"name\": \"testSchedule\",\n    \"agentType\": \"AD\",\n    \"agents\": { … },\n    \"enabled\": true,\n    \"schedule\": { … },\n    \"notifyAdmin\": true,\n    \"status\": \"Scheduled\",\n    \"targetVersion\": \"3.20.0\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":102}}438{"id":"doc-delete_an_agent_pool_update-bb7c6bf2","source":"documentation","title":"Delete an agent pool update","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/deleteagentpoolsupdate","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/{updateId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}439{"id":"doc-deactivate_an_agent_pool_update-df382339","source":"documentation","title":"Deactivate an agent pool update","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/deactivateagentpoolsupdate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/{updateId}/deactivate'\n```\n\nExample:\n```text\n{\n  \"agents\": [\n    { … }\n  ],\n  \"agentType\": \"AD\",\n  \"enabled\": true,\n  \"id\": \"string\",\n  \"name\": \"region1A.dc\",\n  \"notifyAdmin\": true,\n  \"reason\": \"Update failed.\",\n  \"schedule\": {\n    \"cron\": \"0 8 ? * 6#3\",\n    \"delay\": 0,\n    \"duration\": 120,\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"timezone\": \"America/New_York\"\n  },\n  \"sortOrder\": 0,\n  \"status\": \"Cancelled\",\n  \"targetVersion\": \"3.20.0\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":151}}440{"id":"doc-update_an_agent_pool_update_settings-442d417d","source":"documentation","title":"Update an agent pool update settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/updateagentpoolsupdatesettings","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/settings' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"agentType\": \"AD\",\n    \"continueOnError\": true,\n    \"latestVersion\": \"3.20.0\",\n    \"minimalSupportedVersion\": \"3.19.0\",\n    \"poolName\": \"iwa.dc\",\n    \"releaseChannel\": \"BETA\"\n  }'\n```\n\nExample:\n```text\n{\n  \"agentType\": \"AD\",\n  \"continueOnError\": true,\n  \"latestVersion\": \"3.20.0\",\n  \"minimalSupportedVersion\": \"3.19.0\",\n  \"poolId\": \"0oa3eu7ekG8tjbD9J5s6\",\n  \"poolName\": \"iwa.dc\",\n  \"releaseChannel\": \"BETA\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":148}}441{"id":"doc-pause_an_agent_pool_update-d193acaa","source":"documentation","title":"Pause an agent pool update","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/pauseagentpoolsupdate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/{updateId}/pause'\n```\n\nExample:\n```text\n{\n  \"agents\": [\n    { … }\n  ],\n  \"agentType\": \"AD\",\n  \"enabled\": true,\n  \"id\": \"string\",\n  \"name\": \"region1A.dc\",\n  \"notifyAdmin\": true,\n  \"reason\": \"Update failed.\",\n  \"schedule\": {\n    \"cron\": \"0 8 ? * 6#3\",\n    \"delay\": 0,\n    \"duration\": 120,\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"timezone\": \"America/New_York\"\n  },\n  \"sortOrder\": 0,\n  \"status\": \"Cancelled\",\n  \"targetVersion\": \"3.20.0\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":150}}442{"id":"doc-retrieve_the_breached_credential_protection_conf-53f97bbb","source":"documentation","title":"Retrieve the breached credential protection configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/breachedcredentialprotection/other/getbreachedcredentialprotectionconfiguration","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/breached-credential-protection/configuration\n```\n\nExample:\n```text\n{\n  \"detectionMethod\": \"STANDARD\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":57}}443{"id":"doc-retrieve_a_network_zone-df0382ba","source":"documentation","title":"Retrieve a network zone","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/networkzone/other/getnetworkzone","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/zones/nzowc1U5Jh5xuAK0o0g3\n```\n\nExample:\n```text\n{\n  \"type\": \"IP\",\n  \"id\": \"nzowc1U5Jh5xuAK0o0g3\",\n  \"name\": \"MyIpZone\",\n  \"status\": \"ACTIVE\",\n  \"usage\": \"POLICY\",\n  \"created\": \"2021-06-24T20:37:32.000Z\",\n  \"lastUpdated\": \"2021-06-24T20:37:32.000Z\",\n  \"system\": false,\n  \"gateways\": [\n    { … }\n  ],\n  \"proxies\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":120}}444{"id":"doc-retrieve_the_preview_error_page_preview-99e82618","source":"documentation","title":"Retrieve the preview error page preview","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/getpreviewerrorpage","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/preview'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":73}}445{"id":"doc-retrieve_the_sign_in_page_sub_resources-43889074","source":"documentation","title":"Retrieve the sign-in page sub-resources","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/getsigninpage","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in?expand=default'\n```\n\nExample:\n```text\n{\n  \"_embedded\": {\n    \"default\": { … },\n    \"customized\": { … },\n    \"customizedUrl\": \"http://example.com\",\n    \"preview\": { … },\n    \"previewUrl\": \"http://example.com\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"default\": { … },\n    \"customized\": { … },\n    \"preview\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":110}}446{"id":"doc-retrieve_the_default_sign_in_page-3bbc3275","source":"documentation","title":"Retrieve the default sign-in page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/getdefaultsigninpage","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in/default'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  },\n  \"widgetCustomizations\": {\n    \"signInLabel\": \"string\",\n    \"usernameLabel\": \"string\",\n    \"usernameInfoTip\": \"string\",\n    \"passwordLabel\": \"string\",\n    \"passwordInfoTip\": \"string\",\n    \"showPasswordVisibilityToggle\": true,\n    \"showUserIdentifier\": true,\n    \"forgotPasswordLabel\": \"string\",\n    \"forgotPasswordUrl\": \"string\",\n    \"unlockAccountLabel\": \"string\",\n    \"unlockAccountUrl\": \"string\",\n    \"helpLabel\": \"string\",\n    \"helpUrl\": \"string\",\n    \"customLink1Label\": \"string\",\n    \"customLink1Url\": \"string\",\n    \"customLink2Label\": \"string\",\n    \"customLink2Url\": \"string\",\n    \"authenticatorPageCustomLinkLabel\": \"string\",\n    \"authenticatorPageCustomLinkUrl\": \"string\",\n    \"classicRecoveryFlowEmailOrUsernameLabel\": \"string\",\n    \"widgetGeneration\": \"G2\",\n    \"postAuthKeepMeSignedInPrompt\": { … },\n    \"classicFooterHelpTitle\": \"string\",\n    \"gracePeriodRequiredSoon\": { … }\n  },\n  \"widgetVersion\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":46,"estimatedTokens":305}}447{"id":"doc-delete_the_preview_sign_in_page-6bafaf07","source":"documentation","title":"Delete the preview sign-in page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/deletepreviewsigninpage","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in/preview'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}448{"id":"doc-delete_the_customized_error_page-8d693245","source":"documentation","title":"Delete the customized error page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/deletecustomizederrorpage","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/customized'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}449{"id":"doc-retrieve_the_customized_error_page-3412baea","source":"documentation","title":"Retrieve the customized error page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/getcustomizederrorpage","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/customized'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":74}}450{"id":"doc-delete_the_customized_sign_in_page-50032c0b","source":"documentation","title":"Delete the customized sign-in page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/deletecustomizedsigninpage","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in/customized'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}451{"id":"doc-retrieve_the_customized_sign_in_page-2928e008","source":"documentation","title":"Retrieve the customized sign-in page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/getcustomizedsigninpage","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/sign-in/customized'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  },\n  \"widgetCustomizations\": {\n    \"signInLabel\": \"string\",\n    \"usernameLabel\": \"string\",\n    \"usernameInfoTip\": \"string\",\n    \"passwordLabel\": \"string\",\n    \"passwordInfoTip\": \"string\",\n    \"showPasswordVisibilityToggle\": true,\n    \"showUserIdentifier\": true,\n    \"forgotPasswordLabel\": \"string\",\n    \"forgotPasswordUrl\": \"string\",\n    \"unlockAccountLabel\": \"string\",\n    \"unlockAccountUrl\": \"string\",\n    \"helpLabel\": \"string\",\n    \"helpUrl\": \"string\",\n    \"customLink1Label\": \"string\",\n    \"customLink1Url\": \"string\",\n    \"customLink2Label\": \"string\",\n    \"customLink2Url\": \"string\",\n    \"authenticatorPageCustomLinkLabel\": \"string\",\n    \"authenticatorPageCustomLinkUrl\": \"string\",\n    \"classicRecoveryFlowEmailOrUsernameLabel\": \"string\",\n    \"widgetGeneration\": \"G2\",\n    \"postAuthKeepMeSignedInPrompt\": { … },\n    \"classicFooterHelpTitle\": \"string\",\n    \"gracePeriodRequiredSoon\": { … }\n  },\n  \"widgetVersion\": \"string\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":46,"estimatedTokens":305}}452{"id":"doc-retrieve_the_user_lockout_settings-baf8e40a","source":"documentation","title":"Retrieve the user lockout settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/attackprotection/other/getuserlockoutsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/attack-protection/api/v1/user-lockout-settings\n```\n\nExample:\n```text\n{\n  \"preventBruteForceLockoutFromUnknownDevices\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":52}}453{"id":"doc-create_a_role_resource_set_binding-280a0a54","source":"documentation","title":"Create a role resource set binding","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roledresourcesetbinding/other/createresourcesetbinding","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/bindings \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"role\": \"cr0Yq6IJxGIr0ouum0g3\",\n    \"members\": [\n      \"https://{yourOktaDomain}/api/v1/groups/00guaxWZ0AOa5NFAj0g3\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"_links\": {\n    \"self\": { … },\n    \"bindings\": { … },\n    \"resource-set\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":108}}454{"id":"doc-retrieve_a_user_schema-912c1527","source":"documentation","title":"Retrieve a user schema","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/schema/other/getuserschema","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/meta/schemas/user/{schemaId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"https://{yourOktaDomain}/meta/schemas/user/oscmlha7lcRyMn82P1d7\",\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n  \"name\": \"user\",\n  \"title\": \"An Okta user\",\n  \"lastUpdated\": \"2015-09-05T10:40:45.000Z\",\n  \"created\": \"2015-02-02T10:27:36.000Z\",\n  \"definitions\": {\n    \"base\": { … },\n    \"custom\": { … }\n  },\n  \"type\": \"object\",\n  \"properties\": {\n    \"profile\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":133}}455{"id":"doc-create_a_custom_role-ca6ba433","source":"documentation","title":"Create a custom role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustom/other/createrole","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/iam/roles \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"label\": \"UserCreator\",\n    \"description\": \"Create users\",\n    \"permissions\": [\n      \"okta.users.create\",\n      \"okta.users.read\",\n      \"okta.groups.read\",\n      \"okta.users.userprofile.manage\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"cr0Yq6IJxGIr0ouum0g3\",\n  \"label\": \"UserCreator\",\n  \"description\": \"Create users\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"permissions\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":156}}456{"id":"doc-revoke_an_api_token-08dfbd27","source":"documentation","title":"Revoke an API token","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apitoken/other/revokeapitoken","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/api-tokens/00Tabcdefg1234567890\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}457{"id":"doc-replace_the_breached_credential_protection_confi-bd8adb67","source":"documentation","title":"Replace the breached credential protection configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/breachedcredentialprotection/other/replacebreachedcredentialprotectionconfiguration","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/breached-credential-protection/configuration \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"detectionMethod\": \"STANDARD\"\n  }'\n```\n\nExample:\n```text\n{\n  \"detectionMethod\": \"STANDARD\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":79}}458{"id":"doc-upsert_an_api_token_network_condition-40c436d4","source":"documentation","title":"Upsert an API token network condition","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apitoken/other/upsertapitoken","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/api-tokens/00Tabcdefg1234567890 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"api_token_name\",\n    \"clientName\": \"client_name\",\n    \"userId\": \"00uabcdefg1234567890\",\n    \"network\": {\n      \"connection\": \"ANYWHERE\"\n    },\n    \"created\": \"2021-11-09T20:38:10.000Z\"\n  }'\n```\n\nExample:\n```text\n{\n  \"name\": \"My API Token\",\n  \"userId\": \"00uXXXXXXXXXXXXXXXXX\",\n  \"tokenWindow\": \"P30D\",\n  \"network\": {\n    \"connection\": \"ANYWHERE\"\n  },\n  \"id\": \"00Tabcdefg1234567890\",\n  \"clientName\": \"Okta API\",\n  \"expiresAt\": \"2021-12-11T20:38:10.000Z\",\n  \"created\": \"2021-11-09T20:38:10.000Z\",\n  \"lastUpdated\": \"2021-11-11T20:38:10.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":195}}459{"id":"doc-replace_the_authenticator_settings-d78e3f8a","source":"documentation","title":"Replace the authenticator settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/attackprotection/other/replaceauthenticatorsettings","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/attack-protection/api/v1/authenticator-settings \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"verifyKnowledgeSecondWhen2faRequired\": false\n  }'\n```\n\nExample:\n```text\n{\n  \"verifyKnowledgeSecondWhen2faRequired\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":77}}460{"id":"doc-delete_a_network_zone-142e5610","source":"documentation","title":"Delete a network zone","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/networkzone/other/deletenetworkzone","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/zones/nzowc1U5Jh5xuAK0o0g3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}461{"id":"doc-create_a_resource_set-8982f087","source":"documentation","title":"Create a resource set","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourceset/other/createresourceset","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"label\": \"SF-IT-People\",\n    \"description\": \"People in the IT department of San Francisco\",\n    \"resources\": [\n      \"https://{yourOktaDomain}/api/v1/groups/00guaxWZ0AOa5NFAj0g3\",\n      \"https://{yourOktaDomain}/api/v1/groups/00gu67DU2qNCjNZYO0g3/users\",\n      \"https://{yourOktaDomain}/api/v1/users\",\n      \"https://{yourOktaDomain}/api/v1/realms/00guaxWZ0AOa5NFAj0g3\",\n      \"https://{yourOktaDomain}/api/v1/realms\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"iamoJDFKaJxGIr0oamd9g\",\n  \"label\": \"SF-IT-People\",\n  \"description\": \"People in the IT department of San Francisco\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resources\": { … },\n    \"bindings\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":228}}462{"id":"doc-create_a_network_zone-b64cc20e","source":"documentation","title":"Create a network zone","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/networkzone/other/createnetworkzone","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/zones \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"IP\",\n    \"name\": \"newNetworkZone\",\n    \"gateways\": [\n      {\n        \"type\": \"CIDR\",\n        \"value\": \"1.2.3.4/24\"\n      },\n      {\n        \"type\": \"CIDR\",\n        \"value\": \"2.3.4.5/24\"\n      }\n    ],\n    \"proxies\": [\n      {\n        \"type\": \"CIDR\",\n        \"value\": \"2.2.3.4/24\"\n      },\n      {\n        \"type\": \"CIDR\",\n        \"value\": \"3.3.4.5/24\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"type\": \"IP\",\n  \"id\": \"nzowb8T5Jh5xuAJ0o0g7\",\n  \"name\": \"newNetworkZone\",\n  \"status\": \"ACTIVE\",\n  \"usage\": \"POLICY\",\n  \"created\": \"2021-08-09T21:32:01.000Z\",\n  \"lastUpdated\": \"2021-08-09T21:32:01.000Z\",\n  \"system\": false,\n  \"gateways\": [\n    { … },\n    { … }\n  ],\n  \"proxies\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":58,"estimatedTokens":231}}463{"id":"doc-update_the_bot_protection_configuration-b538914f","source":"documentation","title":"Update the bot protection configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/botprotection/other/updatebotprotectionconfiguration","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/bot-protection/configuration \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"level\": \"LOW\",\n    \"mode\": \"LOG_ONLY\",\n    \"supportedFlows\": [\n      \"SIGN_IN\",\n      \"SSR\",\n      \"SSPR\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"level\": \"LOW\",\n  \"mode\": \"LOG_ONLY\",\n  \"supportedFlows\": [\n    \"SIGN_IN\",\n    \"SSR\",\n    \"SSPR\"\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":114}}464{"id":"doc-activate_a_network_zone-f841c586","source":"documentation","title":"Activate a network zone","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/networkzone/other/activatenetworkzone","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/zones/nzowc1U5Jh5xuAK0o0g3/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"type\": \"IP\",\n  \"id\": \"nzowc1U5Jh5xuAK0o0g3\",\n  \"name\": \"MyIpZone\",\n  \"status\": \"ACTIVE\",\n  \"usage\": \"POLICY\",\n  \"created\": \"2021-06-24T20:37:32.000Z\",\n  \"lastUpdated\": \"2021-06-24T20:37:32.000Z\",\n  \"system\": false,\n  \"gateways\": [\n    { … }\n  ],\n  \"proxies\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":125}}465{"id":"doc-retrieve_the_bot_protection_configuration-e719a8c9","source":"documentation","title":"Retrieve the bot protection configuration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/botprotection/other/getbotprotectionconfiguration","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/bot-protection/configuration\n```\n\nExample:\n```text\n{\n  \"level\": \"LOW\",\n  \"mode\": \"LOG_ONLY\",\n  \"supportedFlows\": [\n    \"SIGN_IN\",\n    \"SSR\",\n    \"SSPR\"\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":71}}466{"id":"doc-retrieve_the_org_general_settings-1c0a2b81","source":"documentation","title":"Retrieve the Org general settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettinggeneral/other/getorgsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org\n```\n\nExample:\n```text\n{\n  \"address1\": \"100 1st St\",\n  \"address2\": \"6th floor\",\n  \"city\": \"San Fransico\",\n  \"companyName\": \"okta\",\n  \"country\": \"United States\",\n  \"endUserSupportHelpURL\": \"support.okta.com\",\n  \"phoneNumber\": \"+18887227871\",\n  \"postalCode\": \"94105\",\n  \"state\": \"California\",\n  \"supportPhoneNumber\": \"+18887227871\",\n  \"website\": \"www.okta.com\",\n  \"id\": \"00o3qqiw0vSCIwu8I0g7\",\n  \"created\": \"2024-01-24T14:15:22Z\",\n  \"lastUpdated\": \"2024-07-21T14:15:22Z\",\n  \"expiresAt\": \"2024-12-24T14:15:22Z\",\n  \"status\": \"ACTIVE\",\n  \"subdomain\": \"okta\",\n  \"_links\": {\n    \"preferences\": { … },\n    \"uploadLogo\": { … },\n    \"oktaCommunication\": { … },\n    \"logo\": null,\n    \"oktaSupport\": { … },\n    \"contacts\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":204}}467{"id":"doc-deactivate_a_network_zone-1ce46d90","source":"documentation","title":"Deactivate a network zone","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/networkzone/other/deactivatenetworkzone","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/zones/nzowc1U5Jh5xuAK0o0g3/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"type\": \"IP\",\n  \"id\": \"nzowc1U5Jh5xuAK0o0g3\",\n  \"name\": \"MyIpZone\",\n  \"status\": \"INACTIVE\",\n  \"usage\": \"POLICY\",\n  \"created\": \"2021-06-24T20:37:32.000Z\",\n  \"lastUpdated\": \"2021-06-24T20:37:32.000Z\",\n  \"system\": false,\n  \"gateways\": [\n    { … }\n  ],\n  \"proxies\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"activate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":126}}468{"id":"doc-list_all_behavior_detection_rules-93aafc39","source":"documentation","title":"List all behavior detection rules","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/behavior/other/listbehaviordetectionrules","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/behaviors\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"string\",\n    \"id\": \"string\",\n    \"lastUpdated\": \"string\",\n    \"name\": \"string\",\n    \"status\": \"ACTIVE\",\n    \"type\": \"ANOMALOUS_LOCATION\",\n    \"_link\": { … },\n    \"settings\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":82}}469{"id":"doc-activate_a_behavior_detection_rule-b1d0b0d8","source":"documentation","title":"Activate a behavior detection rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/behavior/other/activatebehaviordetectionrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/behaviors/abcd1234/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"My Behavior Rule\",\n  \"type\": \"VELOCITY\",\n  \"settings\": {\n    \"velocityKph\": 805\n  },\n  \"status\": \"ACTIVE\",\n  \"created\": \"2021-11-09 20:38:10.0\",\n  \"lastUpdated\": \"2021-11-11 20:38:10.0\",\n  \"_link\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":102}}470{"id":"doc-list_all_network_zones-64cebd41","source":"documentation","title":"List all network zones","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/networkzone/other/listnetworkzones","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/zones?after=BlockedIpZones&limit=5&filter=id%20eq%20%22nzowc1U5Jh5xuAK0o0g3%22'\n```\n\nExample:\n```text\n[\n  {\n    \"type\": \"IP\",\n    \"id\": \"nzowc1U5Jh5xuAK0o0g3\",\n    \"name\": \"MyIpZone\",\n    \"status\": \"ACTIVE\",\n    \"usage\": \"POLICY\",\n    \"created\": \"2021-06-24T20:37:32.000Z\",\n    \"lastUpdated\": \"2021-06-24T20:37:32.000Z\",\n    \"system\": false,\n    \"gateways\": [ … ],\n    \"proxies\": [ … ],\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":126}}471{"id":"doc-deactivate_a_behavior_detection_rule-2e98fb8c","source":"documentation","title":"Deactivate a behavior detection rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/behavior/other/deactivatebehaviordetectionrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/behaviors/abcd1234/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"My Behavior Rule\",\n  \"type\": \"VELOCITY\",\n  \"settings\": {\n    \"velocityKph\": 805\n  },\n  \"status\": \"ACTIVE\",\n  \"created\": \"2021-11-09 20:38:10.0\",\n  \"lastUpdated\": \"2021-11-11 20:38:10.0\",\n  \"_link\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":102}}472{"id":"doc-replace_a_behavior_detection_rule-ae2899ee","source":"documentation","title":"Replace a behavior detection rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/behavior/other/replacebehaviordetectionrule","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/behaviors/abcd1234 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"My Behavior Rule\",\n    \"type\": \"VELOCITY\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"My Behavior Rule\",\n  \"type\": \"VELOCITY\",\n  \"settings\": {\n    \"velocityKph\": 805\n  },\n  \"status\": \"ACTIVE\",\n  \"created\": \"2021-11-09 20:38:10.0\",\n  \"lastUpdated\": \"2021-11-11 20:38:10.0\",\n  \"_link\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":124}}473{"id":"doc-create_a_policy_branch-9f044076","source":"documentation","title":"Create a policy branch","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/createpolicybranch","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Q3 Authentication Improvements\",\n    \"description\": \"Testing new authentication flow with enhanced verification\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rst4n0yza36jdLEp1wl2\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Q3 Authentication Improvements\",\n  \"description\": \"Testing new authentication flow with enhanced verification\",\n  \"priority\": 1,\n  \"system\": false,\n  \"type\": \"ACCESS_POLICY\",\n  \"conditions\": null,\n  \"created\": \"2026-05-06T12:30:00.000Z\",\n  \"lastUpdated\": \"2026-05-06T12:30:00.000Z\",\n  \"branchInformation\": {\n    \"id\": \"rsb4n0yza36jdLEp1wl\",\n    \"status\": \"DRAFT\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"rules\": { … },\n    \"stage\": { … },\n    \"promote\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":217}}474{"id":"doc-retrieve_a_policy_branch-d4ec96d7","source":"documentation","title":"Retrieve a policy branch","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/getpolicybranch","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti\n```\n\nExample:\n```text\n{\n  \"id\": \"rst2k8pqr14hbJCnzuj0\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Q2 Security Updates\",\n  \"description\": \"Testing stricter authentication requirements for Q2 2026\",\n  \"priority\": 1,\n  \"system\": false,\n  \"type\": \"ACCESS_POLICY\",\n  \"conditions\": null,\n  \"created\": \"2026-04-01T10:15:30.000Z\",\n  \"lastUpdated\": \"2026-04-15T14:22:45.000Z\",\n  \"branchInformation\": {\n    \"id\": \"rsb2k8pqr14hbJCnzuj\",\n    \"status\": \"STAGED\",\n    \"comments\": \"Approved by security team for staging\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"rules\": { … },\n    \"promote\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":182}}475{"id":"doc-promote_a_policy_branch-9398d414","source":"documentation","title":"Promote a policy branch","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/promotepolicybranch","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti/lifecycle/promote?ignoreConflict=false' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"comments\": \"Promoting Q2 security updates to production after successful staging\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rst2k8pqr14hbJCnzuj0\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Q2 Security Updates - Final\",\n  \"description\": \"Ready for production deployment after successful testing\",\n  \"priority\": 1,\n  \"system\": false,\n  \"type\": \"ACCESS_POLICY\",\n  \"conditions\": null,\n  \"created\": \"2026-04-01T10:15:30.000Z\",\n  \"lastUpdated\": \"2026-05-06T14:00:00.000Z\",\n  \"branchInformation\": {\n    \"id\": \"rsb2k8pqr14hbJCnzuj\",\n    \"status\": \"LIVE\",\n    \"comments\": \"Promoting Q2 security updates to production after successful staging\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"rules\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":232}}476{"id":"doc-replace_a_policy_branch-3107746f","source":"documentation","title":"Replace a policy branch","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/replacepolicybranch","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches/rsb1d7xus97faIAgmti \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Q2 Security Updates - Final\",\n    \"description\": \"Ready for production deployment after successful testing\",\n    \"branchInformation\": {\n      \"id\": \"rsb2k8pqr14hbJCnzuj\",\n      \"status\": \"STAGED\",\n      \"comments\": \"Approved by security team for staging\",\n      \"settings\": {\n        \"monitoring\": {\n          \"expiry\": \"2026-08-15T00:00:00.000Z\"\n        }\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rst2k8pqr14hbJCnzuj0\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Q2 Security Updates - Final\",\n  \"description\": \"Ready for production deployment after successful testing\",\n  \"priority\": 1,\n  \"system\": false,\n  \"type\": \"ACCESS_POLICY\",\n  \"conditions\": null,\n  \"created\": \"2026-04-01T10:15:30.000Z\",\n  \"lastUpdated\": \"2026-05-06T13:45:00.000Z\",\n  \"branchInformation\": {\n    \"id\": \"rsb2k8pqr14hbJCnzuj\",\n    \"status\": \"STAGED\",\n    \"comments\": \"Approved by security team for staging\",\n    \"settings\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"rules\": { … },\n    \"promote\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":49,"estimatedTokens":300}}477{"id":"doc-list_all_policy_branches-d6f9b6b9","source":"documentation","title":"List all policy branches","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/policybranch/other/listpolicybranches","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/policies/rst1d7xus97faIAgmti0/branches\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"rst1d7xus97faIAgmti0\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Production Branch\",\n    \"description\": \"Current live production configuration\",\n    \"priority\": 1,\n    \"system\": false,\n    \"type\": \"ACCESS_POLICY\",\n    \"conditions\": null,\n    \"created\": \"2026-01-15T08:30:00.000Z\",\n    \"lastUpdated\": \"2026-04-01T10:15:30.000Z\",\n    \"branchInformation\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"rst2k8pqr14hbJCnzuj0\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Q2 Security Updates\",\n    \"description\": \"Testing stricter authentication requirements for Q2 2026\",\n    \"priority\": 1,\n    \"system\": false,\n    \"type\": \"ACCESS_POLICY\",\n    \"conditions\": null,\n    \"created\": \"2026-04-01T10:15:30.000Z\",\n    \"lastUpdated\": \"2026-04-15T14:22:45.000Z\",\n    \"branchInformation\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"rst3m9wxy25icKDo0vk1\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"MFA Pilot Test\",\n    \"description\": \"Testing enhanced MFA requirements for pilot users\",\n    \"priority\": 1,\n    \"system\": false,\n    \"type\": \"ACCESS_POLICY\",\n    \"conditions\": null,\n    \"created\": \"2026-03-10T09:00:00.000Z\",\n    \"lastUpdated\": \"2026-03-25T16:45:00.000Z\",\n    \"branchInformation\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":55,"estimatedTokens":342}}478{"id":"doc-create_a_behavior_detection_rule-f77fc806","source":"documentation","title":"Create a behavior detection rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/behavior/other/createbehaviordetectionrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/behaviors \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"My Behavior Rule\",\n    \"type\": \"VELOCITY\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"abcd1234\",\n  \"name\": \"My Behavior Rule\",\n  \"type\": \"VELOCITY\",\n  \"settings\": {\n    \"velocityKph\": 805\n  },\n  \"status\": \"ACTIVE\",\n  \"created\": \"2021-11-09 20:38:10.0\",\n  \"lastUpdated\": \"2021-11-11 20:38:10.0\",\n  \"_link\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":122}}479{"id":"doc-reset_the_factors-67d0a825","source":"documentation","title":"Reset the factors","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/other/resetfactors","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/reset_factors'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":40}}480{"id":"doc-remove_bounced_emails-8049e214","source":"documentation","title":"Remove bounced emails","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emailcustomization/other/bulkremoveemailaddressbounces","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/email/bounces/remove-list \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"emailAddresses\": [\n      \"name@company.com\",\n      \"unknown.email@okta.com\",\n      \"name@okta@com\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"errors\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":87}}481{"id":"doc-unlock_a_user-7a862877","source":"documentation","title":"Unlock a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/other/unlockuser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/unlock'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}482{"id":"doc-unsuspend_a_user-32a15ab2","source":"documentation","title":"Unsuspend a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/other/unsuspenduser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/unsuspend'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}483{"id":"doc-suspend_a_user-2eab76b5","source":"documentation","title":"Suspend a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/other/suspenduser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/suspend'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}484{"id":"doc-upsert_the_custom_domain_s_certificate-7e80ee1c","source":"documentation","title":"Upsert the custom domain's certificate","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customdomain/other/upsertcertificate","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/domains/OmWNeywfTzElSLOBMZsL/certificate \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"certificate\": \"\\\"-----BEGIN CERTIFICATE-----\\\\nMIIFNzCCBB+gAwIBAgHTAAXomJWRama3ypu8TIxdA9wzMA0GCSqGSIb3DQEBCwUA\\\\nMDIzCzAJCgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD\\\\nEwJSMzAeFw0yMTAyMTAwNTEzMDVaFw0yMTA1MTEwNTEzMDVaMCQxIjAgBgNVBAMT\\\\nGWFuaXRhdGVzdC5zaWdtYW5ldGNvcnAudXMwggEiMA0GCSqGSIb3DQEBAQUAA4IB\\\\nDwAwggEKAoIBAQC5cyk6x63iBJSWvtgsOBqIxfO8euPHcRnyWsL9dsvnbNyOnyvc\\\\nqFWxdiW3sh2cItzYtoN1Zfgj5lWGOVXbHxP0VaNG9fHVX3+NHP6LFHQz92BzAYQm\\\\npqi9zaP/aKJklk6LdPFbVLGhuZfm34+ijW9YsgLTKR2WTaZJK5QtamVVmP+VsSCl\\\\na2ifFzjz2FCkMMEc/Y0zUyP+en/mbL71K+VnpZdlEC1s38EvjRTFKFZTKVw5wpWg\\\\nCZQq/AZYj9RxR23IIuRcUJ8TQ2pyoc3kIXPWjiIarSgBlA8G9kCsxgzXP2RyLwKr\\\\nIBIo+qyHweifpPYW28ipdSbPjiypAMdpbGLDAgMBAAGjggJTMIICTzAOBgNVHQ8B\\\\nAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB\\\\n/wQCMAAwHQYDVR0OBBYEFPVZKiovtIK4Av/IBUQeLUs29pT6MB8GA1UdIwQYMBaA\\\\nFBQusxe3WFbLrlAJQOYfr52LFMLGMFUGCCsGAQUFBwEBBEkwRzAhBggrBgEFBQcw\\\\nAYYVaHR0cDovL3IzLm8ubGVuY3Iub3JnMCIGCCsGAQUFBzAChhZodHRwOi8vcjMu\\\\naS5sZW5jci5vcmcvMCQGA1UdEQQdMBuCGWFuaXRhdGVzdC5zaWdtYW5ldGNvcnAu\\\\ndXMwTAYDVR0gBEUwQzAIBgZngQwBAgEwNwYLKwYBBAGC3xMBAQEwKDAmBggrBgEF\\\\nBQcCARYaaHR0cDovL2Nwcy5sZXRzZW5jcnlwdC5vcmcwggEDBgorBgEEAdZ5AgQC\\\\nBIH0BIHxAO8AdgBc3EOS/uarRUSxXprUVuYQN/vV+kfcoXOUsl7m9scOygAAAXeK\\\\nkmOsAAAEAwBHMEUCIQDSudPEWXk969BT8yz3ag6BJWCMRU5tefEw9nXEQMsh5gIg\\\\nUmfGIuUlcNNI5PydVIHj+zns+SR8P7zfd3FIxW4gK0QAdQD2XJQv0XcwIhRUGAgw\\\\nlFaO400TGTO/3wwvIAvMTvFk4wAAAXeKkmOlAAAEAwBGMEQCIHQkr2qOGuInvonv\\\\nW4vvdI61nraax5V6SC3E0D2JSO91AiBVhpX4BBafRAh36r7l8LrxAfxBM3CjBmAC\\\\nq8fUrWfIWDANBgkqhkiG9w0BAQsFAAOCAQEAgGDMKXofKpDdv5kkID3s5GrKdzaj\\\\njFmb/6kyqd1E6eGXZAewCP1EF5BVvR6lBP2aRXiZ6sJVZktoIfztZnbxBGgbPHfv\\\\nR3iXIG6fxkklzR9Y8puPMBFadANE/QV78tIRAlyaqeSNsoxHi7ssQjHTP111B2lf\\\\n3KmuTpsruut1UesEJcPReLk/1xTkRx262wAncach5Wp+6GWWduTZYJbsNFyrK1RP\\\\nYQ0qYpP9wt2qR+DGaRUBG8i1XLnZS8pkyxtKhVw/a5Fowt+NqCpEBjjJiWJRSGnG\\\\nNSgRtSXq11j8O4JONi8EXe7cEtvzUiLR5PL3itsK2svtrZ9jIwQ95wOPaA==\\\\n-----END CERTIFICATE-----\\\",\",\n    \"certificateChain\": \"\\\"-----BEGIN CERTIFICATE-----\\\\nMIIFPjCCBCbjAwIBAgISA7RikMltj36DkLk1DUzjwfYBMA0GCSqGSIb3DQEBCwUA\\\\nMDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD\\\\nEwJSMzAeFw0yMTEwMTExOTQ3MjRaFw0yMjAxMDkxOTQ3MjNaMCgxJjAkBgNVBAMT\\\\nHWFuaXRhdGVzdHJhaW4uc2lnbWFuZXRjb3JwLnVzMIIBIjANBgkqhkiG9w0BAQEF\\\\nAAOCAQ8AMIIBCgKCAQEA40EsG7YrFlsH3XdZKirdKKOC7/cca5g9L4rwyA/PlfeU\\\\nB7mJhbQI/a3yZbtY+GjHmedBx15aPtyq+NFZLOkiRCXx0k2zNIJB4yC6Jr/Yp8C2\\\\nrXO6mrCcuqpX7SuDPBtrfdYcIg8G6m0wjj1V1p2/XR8G//CBe8I2XTaTpHsx/VC8\\\\nMNOAA27aSbeX4Nz6TQ69rFuxRG+neUbcz2hQKwroCsCHi6iBmqRkg19Uh8315Cx2\\\\nBUqY0JecpP42KMiktzIoSlqS9yZSuNQh1kP1tPwkEzbs/t3FrfCnnRx5RDr2pJpV\\\\nnonL3sB3TVotS3nFgPNHCfp65O0Bg/3ZpU9IvUpcdQIDAQABo4ICVjCCAlIwDgYD\\\\nVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNV\\\\nHRMBAf8EAjAAMB0GA1UdDgQWBBSzWt3Dvp71cKA2Z54ESjjyM4dp+jAfBgNVHSME\\\\nGDAWgBQULrMXt1hWy65QCUDmH6+dixTCxjBVBggrBgEFBQcBAQRJMEcwIQYIKwYB\\\\nBQUHMAGGFWh0dHA6Ly9yMy5vLmxlbmNyLm9yZzAiBggrBgEFBQcwAoYWaHR0cDov\\\\nL3IzLmkubGVuY3Iub3JnLzAoBgNVHREEITAfgh1hbml0YXRlc3RyYWluLnNpZ21h\\\\nbmV0Y29ycC51czBMBgNVHSAERTBDMAgGBmeBDAECATA3BgsrBgEEAYLfEwEBATAo\\\\nMCYGCCsGAQUFBwIBFhpodHRwOi8vY3BzLmxldHNlbmNyeXB0Lm9yZzCCAQIGCisG\\\\nAQQB1nkCBAIEgfMEgfAA7gB1AG9Tdqwx8DEZ2JkApFEV/3cVHBHZAsEAKQaNsgia\\\\nN9kTAAABfHEcLqAAAAQDAEYwRAIgMlyQ61FjuIKDfATjz0wfkskChD0csVe0TStq\\\\nmC7NbLACICp3CYMvvDiWt1pr5pzCwTQO8F6v0/qNjmH4mjCutAgyAHUARqVV63X6\\\\nkSAwtaKJafTzfREsQXS+/Um4havy/HD+bUcAAAF8cRwvRAAABAMARjBEAiAZd6Vn\\\\n7MLXT7JeIxZrfbNARrf5oCM4UAVjjJeaUhB1MwIgSLW5cVAZvkiwbQW+vIutFjBz\\\\na8cNb/i+nM7RxFW+JPgwDQYJKoZIhvcNAQELBQADggEBAIlHZiHIuOvYFteqpwvR\\\\n0ElqinIpkYsfI+0O5FwHBXz7vMCPGtfdlcX5M10eW3aEBo9lR59mjDMsMufbTb60\\\\nJuSnguelkUoq4WzqjZI+2uy/FTztI5GPpXmXW3IyzbqmCWQt7u8N607g1TYLBaLL\\\\nrbFIhl+LbTJAa//mxI6bb4l/86j/kSjht6U0OIde7ylscb+3MHobbpIWJYp8Jr1D\\\\nubm/0glL46ExnuLbIKojLhDBnG/wHVunB0rJxGh1vPvwD75O1nSIdxuNlVcGwws+\\\\n7wsOyPA1s0VWzrMN1olLMyIPFCwPvfCm1E8Dje1AXMpmyDlqjEoQsoMUH//GKF0S\\\\nTgM=\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\nMIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw\\\\nTzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh\\\\ncmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw\\\\nWhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg\\\\nRW5jcnlwdDELMAkGA1UEAxMCUjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK\\\\nAoIBAQC7AhUozPaglNMPEuyNVZLD+ILxmaZ6QoinXSaqtSu5xUyxr45r+XXIo9cP\\\\nR5QUVTVXjJ6oojkZ9YI8QqlObvU7wy7bjcCwXPNZOOftz2nwWgsbvsCUJCWH+jdx\\\\nsxPnHKzhm+/b5DtFUkWWqcFTzjTIUu61ru2P3mBw4qVUq7ZtDpelQDRrK9O8Zutm\\\\nNHz6a4uPVymZ+DAXXbpyb/uBxa3Shlg9F8fnCbvxK/eG3MHacV3URuPMrSXBiLxg\\\\nZ3Vms/EY96Jc5lP/Ooi2R6X/ExjqmAl3P51T+c8B5fWmcBcUr2Ok/5mzk53cU6cG\\\\n/kiFHaFpriV1uxPMUgP17VGhi9sVAgMBAAGjggEIMIIBBDAOBgNVHQ8BAf8EBAMC\\\\nAYYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMBIGA1UdEwEB/wQIMAYB\\\\nAf8CAQAwHQYDVR0OBBYEFBQusxe3WFbLrlAJQOYfr52LFMLGMB8GA1UdIwQYMBaA\\\\nFHm0WeZ7tuXkAXOACIjIGlj26ZtuMDIGCCsGAQUFBwEBBCYwJDAiBggrBgEFBQcw\\\\nAoYWaHR0cDovL3gxLmkubGVuY3Iub3JnLzAnBgNVHR8EIDAeMBygGqAYhhZodHRw\\\\nOi8veDEuYy5sZW5jci5vcmcvMCIGA1UdIAQbMBkwCAYGZ4EMAQIBMA0GCysGAQQB\\\\ngt8TAQEBMA0GCSqGSIb3DQEBCwUAA4ICAQCFyk5HPqP3hUSFvNVneLKYY611TR6W\\\\nPTNlclQtgaDqw+34IL9fzLdwALduO/ZelN7kIJ+m74uyA+eitRY8kc607TkC53wl\\\\nikfmZW4/RvTZ8M6UK+5UzhK8jCdLuMGYL6KvzXGRSgi3yLgjewQtCPkIVz6D2QQz\\\\nCkcheAmCJ8MqyJu5zlzyZMjAvnnAT45tRAxekrsu94sQ4egdRCnbWSDtY7kh+BIm\\\\nlJNXoB1lBMEKIq4QDUOXoRgffuDghje1WrG9ML+Hbisq/yFOGwXD9RiX8F6sw6W4\\\\navAuvDszue5L3sz85K+EC4Y/wFVDNvZo4TYXao6Z0f+lQKc0t8DQYzk1OXVu8rp2\\\\nyJMC6alLbBfODALZvYH7n7do1AZls4I9d1P4jnkDrQoxB3UqQ9hVl3LEKQ73xF1O\\\\nyK5GhDDX8oVfGKF5u+decIsH4YaTw7mP3GFxJSqv3+0lUFJoi5Lc5da149p90Ids\\\\nhCExroL1+7mryIkXPeFM5TgO9r0rvZaBFOvV2z0gp35Z0+L4WPlbuEjN/lxPFin+\\\\nHlUjr8gRsI3qfJOQFy/9rKIJR0Y/8Omwt/8oTWgy1mdeHmmjk7j1nYsvC9JSQ6Zv\\\\nMldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX\\\\nnLRbwHOoq7hHwg==\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\nMIIFYDCCBEigAwIBAgIQQAF3ITfU6UK47naqPGQKtzANBgkqhkiG9w0BAQsFADA/\\\\nMSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT\\\\nDkRTVCBSb290IENBIFgzMB4XDTIxMDEyMDE5MTQwM1oXDTI0MDkzMDE4MTQwM1ow\\\\nTzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh\\\\ncmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwggIiMA0GCSqGSIb3DQEB\\\\nAQUAA4ICDwAwggIKAoICAQCt6CRz9BQ385ueK1coHIe+3LffOJCMbjzmV6B493XC\\\\nov71am72AE8o295ohmxEk7axY/0UEmu/H9LqMZshftEzPLpI9d1537O4/xLxIZpL\\\\nwYqGcWlKZmZsj348cL+tKSIG8+TA5oCu4kuPt5l+lAOf00eXfJlII1PoOK5PCm+D\\\\nLtFJV4yAdLbaL9A4jXsDcCEbdfIwPPqPrt3aY6vrFk/CjhFLfs8L6P+1dy70sntK\\\\n4EwSJQxwjQMpoOFTJOwT2e4ZvxCzSow/iaNhUd6shweU9GNx7C7ib1uYgeGJXDR5\\\\nbHbvO5BieebbpJovJsXQEOEO3tkQjhb7t/eo98flAgeYjzYIlefiN5YNNnWe+w5y\\\\nsR2bvAP5SQXYgd0FtCrWQemsAXaVCg/Y39W9Eh81LygXbNKYwagJZHduRze6zqxZ\\\\nXmidf3LWicUGQSk+WT7dJvUkyRGnWqNMQB9GoZm1pzpRboY7nn1ypxIFeFntPlF4\\\\nFQsDj43QLwWyPntKHEtzBRL8xurgUBN8Q5N0s8p0544fAQjQMNRbcTa0B7rBMDBc\\\\nSLeCO5imfWCKoqMpgsy6vYMEG6KDA0Gh1gXxG8K28Kh8hjtGqEgqiNx2mna/H2ql\\\\nPRmP6zjzZN7IKw0KKP/32+IVQtQi0Cdd4Xn+GOdwiK1O5tmLOsbdJ1Fu/7xk9TND\\\\nTwIDAQABo4IBRjCCAUIwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYw\\\\nSwYIKwYBBQUHAQEEPzA9MDsGCCsGAQUFBzAChi9odHRwOi8vYXBwcy5pZGVudHJ1\\\\nc3QuY29tL3Jvb3RzL2RzdHJvb3RjYXgzLnA3YzAfBgNVHSMEGDAWgBTEp7Gkeyxx\\\\n+tvhS5B1/8QVYIWJEDBUBgNVHSAETTBLMAgGBmeBDAECATA/BgsrBgEEAYLfEwEB\\\\nATAwMC4GCCsGAQUFBwIBFiJodHRwOi8vY3BzLnJvb3QteDEubGV0c2VuY3J5cHQu\\\\nb3JnMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6Ly9jcmwuaWRlbnRydXN0LmNvbS9E\\\\nU1RST09UQ0FYM0NSTC5jcmwwHQYDVR0OBBYEFHm0WeZ7tuXkAXOACIjIGlj26Ztu\\\\nMA0GCSqGSIb3DQEBCwUAA4IBAQAKcwBslm7/DlLQrt2M51oGrS+o44+/yQoDFVDC\\\\n5WxCu2+b9LRPwkSICHXM6webFGJueN7sJ7o5XPWioW5WlHAQU7G75K/QosMrAdSW\\\\n9MUgNTP52GE24HGNtLi1qoJFlcDyqSMo59ahy2cI2qBDLKobkx/J3vWraV0T9VuG\\\\nWCLKTVXkcGdtwlfFRjlBz4pYg1htmf5X6DYO8A4jqv2Il9DjXA6USbW1FzXSLr9O\\\\nhe8Y4IWS6wY7bCkjCWDcRQJMEhg76fsO3txE+FiYruq9RUWhiF1myv4Q6W+CyBFC\\\\nDfvp7OOGAN6dEOM4+qR9sdjoSYKEBpsr6GtPAQw4dy753ec5\\\\n-----END CERTIFICATE-----\\\"\",\n    \"privateKey\": \"\\\"-----BEGIN PRIVATE KEY-----\\\\nMIIEvgIBADANBgkqhkiG9w0AAQEFAASCBKgwghSkAgEAAoIBAQC5cyk6y63iBJSW\\\\nstgsOBqIxfO8euPHcRnyWsL9dsvnbNyOnyvcqFWxdiW3sh2cItzYtoN1Zfgj5lWG\\\\nOVXbHxP0VaNG9fHVX3+NHP6LFHQz92BzAYQmpqi9zaP/aKJklk6LdPFbVLGhuZfm\\\\n34+ijW9YsgLTKR2WTaZJK5QtamVVmP+VsSCla2ifFzjz2FCkMMEc/Y0zUyP+en/m\\\\nbL71K+VnpZdlEC1s38EvjRTFKFZTKVw5wpWgCZQq/AZYj9RxR23IIuRcUJ8TQ2py\\\\noc3kIXPWjiIarSgBlA8G9kCsxgzXP2RyLwKrIBIo+qyHweifpPYW28ipdSbPjiyp\\\\nAMdpbGLDAgMBAAECggEAUXVfT91z6IqghhKwO8QtC5T/+fN06B8rCYSKj/FFoZL0\\\\n0oTiLFuYwImoCadoUDQUE/Efj0rKE2LSgFHg/44IItQXE01m+5WmHmL1ADxsyoLH\\\\nz9yDosKj7jNM7RyV8F8Bg0pL1hU+rU4rhhL/MaS0mx4eFYjC4UmcWBmXTdelSVJa\\\\nkvXvQLT5y86bqh7tqMjM/kALTWRz5CgNJFk/ONA1yo5RTX9S7SIXimBgAvuGqP8i\\\\nMPEhJou7U3DfzXVfvP8byqNdsZs6ZNhG3wXspl61mRyrY+51SOaNLA7Bkji7x4bH\\\\nNw6mJI0IJTAP9oc1Z8fYeMuxT1bfuD7VOupSP0mAMQKBgQDk+KuyQkmPymeP/Wwu\\\\nII4DUpleVzxTK9obMQQoCEEElbQ6+jTb+8ixP0bWLvBXg/rX734j7OWfn/bljWLH\\\\nXLrSoqQZF1+XMVeY4g4wx9UuTK/D2n791zdOgQivxbIPdWL3a4ap86ar8uyMgJu8\\\\nBLXfFBAOc+9myqUkbeO7wt0e6QKBgQDPV04jPtIJoMrggpQDNreGrANKOmsXWxj4\\\\nOHW13QNdJ2KGQpoTdoqQ8ZmlxuA8Bf2RjHsnB2kgGVTVQR74zRib4MByhvsdhvVm\\\\nF2LNsJoIDfqtv3c+oj13VonRUGuzUeJpwT/snyaL+jQ/ZZcYz0jDgDhIODTcFYj8\\\\nDMSD5SHgywKBgHH6MwWuJ44TNBAiF2qyu959jGjAxf+k0ZI9iRMgYLUWjDvbdtqW\\\\ncCWDGRDfFraJtSEuTz003GzkJPPJuIUC7OCTI1p2HxhU8ITi6itwHfdJJyk4J4TW\\\\nT+qdIqTUpTk6tsPw23zYE3x+lS+viVZDhgEArKl1HpOthh0nMnixnH6ZAoGBAKGn\\\\nV+xy1h9bldFk/TFkP8Jn6ki9MzGKfPVKT7vzDORcCJzU4Hu8OFy5gSmW3Mzvfrsz\\\\n4/CR/oxgM5vwoc0pWr5thJ3GT5K93iYypX3o6q7M91zvonDa3UFl3x2qrc2pUfVS\\\\nDhzWGJ+Z+5JSCnP1aK3EEh18dPoCcELTUYPj6X3xAoGBALAllTb3RCIaqIqk+s3Y\\\\n6KDzikgwGM6j9lmOI2MH4XmCVym4Z40YGK5nxulDh2Ihn/n9zm13Z7ul2DJwgQSO\\\\n0zBc7/CMOsMEBaNXuKL8Qj4enJXMtub4waQ/ywqHIdc50YaPI5Ax8dD/10h9M6Qc\\\\nnUFLNE8pXSnsqb0eOL74f3uQ\\\\n-----END PRIVATE KEY-----\\\"\",\n    \"type\": \"PEM\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":2454}}485{"id":"doc-verify_a_custom_domain-b41c1987","source":"documentation","title":"Verify a custom domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customdomain/other/verifydomain","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/domains/OmWNeywfTzElSLOBMZsL/verify\n```\n\nExample:\n```text\n{\n  \"brandId\": \"bndul904tTZ6kWVhP0g3\",\n  \"certificateSourceType\": \"MANUAL\",\n  \"dnsRecords\": [\n    { … }\n  ],\n  \"domain\": \"login.example.com\",\n  \"id\": \"OcDz6iRyjkaCTXkdo0g3\",\n  \"publicCertificate\": {\n    \"expiration\": \"2021-05-11T05:13:05.000Z\",\n    \"fingerprint\": \"73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4\",\n    \"subject\": \"CN=login.example.com\"\n  },\n  \"validationStatus\": \"VERIFIED\",\n  \"_links\": {\n    \"self\": { … },\n    \"brand\": { … },\n    \"certificate\": { … },\n    \"verify\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":173}}486{"id":"doc-list_all_custom_domains-b1ae834b","source":"documentation","title":"List all custom domains","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customdomain/other/listcustomdomains","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/domains\n```\n\nExample:\n```text\n{\n  \"domains\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":38}}487{"id":"doc-delete_a_custom_domain-82ee9cd1","source":"documentation","title":"Delete a custom domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customdomain/other/deletecustomdomain","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/domains/OmWNeywfTzElSLOBMZsL\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}488{"id":"doc-delete_an_email_domain-3e4ebf1f","source":"documentation","title":"Delete an email domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emaildomain/other/deleteemaildomain","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/email-domains/{emailDomainId}?expand=brands'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":43}}489{"id":"doc-create_an_email_domain-b71005ee","source":"documentation","title":"Create an email domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emaildomain/other/createemaildomain","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/email-domains?expand=brands' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"displayName\": \"Admin\",\n    \"userName\": \"admin\",\n    \"domain\": \"example.com\",\n    \"brandId\": \"bnd100iSrkcN6aR680g1\",\n    \"validationSubdomain\": \"mail\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"OeD114iNkrcN6aR680g4\",\n  \"validationStatus\": \"NOT_STARTED\",\n  \"displayName\": \"Admin\",\n  \"userName\": \"admin\",\n  \"domain\": \"example.com\",\n  \"validationSubdomain\": \"mail\",\n  \"dnsValidationRecords\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":152}}490{"id":"doc-replace_a_custom_domain_s_brand-b97ca8ea","source":"documentation","title":"Replace a custom domain's brand","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customdomain/other/replacecustomdomain","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/domains/OmWNeywfTzElSLOBMZsL \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"brandId\": \"bndul904tTZ6kWVhP0g3\"\n  }'\n```\n\nExample:\n```text\n{\n  \"brandId\": \"bndul904tTZ6kWVhP0g3\",\n  \"certificateSourceType\": \"MANUAL\",\n  \"dnsRecords\": [\n    { … }\n  ],\n  \"domain\": \"login.example.com\",\n  \"id\": \"OcDz6iRyjkaCTXkdo0g3\",\n  \"publicCertificate\": {\n    \"expiration\": \"2021-05-11T05:13:05.000Z\",\n    \"fingerprint\": \"73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4\",\n    \"subject\": \"CN=login.example.com\"\n  },\n  \"validationStatus\": \"VERIFIED\",\n  \"_links\": {\n    \"self\": { … },\n    \"brand\": { … },\n    \"certificate\": { … },\n    \"verify\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":194}}491{"id":"doc-verify_an_email_domain-a3d71ebb","source":"documentation","title":"Verify an email domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emaildomain/other/verifyemaildomain","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/email-domains/{emailDomainId}/verify'\n```\n\nExample:\n```text\n{\n  \"id\": \"OeD114iNkrcN6aR680g4\",\n  \"validationStatus\": \"VERIFIED\",\n  \"displayName\": \"IT Admin\",\n  \"userName\": \"noreply\",\n  \"domain\": \"example.com\",\n  \"validationSubdomain\": \"mail\",\n  \"dnsValidationRecords\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":102}}492{"id":"doc-list_all_email_domains-c47fd852","source":"documentation","title":"List all email domains","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emaildomain/other/listemaildomains","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/email-domains?expand=brands'\n```\n\nExample:\n```text\n{\n  \"id\": \"OeD114iNkrcN6aR680g4\",\n  \"validationStatus\": \"NOT_STARTED\",\n  \"displayName\": \"Admin\",\n  \"userName\": \"admin\",\n  \"domain\": \"example.com\",\n  \"validationSubdomain\": \"mail\",\n  \"dnsValidationRecords\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":99}}493{"id":"doc-retrieve_a_custom_domain-40483441","source":"documentation","title":"Retrieve a custom domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customdomain/other/getcustomdomain","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/domains/OmWNeywfTzElSLOBMZsL\n```\n\nExample:\n```text\n{\n  \"brandId\": \"bndul904tTZ6kWVhP0g3\",\n  \"certificateSourceType\": \"MANUAL\",\n  \"dnsRecords\": [\n    { … }\n  ],\n  \"domain\": \"login.example.com\",\n  \"id\": \"OcDz6iRyjkaCTXkdo0g3\",\n  \"publicCertificate\": {\n    \"expiration\": \"2021-05-11T05:13:05.000Z\",\n    \"fingerprint\": \"73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4\",\n    \"subject\": \"CN=login.example.com\"\n  },\n  \"validationStatus\": \"VERIFIED\",\n  \"_links\": {\n    \"self\": { … },\n    \"brand\": { … },\n    \"certificate\": { … },\n    \"verify\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":171}}494{"id":"doc-create_a_custom_domain-7d1836b8","source":"documentation","title":"Create a custom domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/customdomain/other/createcustomdomain","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/domains \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"certificateSourceType\": \"MANUAL\",\n    \"domain\": \"login.example.com\"\n  }'\n```\n\nExample:\n```text\n{\n  \"brandId\": \"bndul904tTZ6kWVhP0g3\",\n  \"certificateSourceType\": \"MANUAL\",\n  \"dnsRecords\": [\n    { … }\n  ],\n  \"domain\": \"login.example.com\",\n  \"id\": \"OcDz6iRyjkaCTXkdo0g3\",\n  \"publicCertificate\": {\n    \"expiration\": \"2021-05-11T05:13:05.000Z\",\n    \"fingerprint\": \"73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4\",\n    \"subject\": \"CN=login.example.com\"\n  },\n  \"validationStatus\": \"VERIFIED\",\n  \"_links\": {\n    \"self\": { … },\n    \"brand\": { … },\n    \"certificate\": { … },\n    \"verify\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":198}}495{"id":"doc-retrieve_an_email_domain-8609376a","source":"documentation","title":"Retrieve an email domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emaildomain/other/getemaildomain","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/email-domains/{emailDomainId}?expand=brands'\n```\n\nExample:\n```text\n{\n  \"id\": \"OeD114iNkrcN6aR680g4\",\n  \"validationStatus\": \"NOT_STARTED\",\n  \"displayName\": \"Admin\",\n  \"userName\": \"admin\",\n  \"domain\": \"example.com\",\n  \"validationSubdomain\": \"mail\",\n  \"dnsValidationRecords\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":103}}496{"id":"doc-replace_an_email_domain-0543822e","source":"documentation","title":"Replace an email domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/emaildomain/other/replaceemaildomain","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/email-domains/{emailDomainId}?expand=brands' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"displayName\": \"IT Admin\",\n    \"userName\": \"noreply\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"OeD114iNkrcN6aR680g4\",\n  \"validationStatus\": \"NOT_STARTED\",\n  \"displayName\": \"IT Admin\",\n  \"userName\": \"noreply\",\n  \"domain\": \"example.com\",\n  \"validationSubdomain\": \"mail\",\n  \"dnsValidationRecords\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":133}}497{"id":"doc-replace_the_customized_error_page-1404c947","source":"documentation","title":"Replace the customized error page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/replacecustomizederrorpage","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/customized' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"pageContent\": \"string\",\n    \"contentSecurityPolicySetting\": {\n      \"mode\": \"enforced\",\n      \"reportUri\": \"string\",\n      \"srcList\": [\n        \"string\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":131}}498{"id":"doc-retrieve_the_error_page_sub_resources-8a981d15","source":"documentation","title":"Retrieve the error page sub-resources","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/geterrorpage","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error?expand=default'\n```\n\nExample:\n```text\n{\n  \"_embedded\": {\n    \"default\": { … },\n    \"customized\": { … },\n    \"customizedUrl\": \"http://example.com\",\n    \"preview\": { … },\n    \"previewUrl\": \"http://example.com\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"default\": { … },\n    \"customized\": { … },\n    \"preview\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.924Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":110}}499{"id":"doc-delete_the_preview_error_page-de674da5","source":"documentation","title":"Delete the preview error page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/deletepreviewerrorpage","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/preview'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.924Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}500{"id":"doc-retrieve_the_default_error_page-06328368","source":"documentation","title":"Retrieve the default error page","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/custompages/other/getdefaulterrorpage","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/default'\n```\n\nExample:\n```text\n{\n  \"pageContent\": \"string\",\n  \"contentSecurityPolicySetting\": {\n    \"mode\": \"enforced\",\n    \"reportUri\": \"string\",\n    \"srcList\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.924Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":73}}501{"id":"doc-token-18838ed6","source":"documentation","title":"/token","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/tokenoptionscustomas","text":"Example:\n```text\ncurl -i -X OPTIONS \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/token' \\\n  -H 'Origin: example.okta.com'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.924Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":49}}502{"id":"doc-token-86e6b46d","source":"documentation","title":"/token","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/tokencustomas","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/token' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d client_id=0jrabyQWm4B9zVJPbotY \\\n  -d client_secret=6W7XvLCrs4ByKn7Ucwh8ygeeXRhdGFdVOTp75eOc \\\n  -d grant_type=authorization_code \\\n  -d redirect_uri=https://www.example.com/oauth2/redirectUri \\\n  -d 'code=QnowT-aeawtOJKp-MtkH&'\n```\n\nExample:\n```text\n{\n  \"access_token\": \"<access_token_value>\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600,\n  \"scope\": \"openid email offline_access\",\n  \"refresh_token\": \"a9VpZDRCeFh3Nkk2VdY\",\n  \"id_token\": \"<id_token_example>\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.925Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":163}}503{"id":"doc-par-f76153db","source":"documentation","title":"/par","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/paroptionscustomas","text":"Example:\n```text\ncurl -i -X OPTIONS \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/par' \\\n  -H 'Origin: example.okta.com'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.925Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":48}}504{"id":"doc-device_authorize-499403cc","source":"documentation","title":"/device/authorize","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/customas/deviceauthorizecustomas","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/device/authorize' \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d client_id=string \\\n  -d 'resource=[\"http://example.com\"]' \\\n  -d scope=string\n```\n\nExample:\n```text\n{\n  \"user_code\": \"RGTCFDTL\",\n  \"device_code\": \"5cbeb234-7e00-4ff7-9aa2-b1a4558a75d2\",\n  \"interval\": 5,\n  \"verification_uri_complete\": \"https://{yourOktaDomain}/activate?user_code=RGTCFDTL\",\n  \"verification_uri\": \"https://{yourOktaDomain}/activate\",\n  \"expires_in\": 600\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:40.925Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":143}}505{"id":"doc-user_password_recovery_okta_developer-447be286","source":"documentation","title":"User password recovery | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-pwd-recovery-mfa/nodejs/main/","text":"Example:\n```javascript\ntry {\n  const transaction = await authClient.idx.recoverPassword({ username });\n  handleTransaction({ req, res, next, authClient, transaction });\n} catch (error) {\n  next(error);\n}\n```\n\nExample:\n```javascript\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"select-authenticator-authenticate\",\n    inputs: [\n      {\n        name: \"authenticator\",\n        type: \"string\",\n        options: [\n          {\n            label: \"Email\",\n            value: \"okta_email\",\n          }\n        ],\n      },\n    ],\n  },\n}\n```\n\nExample:\n```javascript\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"reset-authenticator\",\n    inputs: [\n      {\n        name: \"password\",\n        label: \"New password\",\n        secret: true,\n        type: \"string\",\n        required: true,\n      },\n    ],\n  },\n}\n```\n\nExample:\n```javascript\nrouter.post('/reset-password', async (req, res, next) => {\n  const { password, confirmPassword } = req.body;\n  if (password !== confirmPassword) {\n    next(new Error('Password not match'));\n    return;\n  }\n\n  const authClient = getAuthClient(req);\n  const transaction = await authClient.idx.recoverPassword({ password });\n  handleTransaction({ req, res, next, authClient, transaction });\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.759Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":67,"estimatedTokens":310}}506{"id":"doc-customize_tokens_returned_from_okta_with_a_group-0abd0d40","source":"documentation","title":"Customize tokens returned from Okta with a groups claim | Okta Developer","url":"https://developer.okta.com/docs/guides/customize-tokens-groups-claim/main/","text":"Example:\n```bash\ncurl -X GET\n\"https://{yourOktaDomain}/oauth2/{authorizationServerId}/v1/authorize?client_id=examplefa39J4jXdcCwWA\n&response_type=id_token\n&scope=openid\n&redirect_uri=https%3A%2F%2FyourRedirectUriHere.com\n&state=myState\n&nonce=myNonceValue\"\n```\n\nExample:\n```bash\nhttps://yourRedirectUriHere.com#id_token=eyJraWQiOiIxLVN5[...]C18aAqT0ixLKnJUR6EfJI-IAjtJDYpsHqML7mppBNhG1W55Qo3IRPAg&state=myState\n```\n\nExample:\n```bash\nhttps://yourRedirectUriHere.com#access_token=eyJraWQiOiIxLVN5M2w2dFl2VTR4MXBSLXR5cVZQWERX[...]YNXrsr1gTzD6C60h0UfLiLUhA&token_type=Bearer&expires_in=3600&scope=openid&state=myState\n```\n\nExample:\n```bash\ncurl -X GET\n  \"https://{yourOktaDomain}/oauth2/v1/authorize?client_id=examplefa39J4jXdcCwWA\n  &response_type=id_token\n  &scope=openid%20groups\n  &redirect_uri=https%3A%2F%2FyourRedirectUriHere.com\n  &state=myState\n  &nonce=myNonceValue\"\n```\n\nExample:\n```json\n{\n  \"sub\": \"00uixa271s6x7qt8I0h7\",\n  \"ver\": 1,\n  \"iss\": \"https://{yourOktaDomain}\",\n  \"aud\": \"0oaoiuhhch8VRtBnC0h7\",\n  \"iat\": 1574201516,\n  \"exp\": 1574205116,\n  \"jti\": \"ID.ewMNfSvcpuqyS93OgVeCN3F2LseqROkyYjz7DNb9yhs\",\n  \"amr\": [\n    \"pwd\",\n    \"mfa\",\n    \"kba\"\n  ],\n  \"idp\": \"00oixa26ycdNcX0VT0h7\",\n  \"nonce\": \"UBGW\",\n  \"auth_time\": 1574201433,\n  \"groups\": [\n    \"Everyone\",\n    \"IT\"\n  ]\n}\n```\n\nExample:\n```bash\ncurl -X GET\n\"https://{yourOktaDomain}/oauth2/{authorizationServerId}/v1/authorize?client_id=examplefa39J4jXdcCwWA\n&response_type=token\n&scope=openid\n&redirect_uri=https%3A%2F%2FyourRedirectUriHere.com\n&state=myState\n&nonce=myNonceValue\"\n```\n\nExample:\n```json\n{\n  \"ver\": 1,\n  \"jti\": \"AT.BYBJNkCefidrwo0VtGLHIZCYfSAeOyB0tVPTB6eqFss\",\n  \"iss\": \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\",\n  \"aud\": \"https://{yourOktaDomain}\",\n  \"iat\": 1617301739,\n  \"exp\": 1617305339,\n  \"cid\": \"0oaipnnzumvqt5tiu1d6\",\n  \"uid\": \"00uzrjisTQK1SlAMB1d5\",\n  \"scp\": [\n    \"openid\"\n  ],\n  \"sub\": \"joe.user@example.com\",\n  \"GroupsClaim\": [\n    \"Midwest Sales\",\n    \"Everyone\"\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.759Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":91,"estimatedTokens":498}}507{"id":"doc-activate_a_user-53c00998","source":"documentation","title":"Activate a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/other/activateuser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/activate?sendEmail=true'\n```\n\nExample:\n```text\n{\n  \"activationToken\": \"XE6wE17zmphl3KqAPFxO\",\n  \"activationUrl\": \"https://{yourOktaDomain}/tokens/XE6wE17zmphl3KqAPFxO/verify\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.759Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":72}}508{"id":"doc-enterprise_identity_verification_vendor_okta_dev-2d23b1dd","source":"documentation","title":"Enterprise identity verification vendor | Okta Developer","url":"https://developer.okta.com/docs/guides/add-id-verification-idp/clear/main/","text":"Example:\n```json\n{\n  \"type\": \"IDV_CLEAR\",\n  \"name\": \"CLEAR1 IDV\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"scopes\": [\n      \"profile\",\n      \"identity_assurance\",\n      \"openid\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"accountLink\": {\n      \"filter\": null,\n      \"action\": \"AUTO\"\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  }\n}\n```\n\nExample:\n```json\n{\n  \"id\": \"0oab50jh0UPiB6xde0w6\",\n  \"name\": \"CLEAR1 IDV\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2025-01-14T19:59:41.000Z\",\n  \"lastUpdated\": \"2025-01-14T19:59:41.000Z\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"endpoints\": {\n      \"authorization\": {\n        \"url\": \"https://verified.clearme.com/oauth/idv_authorize\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"token\": {\n        \"url\": \"https://verified.clearme.com/hydra/oauth2/token\",\n        \"binding\": \"HTTP-POST\"\n      },\n      \"par\": {\n        \"url\": \"https://verified.clearme.com/oauth/par\",\n        \"binding\": \"HTTP-POST\"\n      }\n    },\n    \"scopes\": [\n      \"openid\",\n      \"profile\",\n      \"identity_assurance\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  },\n  \"type\": \"IDV_CLEAR\",\n  \"_links\": {\n    \"users\": {\n      \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oab50jh0UPiB6xde0w6/users\",\n      \"hints\": {\n        \"allow\": [\n          \"GET\"\n        ]\n      }\n    },\n    \"deactivate\": {\n      \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oab50jh0UPiB6xde0w6/lifecycle/deactivate\",\n      \"hints\": {\n        \"allow\": [\n          \"POST\"\n        ]\n      }\n    }\n  }\n}\n```\n\nExample:\n```json\n\"elCondition\": {\n        \"condition\": \"accessRequest.operation == 'enroll'\"\n    }\n```\n\nExample:\n```json\n{\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\":\n                    [\"{groupId}\"]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": \"{IDVId}\",\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"created\": \"2024-11-14T21:16:55.000Z\",\n    \"lastUpdated\": \"2024-11-14T21:16:55.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            },\n            \"groups\": {\n                \"include\": [\n                    {\"groupId\"}\n                ]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": {\"IDVId\"},\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"ACCESS_POLICY\"\n}\n```\n\nExample:\n```text\naccessRequest.operation == 'enroll'\n```\n\nExample:\n```text\naccessRequest.authenticator.key == 'okta_password' && accessRequest.operation == 'recover'\n```\n\nExample:\n```text\n{\n  'okta_verify',\n  'webauthn',\n  'smart_card_idp',\n  'yubikey_token'\n}.contains(accessRequest.authenticator.key) &&\naccessRequest.operation == 'enroll'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.760Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":253,"estimatedTokens":1321}}509{"id":"doc-enterprise_identity_provider_okta_developer-7fde3809","source":"documentation","title":"Enterprise identity provider | Okta Developer","url":"https://developer.okta.com/docs/guides/add-an-external-idp/openidconnect/main/","text":"Example:\n```json\n{\n      \"aud\": \"aud\",\n      \"auth_time\": \"auth_time\",\n      \"email\": \"email\",\n      \"exp\": \"exp\",\n      \"family_name\": \"family_name\",\n      \"given_name\": \"given_name\",\n      \"iat\": \"iat\",\n      \"iss\": \"iss\",\n      \"nonce\": \"nonce\",\n      \"sub\": \"sub\",\n      \"app_instance_id\": \"app_instance_id\",\n      \"app_name\": \"app_name\"\n  }\n```\n\nExample:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```html\n`<a href=\"https://{yourOktaDomain}/oauth2/v1/authorize?idp=0oaaq9pjc2ujmFZexample&client_id=GkGw4K49N4UEE1example&response_type=id_token&response_mode=fragment&scope=openid&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\">Sign in with Identity Provider</a>`\n```\n\nExample:\n```js\nconfig.idps= [\n  { type: 'IdentityProviderName', id: 'Your_IDP_ID_Here' }\n];\nconfig.idpDisplay = \"SECONDARY\";\n```\n\nExample:\n```js\nconfig.idps= [\n  {type: 'IdentityProviderName', id: 'Your_IDP_ID_Here'}\n];\nconfig.idpDisplay =\"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.761Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":45,"estimatedTokens":293}}510{"id":"doc-enterprise_identity_verification_vendor_okta_dev-a6bc20c1","source":"documentation","title":"Enterprise identity verification vendor | Okta Developer","url":"https://developer.okta.com/docs/guides/add-id-verification-idp/incode/main/","text":"Example:\n```json\n{\n  \"type\": \"IDV_INCODE\",\n  \"name\": \"Incode IDV\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"scopes\": [\n      \"profile\",\n      \"identity_assurance\",\n      \"openid\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"accountLink\": {\n      \"filter\": null,\n      \"action\": \"AUTO\"\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  }\n}\n```\n\nExample:\n```json\n{\n  \"id\": \"0oaf35tu47hnH9mlZ0w6\",\n  \"name\": \"Incode IDV\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2025-01-15T20:54:04.000Z\",\n  \"lastUpdated\": \"2025-01-15T20:54:05.000Z\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"endpoints\": {\n      \"authorization\": {\n        \"url\": \"https://auth.incode.com/oauth2/authorize\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"token\": {\n        \"url\": \"https://auth.incode.com/oauth2/token\",\n        \"binding\": \"HTTP-POST\"\n      },\n      \"par\": {\n        \"url\": \"https://auth.incode.com/oauth2/par\",\n        \"binding\": \"HTTP-POST\"\n      }\n    },\n    \"scopes\": [\n      \"openid\",\n      \"profile\",\n      \"identity_assurance\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  },\n  \"type\": \"IDV_INCODE\",\n  \"_links\": {\n    \"users\": {\n      \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oaf35tu47hnH9mlZ0w6/users\",\n      \"hints\": {\n        \"allow\": [\n          \"GET\"\n        ]\n      }\n    }\n  },\n  \"deactivate\": {\n    \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oaf35tu47hnH9mlZ0w6/lifecycle/deactivate\",\n    \"hints\": {\n      \"allow\": [\n        \"POST\"\n      ]\n    }\n  }\n}\n```\n\nExample:\n```json\n\"elCondition\": {\n        \"condition\": \"accessRequest.operation == 'enroll'\"\n    }\n```\n\nExample:\n```json\n{\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\":\n                    [\"{groupId}\"]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": \"{IDVId}\",\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"created\": \"2024-11-14T21:16:55.000Z\",\n    \"lastUpdated\": \"2024-11-14T21:16:55.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            },\n            \"groups\": {\n                \"include\": [\n                    {\"groupId\"}\n                ]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": {\"IDVId\"},\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"ACCESS_POLICY\"\n}\n```\n\nExample:\n```text\naccessRequest.operation == 'enroll'\n```\n\nExample:\n```text\naccessRequest.authenticator.key == 'okta_password' && accessRequest.operation == 'recover'\n```\n\nExample:\n```text\n{\n  'okta_verify',\n  'webauthn',\n  'smart_card_idp',\n  'yubikey_token'\n}.contains(accessRequest.authenticator.key) &&\naccessRequest.operation == 'enroll'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.762Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":253,"estimatedTokens":1312}}511{"id":"doc-reactivate_a_user-b52610a3","source":"documentation","title":"Reactivate a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/other/reactivateuser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/reactivate?sendEmail=false'\n```\n\nExample:\n```text\n{\n  \"activationToken\": \"XE6wE17zmphl3KqAPFxO\",\n  \"activationUrl\": \"https://{yourOktaDomain}/tokens/XE6wE17zmphl3KqAPFxO/verify\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.762Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":73}}512{"id":"doc-deactivate_a_user-f90a05a9","source":"documentation","title":"Deactivate a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlifecycle/other/deactivateuser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{id}/lifecycle/deactivate?sendEmail=false' \\\n  -H 'Prefer: respond-async'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.762Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":51}}513{"id":"doc-enterprise_identity_verification_vendor_okta_dev-5997d51b","source":"documentation","title":"Enterprise identity verification vendor | Okta Developer","url":"https://developer.okta.com/docs/guides/add-id-verification-idp/persona/main/","text":"Example:\n```json\n{\n    \"type\": \"IDV_PERSONA\",\n    \"name\": \"Persona IDV\",\n    \"protocol\": {\n        \"type\": \"ID_PROOFING\",\n        \"credentials\": {\n            \"bearer\": {\n                \"apiKey\": \"{PersonaAPIkey}\"\n            }\n        }\n    },\n    \"policy\": {\n        \"provisioning\": {\n            \"action\": \"DISABLED\",\n            \"profileMaster\": false,\n            \"groups\": null\n        },\n        \"subject\": {\n            \"userNameTemplate\": {\n                \"template\": \"source.userName\"\n            },\n            \"filter\": null,\n            \"matchType\": \"USERNAME\",\n            \"matchAttribute\": null\n        },\n        \"maxClockSkew\": 0\n    },\n    \"properties\": {\n        \"inquiryTemplateId\": \"{PersonaInquiryTemplateId}\"\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": {\"IDVId\"},\n    \"name\": \"Persona IDV\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2024-11-15T15:22:17.000Z\",\n    \"lastUpdated\": \"2024-11-15T15:22:17.000Z\",\n    \"protocol\": {\n        \"type\": \"ID_PROOFING\",\n        \"endpoints\": {\n            \"authorization\": {\n                \"url\": \"https://withpersona.com/verify\",\n                \"binding\": \"HTTP-REDIRECT\"\n            }\n        },\n        \"credentials\": {\n            \"bearer\": {\n                \"apiKey\": \n                    \"{PersonaAPIkey}\"\n            }\n        }\n    },\n    \"policy\": {\n        \"provisioning\": {\n            \"action\": \"DISABLED\",\n            \"profileMaster\": false,\n            \"groups\": null\n        },\n        \"subject\": {\n            \"userNameTemplate\": {\n                \"template\": \"source.userName\"\n            },\n            \"filter\": null,\n            \"matchType\": \"USERNAME\",\n            \"matchAttribute\": null\n        },\n        \"maxClockSkew\": 0\n    },\n    \"properties\": {\n        \"inquiryTemplateId\": \"{PersonaInquiryTemplateId}\"\n    },\n    \"type\": \"IDV_PERSONA\",\n    \"_links\": {\n        \"users\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/idps/0oal68on4q8cch2y55d7/users\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/idps/0oal68on4q8cch2y55d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n\"elCondition\": {\n        \"condition\": \"accessRequest.operation == 'enroll'\"\n    }\n```\n\nExample:\n```json\n{\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\":\n                    [\"{groupId}\"]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": \"{IDVId}\",\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"created\": \"2024-11-14T21:16:55.000Z\",\n    \"lastUpdated\": \"2024-11-14T21:16:55.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            },\n            \"groups\": {\n                \"include\": [\n                    {\"groupId\"}\n                ]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": {\"IDVId\"},\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"ACCESS_POLICY\"\n}\n```\n\nExample:\n```text\naccessRequest.operation == 'enroll'\n```\n\nExample:\n```text\naccessRequest.authenticator.key == 'okta_password' && accessRequest.operation == 'recover'\n```\n\nExample:\n```text\n{\n  'okta_verify',\n  'webauthn',\n  'smart_card_idp',\n  'yubikey_token'\n}.contains(accessRequest.authenticator.key) &&\naccessRequest.operation == 'enroll'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.763Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":236,"estimatedTokens":1318}}514{"id":"doc-configure_sso_for_native_apps_okta_developer-53b2a334","source":"documentation","title":"Configure SSO for Native apps | Okta Developer","url":"https://developer.okta.com/docs/guides/configure-native-sso/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/default/v1/authorize?client_id={clientId}&response_type=code&scope=openid device_sso offline_access&redirect_uri={configuredRedirectUri}&state=state-8600b31f-52d1-4dca-987c-386e3d8967e9&code_challenge_method=S256&code_challenge=qjrzSW9gMiUgpUvqgEPE4_-8swvyCtfOVvg55o5S_es\n```\n\nExample:\n```bash\nhttps://{configuredRedirectUri}/?code=S_NuB0TNeDMXD_5SKZO6FuXFOi_J9XB-sHAk0Dc0txQ&state=state-8600b31f-52d1-4dca-987c-386e3d8967e9\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/token \\\n  --header 'accept: application/json' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'grant_type=authorization_code' \\\n  --data-urlencode 'client_id={clientId}' \\\n  --data-urlencode 'redirect_uri={configuredRedirectUri}' \\\n  --data-urlencode 'code=CKA9Utz2GkWlsrmnqehz' \\\n  --data-urlencode 'code_verifier=M25iVXpKU3puUjFaYWg3T1NDTDQtcW1ROUY5YXlwalNoc0hhakxifmZHag'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJra....3pcxrrhSAw\",\n    \"scope\": \"openid device_sso offline_access\",\n    \"refresh_token\": \"FOxRzDPAGtOapDzap-rNBOSWznClz3p-zypbZ157W6c\",\n    \"id_token\": \"eyJraWQiOi....VQT8GGmg\",\n    \"device_secret\": \"+oUXe6pnhkDOTTjR5ZGFQoZGVBrQPiDsUWIk27ioyhM=\"\n}\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/token \\\n  --header 'Accept: application/json' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'client_id={client 2 ID}' \\\n  --data-urlencode 'grant_type=urn:ietf:params:oauth:grant-type:token-exchange' \\\n  --data-urlencode 'actor_token={deviceSecret}' \\\n  --data-urlencode 'actor_token_type=urn:x-oath:params:oauth:token-type:device-secret' \\\n  --data-urlencode 'subject_token={idToken}' \\\n  --data-urlencode 'subject_token_type=urn:ietf:params:oauth:token-type:id_token' \\\n  --data-urlencode 'scope=openid offline_access' \\\n  --data-urlencode 'audience={audience}'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJZQ...VNL3SttonAlV4NYMQ\",\n    \"scope\": \"openid offline_access\",\n    \"refresh_token\": \"dd1LXWH5qug6tHAZDhYBOHbqg5TxxbXvwpsIR5qjZRw\",\n    \"id_token\": \"eyJraWQiOiJZQ...woMh1u6jHMQTI0fA\"\n}\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/introspect \\\n  --header 'Accept: application/json' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'client_id={client 1 ID}' \\\n  --data-urlencode 'token={deviceSecret}' \\\n  --data-urlencode 'token_type_hint=device_secret'\n```\n\nExample:\n```json\n{\n    \"active\": true,\n    \"sid\": \"102oRgEWx5lRTWHilEoGfed4w\",\n    \"token_type\": \"urn:x-oath:params:oauth:token-type:device-secret\",\n    \"exp\": 1628886628\n}\n```\n\nExample:\n```bash\ncurl --request POST \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/revoke \\\n  --header 'Accept: application/json' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data-urlencode 'token={deviceSecret}' \\\n  --data-urlencode 'client_id={client 1 ID}'\n```\n\nExample:\n```text\nHTTP/1.1 200 OK\n```\n\nExample:\n```json\n{\n    \"active\": false\n}\n```\n\nExample:\n```bash\ncurl --request GET \\\n  --url https://{yourOktaDomain}/oauth2/default/v1/logout?id_token_hint={idToken}&device_secret={deviceSecret}&post_logout_redirect_uris={configuredPostLogoutRedirectUri}&state=2OwvFrEMTJg\n```\n\nExample:\n```bash\nhttps://{configuredPostLogoutRedirectUri}/?state=2OwvFrEMTJg\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.764Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":119,"estimatedTokens":890}}515{"id":"doc-enterprise_identity_provider_okta_developer-30921558","source":"documentation","title":"Enterprise identity provider | Okta Developer","url":"https://developer.okta.com/docs/guides/add-an-external-idp/saml2/main/","text":"Example:\n```bash\n<saml2:Attribute Name=\"OktaAppInstanceId\" NameFormat=\"urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified\">\n              <saml2:AttributeValue xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"xs:string\">001234567890</saml2:AttributeValue>\n          </saml2:Attribute>\n          <saml2:Attribute Name=\"OktaAppName\" NameFormat=\"urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified\">\n              <saml2:AttributeValue xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"xs:string\">Oidc Saml</saml2:AttributeValue>\n</saml2:Attribute>\n```\n\nExample:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```html\n`<a href=\"https://{yourOktaDomain}/oauth2/v1/authorize?idp=0oaaq9pjc2ujmFZexample&client_id=GkGw4K49N4UEE1example&response_type=id_token&response_mode=fragment&scope=openid&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\">Sign in with Identity Provider</a>`\n```\n\nExample:\n```js\nconfig.idps= [\n  { type: 'IdentityProviderName', id: 'Your_IDP_ID_Here' }\n];\nconfig.idpDisplay = \"SECONDARY\";\n```\n\nExample:\n```js\nconfig.idps= [\n  {type: 'IdentityProviderName', id: 'Your_IDP_ID_Here'}\n];\nconfig.idpDisplay =\"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.786Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":37,"estimatedTokens":352}}516{"id":"doc-express_configuration_customer_configuration_gui-b9df871f","source":"documentation","title":"Express Configuration customer configuration guide template | Okta Developer","url":"https://developer.okta.com/docs/guides/express-config-guide-template/main/","text":"Example:\n```markdown\nExpress Configuration guide for [app_name]\n\nThis guide provides instructions to configure the [app_name] [SSO, Universal Logout, and SCIM] Okta integrations with Express Configuration.\n```\n\nExample:\n```markdown\n1. Add the [app_name] instance in your Okta org. See [Add existing app integrations](https://help.okta.com/okta_help.htm?type=oie&id=csh-apps-add-app).\n\n2. Configure SSO:\n\n      a. In the [app_name] app instance in your Okta org, click the **Authentication** tab.\n      b. Click **Express Configure SSO** in the Express Configuration for [app_name] section. You're redirected to the [app_name] sign-in page.\n      c. Sign in to the app using your admin credentials.\n      d. Review the **Authorize App** details on the consent page to grant Okta access to [app_name] and click **Accept**. You’re automatically redirected back to your Okta org. A success message indicates that SSO has been configured.\n\n3. Verification:\n\n      - For IdP-initiated SSO:\n\n        a. Assign the app to a test user in Okta.\n        b. Sign in as that test user to the Okta dashboard.\n        c. Click the [app_name] tile.\n        d. Confirm that you’re successfully logged in to [app_name].\n\n      - For SP-initiated SSO: Sign in to the app using SSO credentials.\n```\n\nExample:\n```markdown\n1. Add the [app_name] instance in your Okta org. See [Add existing app integrations](https://help.okta.com/okta_help.htm?type=oie&id=csh-apps-add-app).\n\n2. Configure SSO and Universal Logout:\n\n    a. In the [app_name] app instance in your Okta org, click the **Authentication** tab.\n    b. Click **Express Configure SSO & UL** in the Express Configuration for [app_name] section. You're redirected to the [app_name] sign-in page.\n    c. Sign in to the app using your admin credentials.\n    d. Review the **Authorize App** details on the consent page to grant Okta access to [app_name] and click **Accept**. You’re automatically redirected back to your Okta org. A success message indicates that SSO and Universal Logout have been configured.\n\n3. Verification:\n\n    a. Verify SSO: Verify the SSO configuration based on the provider initiation. See the Verification step in [Template 1: SSO Only (Express Configuration)](#template-1-sso-only-express-configuration).\n    b. Verify logout: Sign out from [app_name]. Confirm that you’re redirected to the Okta sign-in page, which indicates the Okta session has also been terminated.\n```\n\nExample:\n```markdown\n1. Add the [app name] instance in your Okta org. See [Add existing app integrations](https://help.okta.com/okta_help.htm?type=oie&id=csh-apps-add-app).\n\n2. Configure SSO:\n\n    a. In the [app name] app instance in your Okta org, click the **Authentication** tab.\n    b. Click **Express Configure SSO** in the Express Configuration for [app name] section. You're redirected to the [app name] sign-in page.\n    c. Sign in to the app using your admin credentials.\n    d. Review the **Authorize App** details on the consent page to grant Okta access to [app name] and click **Accept**. You’re automatically redirected back to your Okta org. A success message indicates that SSO has been configured.\n\n3. Configure provisioning (Express Configuration):\n\n    a. In the app instance in your Okta org, go to the **Provisioning** tab.\n    b. Click **Express Configure SCIM** in the Express Configuration for [app_name] section. You're redirected to the [app_name] sign-in page.\n    c. Sign in to the app using your admin credentials.\n    d. Review the **Authorize App** details on the consent page to grant Okta access to [app_name] and click **Accept**. You’re automatically redirected back to your Okta org. A success message indicates that SCIM has been configured.\n    e. Click **To App** within **Settings**, and then **Edit** to save the settings necessary for provisioning [app_name]. Once done, click **Save**.\n\n4. Verification\n\n    a. Verify provisioning: Assign the [app_name] app to a test user in Okta. Check your [app_name] user list to confirm the user was created.\n    b. Verify SSO: Sign in to [app_name] using the Okta dashboard.\n```\n\nExample:\n```markdown\n1. Add the [app_name] instance in your Okta org. See [Add existing app integrations](https://help.okta.com/okta_help.htm?type=oie&id=csh-apps-add-app).\n\n2. Configure SSO and Universal Logout:\n\n    a. In the [app_name] app instance in your Okta org, click the **Authentication** tab.\n    b. Click **Express Configure SSO & UL** in the Express Configuration for [app_name] section. You’re redirected to the [app_name] sign-in page.\n    c. Sign in to the app using your admin credentials.\n    d. Review the **Authorize App** details on the consent page to grant Okta access to [app_name] and click **Accept**. You’re automatically redirected back to your Okta org. A success message indicates that SSO and Universal Logout have been configured.\n\n3. Configure provisioning (Express Configuration):\n\n    a. In the app instance in your Okta org, go to the **Provisioning** tab.\n    b. Click **Express Configure SCIM** in the Express Configuration for [app_name] section. You're redirected to the [app_name] sign-in page.\n    c. Sign in to the app using your admin credentials.\n    d. Review the **Authorize App** details on the consent page to grant Okta access to [app_name] and click **Accept**. You’re automatically redirected back to your Okta org. A success message indicates that SCIM has been configured.\n    e. Click **To App** within **Settings**, and then **Edit** to save the settings necessary for provisioning [app_name]. Once done, click **Save**.\n\n4. Verification\n\n    a. Verify provisioning: Assign the [app_name] app to a test user in Okta. Check your [app_name] user list to confirm the user was created.\n    b. Verify SSO: Sign in to [app_name] using the Okta dashboard.\n    c. Verify logout: Sign out from [app_name]. Confirm that you’re redirected to the Okta sign-in page, which indicates the Okta session has also been terminated.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.787Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":99,"estimatedTokens":1496}}517{"id":"doc-slack-123296bc","source":"documentation","title":"Slack","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application/slackapplication","text":"Example:\n```text\n{\n  \"app\": {\n    \"domain\": \"my-company-domain\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"name\": \"slack\",\n  \"label\": \"Sample Slack App\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"settings\": {\n    \"app\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.787Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":57}}518{"id":"doc-org2org-67ab3679","source":"documentation","title":"Org2Org","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application/org2orgapplication","text":"Example:\n```text\n{\n  \"app\": {\n    \"acsUrl\": \"https://example.okta.com/sso/saml2/exampleid\",\n    \"audRestriction\": \"https://www.okta.com/saml2/service-provider/exampleid\",\n    \"baseUrl\": \"https://example.okta.com\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"name\": \"okta_org2org\",\n  \"label\": \"Okta Org2Org\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"settings\": {\n    \"app\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.788Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":95}}519{"id":"doc-microsoft_office_365-970f79e5","source":"documentation","title":"Microsoft Office 365","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application/office365application","text":"Example:\n```text\n{\n  \"app\": {\n    \"domain\": \"myintegration.okta365test.net\",\n    \"msftTenant\": \"mycompanyinc\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"name\": \"office365\",\n  \"label\": \"Sample Office365 App\",\n  \"signOnMode\": \"SAML_1_1\",\n  \"settings\": {\n    \"app\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.788Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":71}}520{"id":"doc-zoom-8301bd82","source":"documentation","title":"Zoom","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application/zoomusapplication","text":"Example:\n```text\n{\n  \"app\": {\n    \"subDomain\": \"my-zoom-subdomain\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"name\": \"zoomus\",\n  \"label\": \"Sample Zoom App\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"settings\": {\n    \"app\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.788Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":58}}521{"id":"doc-principal_entitlements-81e6f6d6","source":"documentation","title":"Principal Entitlements","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-entitlements","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/principal-entitlements?filter=parent.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20parent.type%20eq%20%22APPLICATION%22%20AND%20targetPrincipal.externalId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20AND%20targetPrincipal.type%20eq%20%22OKTA_USER%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.788Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":103}}522{"id":"doc-principal_access-d2e82986","source":"documentation","title":"Principal Access","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-access","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/principal-access?filter=parent.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20parent.type%20eq%20%22APPLICATION%22%20AND%20targetPrincipal.externalId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20AND%20targetPrincipal.type%20eq%20%22OKTA_USER%22'\n```\n\nExample:\n```text\n{\n  \"targetPrincipalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n  \"targetPrincipal\": {\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"type\": \"OKTA_USER\"\n  },\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"parent\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"expirationTime\": \"2024-05-31T23:59:59Z\",\n  \"timeZone\": \"America/Toronto\",\n  \"base\": {\n    \"grantType\": \"POLICY\",\n    \"grantMethod\": \"POLICY\",\n    \"expirationTime\": \"2024-05-31T23:59:59Z\",\n    \"grant\": { … },\n    \"entitlements\": [ … ]\n  },\n  \"additional\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.788Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":254}}523{"id":"doc-labels-9ae2d912","source":"documentation","title":"Labels","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/labels \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Compliance\",\n    \"values\": [\n      {\n        \"name\": \"SOX\",\n        \"metadata\": {\n          \"additionalProperties\": {\n            \"backgroundColor\": \"blue\"\n          }\n        }\n      },\n      {\n        \"name\": \"PII\",\n        \"metadata\": {\n          \"additionalProperties\": {\n            \"backgroundColor\": \"yellow\"\n          }\n        }\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"labelId\": \"lbco3v6xlwdtEX2il1d6\",\n  \"name\": \"Compliance\",\n  \"values\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.788Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":44,"estimatedTokens":173}}524{"id":"doc-principal_access_v2-ded0aa2d","source":"documentation","title":"Principal Access - V2","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-access-v2","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v2/revoke-principal-access \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"principalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n    \"actor\": \"ADMIN\",\n    \"revokeOrns\": [\n      \"orn:okta:idp:00o11rndFqmZ5rNfs0g4:apps:oidc_client:0oa251e7jQHXVgg5r0g4\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":115}}525{"id":"doc-risk_rules-73398aac","source":"documentation","title":"Risk Rules","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/risk-rules","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/risk-rules \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Process and Approve Payment\",\n    \"description\": \"Process and Approve Payment\",\n    \"type\": \"SEPARATION_OF_DUTIES\",\n    \"resources\": [\n      {\n        \"resourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\"\n      }\n    ],\n    \"conflictCriteria\": {\n      \"and\": [\n        {\n          \"name\": \"list1\",\n          \"attribute\": \"principal.effective_grants\",\n          \"operation\": \"CONTAINS_ONE\",\n          \"value\": {\n            \"type\": \"ENTITLEMENTS\",\n            \"value\": [\n              {\n                \"id\": \"espo3v6xlwdtEX2il1d6\",\n                \"values\": [\n                  {\n                    \"id\": \"ento3v6xmkviXCltm1d6\"\n                  }\n                ]\n              }\n            ]\n          }\n        },\n        {\n          \"name\": \"list2\",\n          \"attribute\": \"principal.effective_grants\",\n          \"operation\": \"CONTAINS_ALL\",\n          \"value\": {\n            \"type\": \"ENTITLEMENTS\",\n            \"value\": [\n              {\n                \"id\": \"espxf36xlwdtEX2il23e\",\n                \"values\": [\n                  {\n                    \"id\": \"ento3v6xk6nOq7lm51d6\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rulb0oNGTSWTBKOLGLNR\",\n  \"name\": \"Process and Approve Payment\",\n  \"description\": \"Process and Approve Payment\",\n  \"type\": \"SEPARATION_OF_DUTIES\",\n  \"status\": \"ACTIVE\",\n  \"resources\": [\n    { … }\n  ],\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"conflictCriteria\": {\n    \"and\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":82,"estimatedTokens":471}}526{"id":"doc-delegates-c52a14c2","source":"documentation","title":"Delegates","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/delegates","text":"Example:\n```text\n/governance/api/v1/delegates?limit=20\n```\n\nExample:\n```text\n/governance/api/v1/delegates?limit=10&after=gda123ABCXYZ456DEF\n```\n\nExample:\n```text\n/governance/api/v1/delegates?filter=(delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20OR%20delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNS%22)&limit=2\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/delegates?filter=delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20OR%20delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNS%22&limit=20&after=00u68w6vzKLultXS97g6'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":35,"estimatedTokens":166}}527{"id":"doc-principal_settings-b5e000a5","source":"documentation","title":"Principal Settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-settings","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v1/principal-settings/{targetPrincipalId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"delegates\": {\n      \"appointments\": [\n        {\n          \"delegate\": {\n            \"type\": \"OKTA_USER\",\n            \"externalId\": \"00u2lxfQaw8WRlkQt0g4\"\n          },\n          \"note\": \"Johnny Appleseed is on parental leave\"\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"appointments\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":131}}528{"id":"doc-operations-d246d1ab","source":"documentation","title":"Operations","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/operations","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/operations/{operationId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"cpa4r1gtPOqBal07j0g5\",\n  \"type\": \"collection:principal:assignment\",\n  \"status\": \"RUNNING\",\n  \"created\": \"2026-01-09T01:25:04.000Z\",\n  \"started\": \"2026-01-09T01:25:05.208Z\",\n  \"completed\": null,\n  \"timeElapsedInSeconds\": 1,\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":105}}529{"id":"doc-org_governance_settings-4ed2e921","source":"documentation","title":"Org Governance Settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/org-governance-settings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v1/settings\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"enduser\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":44}}530{"id":"doc-requests-9b51f82c","source":"documentation","title":"Requests","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/requests?filter=requestStatus%20eq%20%22RESOLVED%22&after=stringstringstringstring&limit=20&orderBy=created%20desc'\n```\n\nExample:\n```text\n[\n  {\n    \"subject\": \"request-from-service-now-xsd23432\",\n    \"requestTypeId\": \"61eb2db568c7c300079fefd0\",\n    \"requesterUserIds\": [ … ],\n    \"id\": \"61eb06a3c462d20007f0235c\",\n    \"lastUpdated\": \"2022-05-05T14:15:22Z\",\n    \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"resolved\": \"2022-05-05T14:15:22Z'\",\n    \"requestStatus\": \"RESOLVED\",\n    \"type\": \"ACCESS_REQUEST\",\n    \"permalinkId\": 1,\n    \"_links\": { … }\n  }\n]\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":40,"estimatedTokens":193}}531{"id":"doc-enterprise_identity_provider_okta_developer-e9b01dd7","source":"documentation","title":"Enterprise identity provider | Okta Developer","url":"https://developer.okta.com/docs/guides/add-an-external-idp/entra/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```html\n`<a href=\"https://{yourOktaDomain}/oauth2/v1/authorize?idp=0oaaq9pjc2ujmFZexample&client_id=GkGw4K49N4UEE1example&response_type=id_token&response_mode=fragment&scope=openid&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\">Sign in with Identity Provider</a>`\n```\n\nExample:\n```js\nconfig.idps= [\n  { type: 'IdentityProviderName', id: 'Your_IDP_ID_Here' }\n];\nconfig.idpDisplay = \"SECONDARY\";\n```\n\nExample:\n```js\nconfig.idps= [\n  {type: 'IdentityProviderName', id: 'Your_IDP_ID_Here'}\n];\nconfig.idpDisplay =\"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.790Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":27,"estimatedTokens":205}}532{"id":"doc-enterprise_identity_verification_vendor_okta_dev-87f67970","source":"documentation","title":"Enterprise identity verification vendor | Okta Developer","url":"https://developer.okta.com/docs/guides/add-id-verification-idp/incode/main","text":"Example:\n```json\n{\n  \"type\": \"IDV_INCODE\",\n  \"name\": \"Incode IDV\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"scopes\": [\n      \"profile\",\n      \"identity_assurance\",\n      \"openid\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"accountLink\": {\n      \"filter\": null,\n      \"action\": \"AUTO\"\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  }\n}\n```\n\nExample:\n```json\n{\n  \"id\": \"0oaf35tu47hnH9mlZ0w6\",\n  \"name\": \"Incode IDV\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2025-01-15T20:54:04.000Z\",\n  \"lastUpdated\": \"2025-01-15T20:54:05.000Z\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"endpoints\": {\n      \"authorization\": {\n        \"url\": \"https://auth.incode.com/oauth2/authorize\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"token\": {\n        \"url\": \"https://auth.incode.com/oauth2/token\",\n        \"binding\": \"HTTP-POST\"\n      },\n      \"par\": {\n        \"url\": \"https://auth.incode.com/oauth2/par\",\n        \"binding\": \"HTTP-POST\"\n      }\n    },\n    \"scopes\": [\n      \"openid\",\n      \"profile\",\n      \"identity_assurance\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  },\n  \"type\": \"IDV_INCODE\",\n  \"_links\": {\n    \"users\": {\n      \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oaf35tu47hnH9mlZ0w6/users\",\n      \"hints\": {\n        \"allow\": [\n          \"GET\"\n        ]\n      }\n    }\n  },\n  \"deactivate\": {\n    \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oaf35tu47hnH9mlZ0w6/lifecycle/deactivate\",\n    \"hints\": {\n      \"allow\": [\n        \"POST\"\n      ]\n    }\n  }\n}\n```\n\nExample:\n```json\n\"elCondition\": {\n        \"condition\": \"accessRequest.operation == 'enroll'\"\n    }\n```\n\nExample:\n```json\n{\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\":\n                    [\"{groupId}\"]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": \"{IDVId}\",\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"created\": \"2024-11-14T21:16:55.000Z\",\n    \"lastUpdated\": \"2024-11-14T21:16:55.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            },\n            \"groups\": {\n                \"include\": [\n                    {\"groupId\"}\n                ]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": {\"IDVId\"},\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"ACCESS_POLICY\"\n}\n```\n\nExample:\n```text\naccessRequest.operation == 'enroll'\n```\n\nExample:\n```text\naccessRequest.authenticator.key == 'okta_password' && accessRequest.operation == 'recover'\n```\n\nExample:\n```text\n{\n  'okta_verify',\n  'webauthn',\n  'smart_card_idp',\n  'yubikey_token'\n}.contains(accessRequest.authenticator.key) &&\naccessRequest.operation == 'enroll'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.791Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":253,"estimatedTokens":1312}}533{"id":"doc-enterprise_identity_verification_vendor_okta_dev-3423f16c","source":"documentation","title":"Enterprise identity verification vendor | Okta Developer","url":"https://developer.okta.com/docs/guides/add-id-verification-idp/customidv/main","text":"Example:\n```json\n{\n  \"type\": \"IDV_STANDARD\",\n  \"name\": \"Custom IDV\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"endpoints\": {\n      \"par\": {\n        \"url\": \"https://idv.example.com/par\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"authorization\": {\n        \"url\": \"https://idv.example.com/authorize\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"token\": {\n        \"url\": \"https://idv.example.com/token\",\n        \"binding\": \"HTTP-POST\"\n      },\n      \"jwks\": {\n        \"url\": \"https://idv.example.com/jwks\",\n        \"binding\": \"HTTP-REDIRECT\"\n      }\n    },\n    \"issuer\": {\n      \"url\": \"https://idv.example.com\"\n    },\n    \"scopes\": [\n      \"profile\",\n      \"identity_assurance\",\n      \"openid\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"accountLink\": {\n      \"filter\": null,\n      \"action\": \"AUTO\"\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  },\n  \"properties\": {\n    \"idvMetadata\": {\n      \"vendorDisplayName\": \"Custom IDV\",\n      \"termsOfUse\": \"https://idv.example.com/terms\",\n      \"privacyPolicy\": \"https://idv.example.com/privacy\"\n    }\n  }\n}\n```\n\nExample:\n```json\n{\n  \"id\": \"0oa2pstvoFV4GYCw30g5\",\n  \"name\": \"Custom IDV IdP\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2025-01-15T20:54:04.000Z\",\n  \"lastUpdated\": \"2025-01-15T20:54:05.000Z\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"endpoints\": {\n      \"par\": {\n        \"url\": \"https://idv.example.com/par\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"authorization\": {\n        \"url\": \"https://idv.example.com/authorize\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"token\": {\n        \"url\": \"https://idv.example.com/token\",\n        \"binding\": \"HTTP-POST\"\n      },\n      \"jwks\": {\n        \"url\": \"https://idv.example.com/jwks\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"issuer\": {\n        \"url\": \"https://idv.example.com\"\n      },\n      \"scopes\": [\n        \"openid\",\n        \"profile\",\n        \"identity_assurance\"\n      ],\n      \"credentials\": {\n        \"client\": {\n          \"client_id\": \"your-client-id\",\n          \"client_secret\": \"your-client-secret\"\n        }\n      },\n      \"policy\": {\n        \"provisioning\": {\n          \"action\": \"DISABLED\",\n          \"profileMaster\": false,\n          \"groups\": null\n        },\n        \"subject\": {\n          \"userNameTemplate\": {\n            \"template\": \"source.userName\",\n            \"filter\": null,\n            \"matchType\": \"USERNAME\",\n            \"matchAttribute\": null\n          },\n          \"maxClockSkew\": 0,\n          \"properties\": {\n            \"idvMetadata\": {\n              \"vendorDisplayName\": \"Custom IDV\",\n              \"termsOfUse\": \"https://idv.example.com/terms\",\n              \"privacyPolicy\": \"https://idv.example.com/privacy\"\n            }\n          }\n        },\n        \"type\": \"IDV_STANDARD\",\n        \"_links\": {\n          \"users\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oa2pstvoFV4GYCw30g5/users\",\n            \"hints\": {\n              \"allow\": [\n                \"GET\"\n              ]\n            }\n          },\n          \"deactivate\": {\n            \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oa2pstvoFV4GYCw30g5/lifecycle/deactivate\",\n            \"hints\": {\n              \"allow\": [\n                \"POST\"\n              ]\n            }\n          }\n        }\n      }\n    }\n  }\n}\n```\n\nExample:\n```json\n\"elCondition\": {\n        \"condition\": \"accessRequest.operation == 'enroll'\"\n    }\n```\n\nExample:\n```json\n{\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\":\n                    [\"{groupId}\"]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": \"{IDVId}\",\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"created\": \"2024-11-14T21:16:55.000Z\",\n    \"lastUpdated\": \"2024-11-14T21:16:55.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            },\n            \"groups\": {\n                \"include\": [\n                    {\"groupId\"}\n                ]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": {\"IDVId\"},\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"ACCESS_POLICY\"\n}\n```\n\nExample:\n```text\naccessRequest.operation == 'enroll'\n```\n\nExample:\n```text\naccessRequest.authenticator.key == 'okta_password' && accessRequest.operation == 'recover'\n```\n\nExample:\n```text\n{\n  'okta_verify',\n  'webauthn',\n  'smart_card_idp',\n  'yubikey_token'\n}.contains(accessRequest.authenticator.key) &&\naccessRequest.operation == 'enroll'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.791Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":295,"estimatedTokens":1655}}534{"id":"doc-enterprise_identity_verification_vendor_okta_dev-be6c0df5","source":"documentation","title":"Enterprise identity verification vendor | Okta Developer","url":"https://developer.okta.com/docs/guides/add-id-verification-idp/clear/main","text":"Example:\n```json\n{\n  \"type\": \"IDV_CLEAR\",\n  \"name\": \"CLEAR1 IDV\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"scopes\": [\n      \"profile\",\n      \"identity_assurance\",\n      \"openid\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"accountLink\": {\n      \"filter\": null,\n      \"action\": \"AUTO\"\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  }\n}\n```\n\nExample:\n```json\n{\n  \"id\": \"0oab50jh0UPiB6xde0w6\",\n  \"name\": \"CLEAR1 IDV\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2025-01-14T19:59:41.000Z\",\n  \"lastUpdated\": \"2025-01-14T19:59:41.000Z\",\n  \"protocol\": {\n    \"type\": \"ID_PROOFING\",\n    \"endpoints\": {\n      \"authorization\": {\n        \"url\": \"https://verified.clearme.com/oauth/idv_authorize\",\n        \"binding\": \"HTTP-REDIRECT\"\n      },\n      \"token\": {\n        \"url\": \"https://verified.clearme.com/hydra/oauth2/token\",\n        \"binding\": \"HTTP-POST\"\n      },\n      \"par\": {\n        \"url\": \"https://verified.clearme.com/oauth/par\",\n        \"binding\": \"HTTP-POST\"\n      }\n    },\n    \"scopes\": [\n      \"openid\",\n      \"profile\",\n      \"identity_assurance\"\n    ],\n    \"credentials\": {\n      \"client\": {\n        \"client_id\": \"your-client-id\",\n        \"client_secret\": \"your-client-secret\"\n      }\n    }\n  },\n  \"policy\": {\n    \"provisioning\": {\n      \"action\": \"DISABLED\",\n      \"profileMaster\": false,\n      \"groups\": null\n    },\n    \"subject\": {\n      \"userNameTemplate\": {\n        \"template\": \"source.userName\"\n      },\n      \"filter\": null,\n      \"matchType\": \"USERNAME\",\n      \"matchAttribute\": null\n    },\n    \"maxClockSkew\": 0\n  },\n  \"type\": \"IDV_CLEAR\",\n  \"_links\": {\n    \"users\": {\n      \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oab50jh0UPiB6xde0w6/users\",\n      \"hints\": {\n        \"allow\": [\n          \"GET\"\n        ]\n      }\n    },\n    \"deactivate\": {\n      \"href\": \"https://{yourOktaDomain}/api/v1/idps/0oab50jh0UPiB6xde0w6/lifecycle/deactivate\",\n      \"hints\": {\n        \"allow\": [\n          \"POST\"\n        ]\n      }\n    }\n  }\n}\n```\n\nExample:\n```json\n\"elCondition\": {\n        \"condition\": \"accessRequest.operation == 'enroll'\"\n    }\n```\n\nExample:\n```json\n{\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\":\n                    [\"{groupId}\"]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": \"{IDVId}\",\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"created\": \"2024-11-14T21:16:55.000Z\",\n    \"lastUpdated\": \"2024-11-14T21:16:55.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            },\n            \"groups\": {\n                \"include\": [\n                    {\"groupId\"}\n                ]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": {\"IDVId\"},\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"ACCESS_POLICY\"\n}\n```\n\nExample:\n```text\naccessRequest.operation == 'enroll'\n```\n\nExample:\n```text\naccessRequest.authenticator.key == 'okta_password' && accessRequest.operation == 'recover'\n```\n\nExample:\n```text\n{\n  'okta_verify',\n  'webauthn',\n  'smart_card_idp',\n  'yubikey_token'\n}.contains(accessRequest.authenticator.key) &&\naccessRequest.operation == 'enroll'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.792Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":253,"estimatedTokens":1321}}535{"id":"doc-social_login_okta_developer-5fb8630c","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/apple/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'APPLE', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.792Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}536{"id":"doc-social_login_okta_developer-4e357685","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/amazon/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'AMAZON', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.793Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}537{"id":"doc-enterprise_identity_verification_vendor_okta_dev-712d3569","source":"documentation","title":"Enterprise identity verification vendor | Okta Developer","url":"https://developer.okta.com/docs/guides/add-id-verification-idp/persona/main","text":"Example:\n```json\n{\n    \"type\": \"IDV_PERSONA\",\n    \"name\": \"Persona IDV\",\n    \"protocol\": {\n        \"type\": \"ID_PROOFING\",\n        \"credentials\": {\n            \"bearer\": {\n                \"apiKey\": \"{PersonaAPIkey}\"\n            }\n        }\n    },\n    \"policy\": {\n        \"provisioning\": {\n            \"action\": \"DISABLED\",\n            \"profileMaster\": false,\n            \"groups\": null\n        },\n        \"subject\": {\n            \"userNameTemplate\": {\n                \"template\": \"source.userName\"\n            },\n            \"filter\": null,\n            \"matchType\": \"USERNAME\",\n            \"matchAttribute\": null\n        },\n        \"maxClockSkew\": 0\n    },\n    \"properties\": {\n        \"inquiryTemplateId\": \"{PersonaInquiryTemplateId}\"\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": {\"IDVId\"},\n    \"name\": \"Persona IDV\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2024-11-15T15:22:17.000Z\",\n    \"lastUpdated\": \"2024-11-15T15:22:17.000Z\",\n    \"protocol\": {\n        \"type\": \"ID_PROOFING\",\n        \"endpoints\": {\n            \"authorization\": {\n                \"url\": \"https://withpersona.com/verify\",\n                \"binding\": \"HTTP-REDIRECT\"\n            }\n        },\n        \"credentials\": {\n            \"bearer\": {\n                \"apiKey\": \n                    \"{PersonaAPIkey}\"\n            }\n        }\n    },\n    \"policy\": {\n        \"provisioning\": {\n            \"action\": \"DISABLED\",\n            \"profileMaster\": false,\n            \"groups\": null\n        },\n        \"subject\": {\n            \"userNameTemplate\": {\n                \"template\": \"source.userName\"\n            },\n            \"filter\": null,\n            \"matchType\": \"USERNAME\",\n            \"matchAttribute\": null\n        },\n        \"maxClockSkew\": 0\n    },\n    \"properties\": {\n        \"inquiryTemplateId\": \"{PersonaInquiryTemplateId}\"\n    },\n    \"type\": \"IDV_PERSONA\",\n    \"_links\": {\n        \"users\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/idps/0oal68on4q8cch2y55d7/users\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/idps/0oal68on4q8cch2y55d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n\"elCondition\": {\n        \"condition\": \"accessRequest.operation == 'enroll'\"\n    }\n```\n\nExample:\n```json\n{\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"type\": \"ACCESS_POLICY\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"groups\": {\n                \"include\":\n                    [\"{groupId}\"]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": \"{IDVId}\",\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    }\n}\n```\n\nExample:\n```json\n{\n    \"id\": \"ruleId\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Require IDV for authenticator enrollment\",\n    \"priority\": 1,\n    \"created\": \"2024-11-14T21:16:55.000Z\",\n    \"lastUpdated\": \"2024-11-14T21:16:55.000Z\",\n    \"system\": false,\n    \"conditions\": {\n        \"people\": {\n            \"users\": {\n                \"exclude\": []\n            },\n            \"groups\": {\n                \"include\": [\n                    {\"groupId\"}\n                ]\n            }\n        },\n        \"network\": {\n            \"connection\": \"ANYWHERE\"\n        },\n        \"riskScore\": {\n            \"level\": \"ANY\"\n        },\n        \"elCondition\": {\n            \"condition\": \"accessRequest.operation == 'enroll'\"\n        },\n        \"userType\": {\n            \"include\": [],\n            \"exclude\": []\n        }\n    },\n    \"actions\": {\n        \"appSignOn\": {\n            \"access\": \"ALLOW\",\n            \"verificationMethod\": {\n                \"id\": {\"IDVId\"},\n                \"type\": \"ID_PROOFING\"\n            }\n        }\n    },\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7\",\n            \"hints\": {\n                \"allow\": [\n                    \"GET\",\n                    \"PUT\",\n                    \"DELETE\"\n                ]\n            }\n        },\n        \"deactivate\": {\n            \"href\": \"https://{yourOktadomain}/api/v1/policies/rstjqw4t47yn9lXUK5d7/rules/rull5mrtqkAVfIyWT5d7/lifecycle/deactivate\",\n            \"hints\": {\n                \"allow\": [\n                    \"POST\"\n                ]\n            }\n        }\n    },\n    \"type\": \"ACCESS_POLICY\"\n}\n```\n\nExample:\n```text\naccessRequest.operation == 'enroll'\n```\n\nExample:\n```text\naccessRequest.authenticator.key == 'okta_password' && accessRequest.operation == 'recover'\n```\n\nExample:\n```text\n{\n  'okta_verify',\n  'webauthn',\n  'smart_card_idp',\n  'yubikey_token'\n}.contains(accessRequest.authenticator.key) &&\naccessRequest.operation == 'enroll'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.793Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":236,"estimatedTokens":1318}}538{"id":"doc-social_login_okta_developer-803b2961","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/facebook/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'FACEBOOK', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.793Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}539{"id":"doc-social_login_okta_developer-f0c5caf2","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/discord/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'DISCORD', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.794Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}540{"id":"doc-retrieve_a_ui_schema-2e571e38","source":"documentation","title":"Retrieve a UI schema","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/uischema/other/getuischema","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/meta/uischemas/uis4a7liocgcRgcxZ0g7\n```\n\nExample:\n```text\n{\n  \"id\": \"uis4a7liocgcRgcxZ0g7\",\n  \"uiSchema\": {\n    \"type\": \"Group\",\n    \"label\": \"Sign in\",\n    \"buttonLabel\": \"Submit\",\n    \"elements\": [ … ]\n  },\n  \"created\": \"2022-07-25T12:56:31.000Z\",\n  \"lastUpdated\": \"2022-07-26T11:53:59.000Z\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.794Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":105}}541{"id":"doc-list_all_ui_schemas-8e4fdddf","source":"documentation","title":"List all UI schemas","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/uischema/other/listuischemas","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/meta/uischemas\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"uis4a7liocgcRgcxZ0g7\",\n    \"uiSchema\": { … },\n    \"created\": \"2022-07-25T12:56:31.000Z\",\n    \"lastUpdated\": \"2022-07-26T11:53:59.000Z\",\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"uis4abjqkkKXVPGAU0g7\",\n    \"uiSchema\": { … },\n    \"created\": \"2022-07-25T12:56:31.000Z\",\n    \"lastUpdated\": \"2022-07-26T11:53:59.000Z\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.794Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":120}}542{"id":"doc-create_a_ui_schema-2d8b691d","source":"documentation","title":"Create a UI schema","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/uischema/other/createuischema","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/meta/uischemas \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"uiSchema\": {\n      \"type\": \"Group\",\n      \"elements\": [\n        {\n          \"type\": \"Control\",\n          \"scope\": \"#/properties/firstName\",\n          \"label\": \"First Name\",\n          \"options\": {\n            \"format\": \"text\"\n          }\n        },\n        {\n          \"type\": \"Control\",\n          \"scope\": \"#/properties/lastName\",\n          \"label\": \"Last Name\",\n          \"options\": {\n            \"format\": \"text\"\n          }\n        },\n        {\n          \"type\": \"Control\",\n          \"scope\": \"#/properties/email\",\n          \"label\": \"Primary email\",\n          \"options\": {\n            \"format\": \"text\"\n          }\n        }\n      ],\n      \"buttonLabel\": \"Submit\",\n      \"label\": \"Sign in\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"uis4a7liocgcRgcxZ0g7\",\n  \"uiSchema\": {\n    \"type\": \"Group\",\n    \"label\": \"Sign in\",\n    \"buttonLabel\": \"Submit\",\n    \"elements\": [ … ]\n  },\n  \"created\": \"2022-07-25T12:56:31.000Z\",\n  \"lastUpdated\": \"2022-07-26T11:53:59.000Z\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.794Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":59,"estimatedTokens":290}}543{"id":"doc-replace_a_ui_schema-43acf6f0","source":"documentation","title":"Replace a UI schema","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/uischema/other/replaceuischemas","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/meta/uischemas/uis4a7liocgcRgcxZ0g7 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"uiSchema\": {\n      \"type\": \"Group\",\n      \"elements\": [\n        {\n          \"type\": \"Control\",\n          \"scope\": \"#/properties/firstName\",\n          \"label\": \"First Name\",\n          \"options\": {\n            \"format\": \"text\"\n          }\n        },\n        {\n          \"type\": \"Control\",\n          \"scope\": \"#/properties/lastName\",\n          \"label\": \"Last Name\",\n          \"options\": {\n            \"format\": \"text\"\n          }\n        },\n        {\n          \"type\": \"Control\",\n          \"scope\": \"#/properties/email\",\n          \"label\": \"Primary email\",\n          \"options\": {\n            \"format\": \"text\"\n          }\n        }\n      ],\n      \"buttonLabel\": \"Submit\",\n      \"label\": \"Sign in\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"uis4a7liocgcRgcxZ0g7\",\n  \"uiSchema\": {\n    \"type\": \"Group\",\n    \"label\": \"Sign in\",\n    \"buttonLabel\": \"Submit\",\n    \"elements\": [ … ]\n  },\n  \"created\": \"2022-07-25T12:56:31.000Z\",\n  \"lastUpdated\": \"2022-07-26T11:53:59.000Z\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.794Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":59,"estimatedTokens":295}}544{"id":"doc-delete_a_ui_schema-e076dc99","source":"documentation","title":"Delete a UI schema","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/uischema/other/deleteuischemas","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/meta/uischemas/uis4a7liocgcRgcxZ0g7\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.794Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":40}}545{"id":"doc-social_login_okta_developer-6ec8a8b8","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/google/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'GOOGLE', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.802Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}546{"id":"doc-social_login_okta_developer-ec3d5d13","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/linkedin/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'LINKEDIN', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.802Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}547{"id":"doc-social_login_okta_developer-9b81d42b","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/microsoft/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'MICROSOFT', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.803Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}548{"id":"doc-social_login_okta_developer-6d46dc74","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/xero/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'XERO', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.803Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}549{"id":"doc-add_a_login_gov_identity_provider_okta_developer-d3d74aac","source":"documentation","title":"Add a Login.gov Identity Provider | Okta Developer","url":"https://developer.okta.com/docs/guides/add-logingov-idp/main/","text":"Example:\n```javascript\nconfig.idps= [\n        { type: 'LOGINGOV_SANDBOX', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\nExample:\n```javascript\nconfig.idps= [\n       { type: 'LOGINGOV', id: 'Your_IDP_ID' }\n   ];\n   config.idpDisplay = \"SECONDARY\";\n```\n\nExample:\n```js\nconfig.idps= [\n     {type: 'LOGINGOV_SANDBOX', id: 'Your_IDP_ID'}\n   ];\n   config.idpDisplay =\"SECONDARY\";\n```\n\nExample:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?\n  idp={yourIdPId}&\n  client_id={clientId}&\n  response_type={responseType}&\n  response_mode={responseMode}&\n  scope={scopes}&\n  redirect_uri={redirectUri}&\n  state={state}&\n  nonce={nonce}\n```\n\nExample:\n```html\n`<a href=\"https://{yourOktaDomain}/oauth2/v1/authorize?idp=0oaaq9pjc2ujmFZexample&client_id=GkGw4K49N4UEE1example&response_type=id_token&response_mode=fragment&scope=openid&redirect_uri={yourAppRedirectUrl}&state=WM6D&nonce=YsG76jo\">Sign in with Login.gov</a>`\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.804Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":43,"estimatedTokens":239}}550{"id":"doc-social_login_okta_developer-cad2b7f7","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/spotify/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'SPOTIFY', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.804Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}551{"id":"doc-social_login_okta_developer-85c247aa","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/yahoo/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'YAHOO', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.805Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}552{"id":"doc-social_login_okta_developer-7874e467","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/gitlab/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'GITLAB', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.805Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}553{"id":"doc-social_login_okta_developer-4b6f3105","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/paypal/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'PAYPAL', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'PAYPAL_SANDBOX', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.805Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":22,"estimatedTokens":133}}554{"id":"doc-social_login_okta_developer-42040152","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/yahoojp/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'YAHOOJP', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}555{"id":"doc-revoke_all_user_sessions-d7c391bc","source":"documentation","title":"Revoke all user sessions","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usersessions/other/revokeusersessions","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/sessions?oauthTokens=false&forgetDevices=true'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}556{"id":"doc-retrieve_a_user_s_classification-5fcb4c2a","source":"documentation","title":"Retrieve a user's classification","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userclassification/other/getuserclassification","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/classification\n```\n\nExample:\n```text\n{\n  \"type\": \"LITE\",\n  \"lastUpdated\": \"2022-05-04T19:50:52.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":55}}557{"id":"doc-replace_the_user_s_classification-9a308ff5","source":"documentation","title":"Replace the user's classification","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userclassification/other/replaceuserclassification","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/classification \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"LITE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"type\": \"LITE\",\n  \"lastUpdated\": \"2022-05-04T19:50:52.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":73}}558{"id":"doc-retrieve_the_user_s_risk-50ff6867","source":"documentation","title":"Retrieve the user's risk","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userrisk/other/getuserrisk","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/risk\n```\n\nExample:\n```text\n{\n  \"riskLevel\": \"HIGH\",\n  \"reason\": \"override.by.admin\",\n  \"_links\": {\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":64}}559{"id":"doc-list_all_linked_object_definitions-226c5904","source":"documentation","title":"List all linked object definitions","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/linkedobject/other/listlinkedobjectdefinitions","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/meta/schemas/user/linkedObjects\n```\n\nExample:\n```text\n[\n  {\n    \"primary\": { … },\n    \"associated\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":55}}560{"id":"doc-delete_a_linked_object_definition-06b6b1f0","source":"documentation","title":"Delete a linked object definition","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/linkedobject/other/deletelinkedobjectdefinition","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.806Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}561{"id":"doc-test_your_policies_with_access_simulations_okta_-d453b382","source":"documentation","title":"Test your policies with access simulations | Okta Developer","url":"https://developer.okta.com/docs/guides/policy-simulation/main/","text":"Example:\n```bash\ncurl -v -X POST \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS {api_token}\" \\\n-d '{\n  \"appInstance\": \"{yourAppID}\",\n  \"policyContext\": {\n    \"groups\": {\"ids\":[\"{yourSalesGroupID}\"]}\n    }\n  }'\n  \"https://{yourOktaDomain}/api/v1/policies/simulate?expand=EVALUATED&expand=RULE\"\n```\n\nExample:\n```json\n{\n    \"evaluation\": [\n        {\n            \"status\": null,\n            \"policyType\": \"OKTA_SIGN_ON\",\n            \"result\": {\n                \"policies\": [\n                    {\n                        \"id\": \"00p7xut91eCkoRnDj1d7\",\n                        \"name\": \"Default Policy\",\n                        \"status\": \"MATCH\",\n                        \"conditions\": [],\n                        \"rules\": [\n                            {\n                                \"id\": \"0pr7xut91fAAYF66D1d7\",\n                                \"name\": \"Default Rule\",\n                                \"status\": \"MATCH\",\n                                \"conditions\": []\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"undefined\": {\n                \"policies\": []\n            },\n            \"evaluated\": {\n                \"policies\": [\n                    {\n                        \"id\": \"00p7xut91eCkoRnDj1d7\",\n                        \"name\": \"Default Policy\",\n                        \"status\": \"MATCH\",\n                        \"conditions\": [],\n                        \"rules\": [\n                            {\n                                \"id\": \"0pr7xut91fAAYF66D1d7\",\n                                \"name\": \"Default Rule\",\n                                \"status\": \"MATCH\",\n                                \"conditions\": []\n                            }\n                        ]\n                    }\n                ]\n            }\n        },\n        {\n            \"status\": null,\n            \"policyType\": \"ACCESS_POLICY\",\n            \"result\": {\n                \"policies\": [\n                    {\n                        \"id\": \"rst7xut96faIAgmti1d7\",\n                        \"name\": \"Any two factors\",\n                        \"status\": \"MATCH\",\n                        \"conditions\": [],\n                        \"rules\": [\n                            {\n                                \"id\": \"rul7xut96gmsOzKAA1d7\",\n                                \"name\": \"Catch-all Rule\",\n                                \"status\": \"MATCH\",\n                                \"conditions\": []\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"undefined\": {\n                \"policies\": []\n            },\n            \"evaluated\": {\n                \"policies\": [\n                    {\n                        \"id\": \"rst7xut96faIAgmti1d7\",\n                        \"name\": \"Any two factors\",\n                        \"status\": \"MATCH\",\n                        \"conditions\": [],\n                        \"rules\": [\n                            {\n                                \"id\": \"rul7xut96gmsOzKAA1d7\",\n                                \"name\": \"Catch-all Rule\",\n                                \"status\": \"MATCH\",\n                                \"conditions\": []\n                            }\n                        ]\n                    }\n                ]\n            }\n        },\n        {\n            \"status\": null,\n            \"policyType\": \"PROFILE_ENROLLMENT\",\n            \"result\": {\n                \"policies\": [\n                    {\n                        \"id\": \"rst7xut96hqm6jolx1d7\",\n                        \"name\": \"Default Policy\",\n                        \"status\": \"MATCH\",\n                        \"conditions\": [],\n                        \"rules\": [\n                            {\n                                \"id\": \"rul7xut96iP7HHcQi1d7\",\n                                \"name\": \"Catch-all Rule\",\n                                \"status\": \"MATCH\",\n                                \"conditions\": []\n                            }\n                        ]\n                    }\n                ]\n            },\n            \"undefined\": {\n                \"policies\": []\n            },\n            \"evaluated\": {\n                \"policies\": [\n                    {\n                        \"id\": \"rst7xut96hqm6jolx1d7\",\n                        \"name\": \"Default Policy\",\n                        \"status\": \"MATCH\",\n                        \"conditions\": [],\n                        \"rules\": [\n                            {\n                                \"id\": \"rul7xut96iP7HHcQi1d7\",\n                                \"name\": \"Catch-all Rule\",\n                                \"status\": \"MATCH\",\n                                \"conditions\": []\n                            }\n                        ]\n                    }\n                ]\n            }\n        }\n    ]\n}\n```\n\nExample:\n```bash\ncurl -v -X POST \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS {api_token}\" \\\n-d '{\n  \"policyTypes\":[],\n  \"appInstance\": \"{yourAppID}\",\n  \"policyContext\": {\n    \"groups\": {\"ids\":[\"{yourEveryoneGroupID}\"]},\n    \"risk\":{\"level\":\"LOW\"}\n  }\n' \"https://{yourOktaDomain}/api/v1/policies/simulate?expand=EVALUATED&expand=RULE'\" \\\n```\n\nExample:\n```json\n{\n    \"errorCode\": \"E0000001\",\n    \"errorSummary\": \"Api validation failed: Groups\",\n    \"errorLink\": \"E0000001\",\n    \"errorId\": \"oaeFpUDkaPyRLKi62y404omKQ\",\n    \"errorCauses\": [\n        {\n            \"errorSummary\": \"Access to YourAppName is not allowed. Everyone is not assigned to this application.\"\n        }\n    ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.807Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":184,"estimatedTokens":1404}}562{"id":"doc-social_login_okta_developer-e2817740","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/github/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```text\nappuser.email == null ? appuser.externalId + '@github.example.com' : appuser.email\n```\n\nExample:\n```text\nidpuser.email == null ? idpuser.externalId + '@github.example.com' : idpuser.email\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'GITHUB', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.807Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":24,"estimatedTokens":150}}563{"id":"doc-social_login_okta_developer-b6e67891","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/salesforce/main","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'SALESFORCE', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.808Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}564{"id":"doc-delete_a_key-db7e376b","source":"documentation","title":"Delete a key","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/hookkey/other/deletehookkey","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/hook-keys/XreKU5laGwBkjOTehusG\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.809Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}565{"id":"doc-list_all_keys-fafa996f","source":"documentation","title":"List all keys","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/hookkey/other/listhookkeys","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/hook-keys\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"HKY1i2htmXF5UNQhL0g4\",\n    \"keyId\": \"bb5bed7d-6e4d-488f-9c86-59b93a2bb3fb\",\n    \"name\": \"My new key\",\n    \"created\": \"2022-08-22T16:34:33.000Z\",\n    \"lastUpdated\": \"2022-08-22T16:34:33.000Z\",\n    \"isUsed\": \"true\"\n  },\n  {\n    \"id\": \"HKY1p7jWLndGQV9M60g4\",\n    \"keyId\": \"7fbc27fd-e3df-4522-86bf-1930110256ad\",\n    \"name\": \"Test key\",\n    \"created\": \"2022-08-31T18:09:58.000Z\",\n    \"lastUpdated\": \"2022-08-31T18:09:58.000Z\",\n    \"isUsed\": \"false\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.809Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":147}}566{"id":"doc-retrieve_a_key_by_id-f2a94526","source":"documentation","title":"Retrieve a key by ID","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/hookkey/other/gethookkey","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/hook-keys/{id}'\n```\n\nExample:\n```text\n{\n  \"id\": \"HKY1p7jWLndGQV9M60g4\",\n  \"keyId\": \"7fbc27fd-e3df-4522-86bf-1930110256ad\",\n  \"name\": \"My new key\",\n  \"created\": \"2022-08-31T18:09:58.000Z\",\n  \"lastUpdated\": \"2022-08-31T18:09:58.000Z\",\n  \"isUsed\": \"false\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.809Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":86}}567{"id":"doc-retrieve_a_public_key-c681268d","source":"documentation","title":"Retrieve a public key","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/hookkey/other/getpublickey","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/hook-keys/public/FcH2P9Eg7wr0o8N2FuV0\n```\n\nExample:\n```text\n{\n  \"_embedded\": {\n    \"kty\": \"RSA\",\n    \"alg\": \"RSA\",\n    \"kid\": \"7fbc27fd-e3df-4522-86bf-1930110256ad\",\n    \"use\": null,\n    \"e\": \"AQAB\",\n    \"n\": \"2naqCnv6r4xNQs7207lRtKQvdtnlVND-8k5iYBIiqoKGY3CqUmRm1jleoOniiQoMkFX8Wj2DmVqr002efF3vOQ7_gjtTatBTVUNbNIQLybun4dkVoUtfP7pRc5SLpcP3eGPRVar734ZrpQXzmCEdpqBt3jrVjwYjNE5DqOjbYXFJtMsy8CWE9LRJ3kyHEoHPzo22dG_vMrXH0_sAQoCk_4TgNCbvyzVmGVYXI_BkUnp0hv2pR4bQVRYzGB9dKJdctOh8zULqc_EJ8tiYsS05YnF7whrWEyARK0rH-e4d4W-OmBTga_zhY4kJ4NsoQ4PyvcatZkxjPO92QHQOFDnf3w`\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":162}}568{"id":"doc-create_a_key-5ed0a36c","source":"documentation","title":"Create a key","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/hookkey/other/createhookkey","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/hook-keys \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"string\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"HKY1p7jWLndGQV9M60g4\",\n  \"keyId\": \"7fbc27fd-e3df-4522-86bf-1930110256ad\",\n  \"name\": \"My new key\",\n  \"created\": \"2022-08-31T18:09:58.000Z\",\n  \"lastUpdated\": \"2022-08-31T18:09:58.000Z\",\n  \"isUsed\": \"false\",\n  \"_embedded\": {\n    \"kty\": \"RSA\",\n    \"alg\": \"RSA\",\n    \"kid\": \"7fbc27fd-e3df-4522-86bf-1930110256ad\",\n    \"use\": \"null\",\n    \"e\": \"AQAB\",\n    \"n\": \"2naqCnv6r4xNQs7207lRtKQvdtnlVND-8k5iYBIiqoKGY3CqUmRm1jleoOniiQoMkFX8Wj2DmVqr002efF3vOQ7_gjtTatBTVUNbNIQLybun4dkVoUtfP7pRc5SLpcP3eGPRVar734ZrpQXzmCEdpqBt3jrVjwYjNE5DqOjbYXFJtMsy8CWE9LRJ3kyHEoHPzo22dG_vMrXH0_sAQoCk_4TgNCbvyzVmGVYXI_BkUnp0hv2pR4bQVRYzGB9dKJdctOh8zULqc_EJ8tiYsS05YnF7whrWEyARK0rH-e4d4W-OmBTga_zhY4kJ4NsoQ4PyvcatZkxjPO92QHQOFDnf3w`\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":229}}569{"id":"doc-grant_consent_to_scope-9ac2d547","source":"documentation","title":"Grant consent to scope","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgrants/other/grantconsenttoscope","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/grants \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"issuer\": \"{yourOktaDomain}\",\n    \"scopeId\": \"okta.users.read\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"oag91n9ruw3dsaXzP0h6\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-02-21T16:54:00.000Z\",\n  \"createdBy\": {\n    \"id\": \"00u6eltha0nrSc47i0h7\",\n    \"type\": \"User\"\n  },\n  \"lastUpdated\": \"2023-02-21T16:54:00.000Z\",\n  \"issuer\": \"{yourOktaDomain}\",\n  \"clientId\": \"{clientId}\",\n  \"scopeId\": \"okta.users.read\",\n  \"source\": \"ADMIN\",\n  \"_embedded\": {\n    \"scope\": { … }\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"self\": { … },\n    \"client\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":179}}570{"id":"doc-replace_a_key-99c45cef","source":"documentation","title":"Replace a key","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/hookkey/other/replacehookkey","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/hook-keys/XreKU5laGwBkjOTehusG \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"string\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"HKY1p7jWLndGQV9M60g4\",\n  \"keyId\": \"7fbc27fd-e3df-4522-86bf-1930110256ad\",\n  \"name\": \"My updated new key\",\n  \"created\": \"2022-08-31T18:09:58.000Z\",\n  \"lastUpdated\": \"2022-08-31T18:16:59.000Z\",\n  \"isUsed\": \"false\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":111}}571{"id":"doc-retrieve_an_app_grant-3874b8bc","source":"documentation","title":"Retrieve an app grant","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgrants/other/getscopeconsentgrant","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/grants/iJoqkwx50mrgX4T9LcaH?expand=scope'\n```\n\nExample:\n```text\n{\n  \"id\": \"oag91n9ruw3dsaXzP0h6\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-02-21T16:54:00.000Z\",\n  \"createdBy\": {\n    \"id\": \"00u6eltha0nrSc47i0h7\",\n    \"type\": \"User\"\n  },\n  \"lastUpdated\": \"2023-02-21T16:54:00.000Z\",\n  \"issuer\": \"{yourOktaDomain}\",\n  \"clientId\": \"{clientId}\",\n  \"scopeId\": \"okta.users.read\",\n  \"source\": \"ADMIN\",\n  \"_embedded\": {\n    \"scope\": { … }\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"self\": { … },\n    \"client\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":157}}572{"id":"doc-replace_a_federated_claim-9758e961","source":"documentation","title":"Replace a federated claim","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssofederatedclaims/other/replacefederatedclaim","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/federated-claims/ofc2f4zrZbs8nUa7p0g4 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"readOnly\",\n    \"expression\": \"appuser.entitlements.readOnly\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ofc893fbjaTxynmo5v93\",\n  \"name\": \"readOnly\",\n  \"expression\": \"appuser.entitlements.readOnly\",\n  \"created\": \"2024-12-25T04:00:00.000Z\",\n  \"lastUpdated\": \"2024-12-25T05:00:00.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":124}}573{"id":"doc-list_all_app_grants-205082e7","source":"documentation","title":"List all app grants","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgrants/other/listscopeconsentgrants","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/grants?expand=scope'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"oag91n9ruw3dsaXzP0h6\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2023-02-21T16:54:00.000Z\",\n    \"createdBy\": { … },\n    \"lastUpdated\": \"2023-02-21T16:54:00.000Z\",\n    \"issuer\": \"{yourOktaDomain}\",\n    \"clientId\": \"{clientId}\",\n    \"scopeId\": \"okta.users.read\",\n    \"source\": \"ADMIN\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"oaghm3sh9ukdkvDmO0h6\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2023-02-03T21:57:49.000Z\",\n    \"createdBy\": { … },\n    \"lastUpdated\": \"2023-02-03T21:57:49.000Z\",\n    \"issuer\": \"{yourOktaDomain}\",\n    \"clientId\": \"{clientId}\",\n    \"scopeId\": \"okta.apps.manage\",\n    \"source\": \"ADMIN\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":39,"estimatedTokens":214}}574{"id":"doc-list_all_group_push_mappings-d5fa42d2","source":"documentation","title":"List all group push mappings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouppushmapping/other/listgrouppushmappings","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/group-push/mappings?after=string&limit=100&lastUpdated=2025-01-01T00%3A00%3A00Z&sourceGroupId=00g00000000000000000&status=ACTIVE'\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2025-01-01T00:00:00Z\",\n    \"errorSummary\": \"\",\n    \"id\": \"gPm00000000000000000\",\n    \"lastPush\": \"2025-01-01T00:00:00Z\",\n    \"lastUpdated\": \"2025-01-01T00:00:00Z\",\n    \"sourceGroupId\": \"00g00000000000000000\",\n    \"status\": \"ACTIVE\",\n    \"targetGroupId\": \"00g00000000000000001\",\n    \"_links\": { … }\n  },\n  {\n    \"created\": \"2025-01-02T00:00:00Z\",\n    \"errorSummary\": \"\",\n    \"id\": \"gPm00000000000000001\",\n    \"lastPush\": \"2025-01-02T00:00:00Z\",\n    \"lastUpdated\": \"2025-01-02T00:00:00Z\",\n    \"sourceGroupId\": \"00g00000000000000002\",\n    \"status\": \"INACTIVE\",\n    \"targetGroupId\": \"00g00000000000000003\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.811Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":230}}575{"id":"doc-upload_an_application_logo-c3166989","source":"documentation","title":"Upload an application logo","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationlogos/other/uploadapplicationlogo","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/logo \\\n  -H 'Content-Type: multipart/form-data' \\\n  -F file=string\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.811Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":54}}576{"id":"doc-delete_a_federated_claim-147b0cc2","source":"documentation","title":"Delete a federated claim","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssofederatedclaims/other/deletefederatedclaim","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/federated-claims/ofc2f4zrZbs8nUa7p0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.811Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}577{"id":"doc-create_a_group_push_mapping-ae257898","source":"documentation","title":"Create a group push mapping","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouppushmapping/other/creategrouppushmapping","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/group-push/mappings \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"sourceGroupId\": \"00g00000000000000000\",\n    \"status\": \"ACTIVE\",\n    \"targetGroupName\": \"NewGroup\"\n  }'\n```\n\nExample:\n```text\n{\n  \"created\": \"2025-01-01T00:00:00Z\",\n  \"errorSummary\": \"\",\n  \"id\": \"gPm00000000000000000\",\n  \"lastPush\": \"2025-01-01T00:00:00Z\",\n  \"lastUpdated\": \"2025-01-01T00:00:00Z\",\n  \"sourceGroupId\": \"00g00000000000000000\",\n  \"status\": \"ACTIVE\",\n  \"targetGroupId\": \"00g00000000000000001\",\n  \"_links\": {\n    \"app\": { … },\n    \"sourceGroup\": { … },\n    \"targetGroup\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.811Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":171}}578{"id":"doc-retrieve_a_group_push_mapping-dd66f919","source":"documentation","title":"Retrieve a group push mapping","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouppushmapping/other/getgrouppushmapping","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/group-push/mappings/gPm00000000000000000\n```\n\nExample:\n```text\n{\n  \"created\": \"2025-01-01T00:00:00Z\",\n  \"errorSummary\": \"\",\n  \"id\": \"gPm00000000000000000\",\n  \"lastPush\": \"2025-01-01T00:00:00Z\",\n  \"lastUpdated\": \"2025-01-01T00:00:00Z\",\n  \"sourceGroupId\": \"00g00000000000000000\",\n  \"status\": \"ACTIVE\",\n  \"targetGroupId\": \"00g00000000000000001\",\n  \"_links\": {\n    \"app\": { … },\n    \"sourceGroup\": { … },\n    \"targetGroup\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.811Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":137}}579{"id":"doc-revoke_an_application_token-0c7bdec4","source":"documentation","title":"Revoke an application token","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationtokens/other/revokeoauth2tokenforapplication","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/tokens/sHHSth53yJAyNSTQKDJZ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.811Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}580{"id":"doc-retrieve_a_federated_claim-4a4c7979","source":"documentation","title":"Retrieve a federated claim","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssofederatedclaims/other/getfederatedclaim","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/federated-claims/ofc2f4zrZbs8nUa7p0g4\n```\n\nExample:\n```text\n{\n  \"id\": \"ofc893fbjaBaqdtoX0g7\",\n  \"name\": \"role\",\n  \"expression\": \"appuser.entitlements.role\",\n  \"created\": \"2024-12-25T03:00:00.000Z\",\n  \"lastUpdated\": \"2024-12-25T03:00:00.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.811Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":90}}581{"id":"doc-list_all_the_oauth_2_0_client_json_web_keys-c4fbc69d","source":"documentation","title":"List all the OAuth 2.0 client JSON Web Keys","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/listjwk","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/jwks\n```\n\nExample:\n```text\n{\n  \"jwks\": {\n    \"keys\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.812Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":48}}582{"id":"doc-retrieve_an_oauth_2_0_client_json_web_key-75f6b2e6","source":"documentation","title":"Retrieve an OAuth 2.0 client JSON Web Key","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/getjwk","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/jwks/pks2f4zrZbs8nUa7p0g4\n```\n\nExample:\n```text\n{\n  \"id\": \"pks2f50kZB0cITmYU0g4\",\n  \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"kty\": \"RSA\",\n  \"alg\": \"RS256\",\n  \"use\": \"sig\",\n  \"e\": \"AQAB\",\n  \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.812Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":133}}583{"id":"doc-deactivate_the_default_provisioning_connection-0ac1269a","source":"documentation","title":"Deactivate the default provisioning connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationconnections/other/deactivatedefaultprovisioningconnectionforapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/connections/default/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.812Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}584{"id":"doc-update_the_default_provisioning_connection-645d2346","source":"documentation","title":"Update the default provisioning connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationconnections/other/updatedefaultprovisioningconnectionforapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/connections/default?activate=true' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"baseUrl\": \"https://scim.zscalerbeta.net/1234567/890/scim\",\n    \"profile\": {\n      \"authScheme\": \"TOKEN\",\n      \"token\": \"00NgAPZqUVy8cX9ehNzzahEE5b-On9sImTcInvWp-x\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"authScheme\": \"TOKEN\",\n  \"status\": \"ENABLED\",\n  \"baseUrl\": \"https://scim.zscalerbeta.net/1234567/890/scim\",\n  \"profile\": {\n    \"authScheme\": \"TOKEN\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.812Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":156}}585{"id":"doc-delete_an_interclient_trust_mapping-f6bbf2bc","source":"documentation","title":"Delete an interclient trust mapping","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationinterclienttrustmappings/other/deleteinterclienttrustmapping","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/interclient-allowed-apps/0oa1elyw9EAkUNUrW0g5\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.812Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":49}}586{"id":"doc-list_all_allowed_apps_for_a_target_app-e40e895a","source":"documentation","title":"List all allowed apps for a target app","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationinterclienttrustmappings/other/listinterclientallowedapplications","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/interclient-allowed-apps?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  \"0oa1elyw9EAkUNUrW0g5\",\n  \"0oa5mihmA6vMpXcm50g5\",\n  \"0oa89ks1irGAcYwXw0g5\"\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.812Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":67}}587{"id":"doc-retrieve_the_default_provisioning_connection-2533c417","source":"documentation","title":"Retrieve the default provisioning connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationconnections/other/getdefaultprovisioningconnectionforapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/connections/default\n```\n\nExample:\n```text\n{\n  \"authScheme\": \"TOKEN\",\n  \"status\": \"ENABLED\",\n  \"baseUrl\": \"https://scim.zscalerbeta.net/1234567/890/scim\",\n  \"profile\": {\n    \"authScheme\": \"TOKEN\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.813Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":94}}588{"id":"doc-update_a_feature-9939ff74","source":"documentation","title":"Update a feature","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationfeatures/other/updatefeatureforapplication","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/features/USER_PROVISIONING \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"create\": {\n      \"lifecycleCreate\": {\n        \"status\": \"ENABLED\"\n      }\n    },\n    \"update\": {\n      \"lifecycleDeactivate\": {\n        \"status\": \"ENABLED\"\n      },\n      \"profile\": {\n        \"status\": \"ENABLED\"\n      },\n      \"password\": {\n        \"status\": \"ENABLED\",\n        \"seed\": \"RANDOM\",\n        \"change\": \"CHANGE\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"name\": \"USER_PROVISIONING\",\n  \"status\": \"ENABLED\",\n  \"description\": \"User provisioning settings from Okta to a downstream application\",\n  \"capabilities\": {\n    \"create\": { … },\n    \"update\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.813Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":44,"estimatedTokens":201}}589{"id":"doc-retrieve_a_feature-a15a6428","source":"documentation","title":"Retrieve a feature","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationfeatures/other/getfeatureforapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/features/USER_PROVISIONING\n```\n\nExample:\n```text\n{\n  \"name\": \"USER_PROVISIONING\",\n  \"status\": \"ENABLED\",\n  \"description\": \"User provisioning settings from Okta to a downstream application\",\n  \"capabilities\": {\n    \"create\": { … },\n    \"update\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.813Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":102}}590{"id":"doc-list_all_features-bf0d9c2e","source":"documentation","title":"List all features","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationfeatures/other/listfeaturesforapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/features\n```\n\nExample:\n```text\n[\n  {\n    \"name\": \"USER_PROVISIONING\",\n    \"status\": \"ENABLED\",\n    \"description\": \"User provisioning settings from Okta to a downstream application\",\n    \"capabilities\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.813Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":87}}591{"id":"doc-verify_the_provisioning_connection-0755c1c7","source":"documentation","title":"Verify the provisioning connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationconnections/other/verifyprovisioningconnectionforapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/apps/{appName}/0oafxqCAJWWGELFTYASJ/oauth2/callback?code=string&state=string'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.813Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}592{"id":"doc-retrieve_a_json_web_key_set_jwks_for_the_default-7521dbda","source":"documentation","title":"Retrieve a JSON Web Key Set (JWKS) for the default provisioning connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationconnections/other/getuserprovisioningconnectionjwks","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/connections/default/jwks\n```\n\nExample:\n```text\n{\n  \"jwks\": {\n    \"keys\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.813Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":50}}593{"id":"doc-configure_native_to_web_sso_okta_developer-d6278717","source":"documentation","title":"Configure Native to Web SSO | Okta Developer","url":"https://developer.okta.com/docs/guides/native-to-web-sso/main/","text":"Example:\n```bash\ncurl --request POST \\\n    --url https://{yourOktaDomain}/oauth2/v1/token \\\n    --header 'accept: application/json' \\\n    --header 'authorization: Basic MG9hYn...' \\\n    --header 'content-type: application/x-www-form-urlencoded' \\\n    --data 'grant_type=password\n  &client_id={client_id}\n  &username=testuser1%40example.com\n  &password=%7CmCovrlnU9oZU4qWGrhQSM%3Dyd\n  &scope=openid%20offline_access%20interclient_access'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiItbkk . . . aIRQ\",\n    \"scope\": \"openid offline_access interclient_access\",\n    \"refresh_token\": \"DnZ77s5coFFJsj7CBO5NJU_wlZs0SZ0euCeiKXrN8T4\",\n    \"id_token\": \"eyJraWQi . . . AHlwNmdw\"\n}\n```\n\nExample:\n```bash\ncurl --request POST\n    --url https://{yourOktaDomain}/oauth2/v1/token \\\n    --header 'content-type: application/x-www-form-urlencoded' \\\n    --header 'accept: application/json' \\\n    --data 'grant_type=urn:ietf:params:oauth:grant-type:token-exchange\n  &client_id={client_id}\n  &actor_token=eyJra. . . tSXL-HCA\n  &actor_token_type=urn:ietf:params:oauth:token-type:access_token\n  &subject_token=eyJr. . .cbYGw\n  &subject_token_type=urn:ietf:params:oauth:token-type:id_token\n  &requested_token_type=urn:okta:params:oauth:token-type:interclient_token\n  &audience=urn:okta:apps:0oa8vcy7h1eyj7wLL0g7'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"N_A\",\n    \"expires_in\": 300,\n    \"access_token\": \"eyJraWQiOiJNTG. . .GubhhEsg\",\n    \"issued_token_type\": \"urn:okta:params:oauth:token-type:interclient_token\"\n}\n```\n\nExample:\n```bash\ncurl --request POST\n    --url http://{yourOktaDomain}/oauth2/v1/authorize \\\n    --header 'content-type: application/x-www-form-urlencoded' \\\n    --header 'accept: application/json' \\\n    --data 'client_id={client_id}\n  &response_type=code\n  &scope=openid\n  &redirect_uri=http://localhost:8080/authorization-code/callback\n  &state=1234\n  &interclient_token=eyJraWQiOiJNTG. . .GubhhEsg\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":67,"estimatedTokens":494}}594{"id":"doc-delete_a_group_push_mapping-9ffad3d7","source":"documentation","title":"Delete a group push mapping","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouppushmapping/other/deletegrouppushmapping","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/group-push/mappings/gPm00000000000000000?deleteTargetGroup=true'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":54}}595{"id":"doc-list_all_configured_federated_claims-d0877ab3","source":"documentation","title":"List all configured federated claims","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssofederatedclaims/other/listfederatedclaims","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/federated-claims\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"ofc893fbjaBaqdtoX0g7\",\n    \"name\": \"role\",\n    \"expression\": \"appuser.entitlements.role\",\n    \"created\": \"2024-12-25T03:00:00.000Z\",\n    \"lastUpdated\": \"2024-12-25T03:00:00.000Z\"\n  },\n  {\n    \"id\": \"ofc893fbjaTxynmo5v93\",\n    \"name\": \"readOnly\",\n    \"expression\": \"appuser.entitlements.readOnly\",\n    \"created\": \"2024-12-25T05:00:00.000Z\",\n    \"lastUpdated\": \"2024-12-25T05:00:00.000Z\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":141}}596{"id":"doc-update_a_group_push_mapping-c2a4e42b","source":"documentation","title":"Update a group push mapping","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouppushmapping/other/updategrouppushmapping","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/group-push/mappings/gPm00000000000000000 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"status\": \"INACTIVE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"created\": \"2025-01-01T00:00:00Z\",\n  \"errorSummary\": \"\",\n  \"id\": \"gPm00000000000000000\",\n  \"lastPush\": \"2025-01-01T00:00:00Z\",\n  \"lastUpdated\": \"2025-01-01T00:00:00Z\",\n  \"sourceGroupId\": \"00g00000000000000000\",\n  \"status\": \"INACTIVE\",\n  \"targetGroupId\": \"00g00000000000000001\",\n  \"_links\": {\n    \"app\": { … },\n    \"sourceGroup\": { … },\n    \"targetGroup\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":158}}597{"id":"doc-revoke_all_application_tokens-44d46b7d","source":"documentation","title":"Revoke all application tokens","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationtokens/other/revokeoauth2tokensforapplication","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/tokens\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}598{"id":"doc-preview_the_application_saml_metadata-3e4d9aa6","source":"documentation","title":"Preview the application SAML metadata","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationsso/other/previewsamlmetadataforapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/sso/saml/metadata?kid=mXtzOtml09Dg1ZCeKxTRBo3KrQuBWFkJ5oxhVagjTzo'\n```\n\nExample:\n```text\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n  <md:EntityDescriptor xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\" entityID=\"exk39sivhuytV2D8H0h7\">\n    <md:IDPSSODescriptor WantAuthnRequestsSigned=\"false\" protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\">\n        <md:KeyDescriptor use=\"signing\">\n            <ds:KeyInfo xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">\n                <ds:X509Data>\n                    <ds:X509Certificate>MIIDqDCCApCgAwIBAgIGAVGNO4qeMA0GCSqGSIb3DQEBBQUAMIGUMQswCQYDVQQGEwJVUzETMBEG\nA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU\nMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJ\nARYNaW5mb0Bva3RhLmNvbTAeFw0xNTEyMTAxODUwMDhaFw0xNzEyMTAxODUxMDdaMIGUMQswCQYD\nVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsG\nA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEc\nMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC\nggEBALAakG48…\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":302}}599{"id":"doc-create_an_agent_pool_update-53d82412","source":"documentation","title":"Create an agent pool update","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/createagentpoolsupdate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"agents\": [\n      {\n        \"isHidden\": true,\n        \"isLatestGAedVersion\": true,\n        \"lastConnection\": 0,\n        \"name\": \"WIN-region1A-dc\",\n        \"operationalStatus\": \"DEGRADED\",\n        \"poolId\": \"0oa3eu7ekG8tjbD9J5s6\",\n        \"type\": \"AD\",\n        \"updateMessage\": \"Queued for update.\",\n        \"updateStatus\": \"Cancelled\",\n        \"version\": \"3.19.0\"\n      }\n    ],\n    \"agentType\": \"AD\",\n    \"enabled\": true,\n    \"name\": \"region1A.dc\",\n    \"notifyAdmin\": true,\n    \"reason\": \"Update failed.\",\n    \"schedule\": {\n      \"cron\": \"0 8 ? * 6#3\",\n      \"delay\": 0,\n      \"duration\": 120,\n      \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n      \"timezone\": \"America/New_York\"\n    },\n    \"sortOrder\": 0,\n    \"status\": \"Cancelled\",\n    \"targetVersion\": \"3.20.0\"\n  }'\n```\n\nExample:\n```text\n{\n  \"agents\": [\n    { … }\n  ],\n  \"agentType\": \"AD\",\n  \"enabled\": true,\n  \"id\": \"string\",\n  \"name\": \"region1A.dc\",\n  \"notifyAdmin\": true,\n  \"reason\": \"Update failed.\",\n  \"schedule\": {\n    \"cron\": \"0 8 ? * 6#3\",\n    \"delay\": 0,\n    \"duration\": 120,\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"timezone\": \"America/New_York\"\n  },\n  \"sortOrder\": 0,\n  \"status\": \"Cancelled\",\n  \"targetVersion\": \"3.20.0\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.815Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":67,"estimatedTokens":350}}600{"id":"doc-retry_an_agent_pool_update-a42ceb35","source":"documentation","title":"Retry an agent pool update","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/retryagentpoolsupdate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/{updateId}/retry'\n```\n\nExample:\n```text\n{\n  \"agents\": [\n    { … }\n  ],\n  \"agentType\": \"AD\",\n  \"enabled\": true,\n  \"id\": \"string\",\n  \"name\": \"region1A.dc\",\n  \"notifyAdmin\": true,\n  \"reason\": \"Update failed.\",\n  \"schedule\": {\n    \"cron\": \"0 8 ? * 6#3\",\n    \"delay\": 0,\n    \"duration\": 120,\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"timezone\": \"America/New_York\"\n  },\n  \"sortOrder\": 0,\n  \"status\": \"Cancelled\",\n  \"targetVersion\": \"3.20.0\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.815Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":150}}601{"id":"doc-activate_an_agent_pool_update-323f1da5","source":"documentation","title":"Activate an agent pool update","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/activateagentpoolsupdate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/{updateId}/activate'\n```\n\nExample:\n```text\n{\n  \"agents\": [\n    { … }\n  ],\n  \"agentType\": \"AD\",\n  \"enabled\": true,\n  \"id\": \"string\",\n  \"name\": \"region1A.dc\",\n  \"notifyAdmin\": true,\n  \"reason\": \"Update failed.\",\n  \"schedule\": {\n    \"cron\": \"0 8 ? * 6#3\",\n    \"delay\": 0,\n    \"duration\": 120,\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"timezone\": \"America/New_York\"\n  },\n  \"sortOrder\": 0,\n  \"status\": \"Cancelled\",\n  \"targetVersion\": \"3.20.0\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.815Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":150}}602{"id":"doc-list_all_agent_pools-cc28fc8d","source":"documentation","title":"List all agent pools","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/listagentpools","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/agentPools?limitPerPoolType=5&poolType=AD&after=string'\n```\n\nExample:\n```text\n[\n  {\n    \"disruptedAgents\": 0,\n    \"inactiveAgents\": 1,\n    \"operationalStatus\": \"OPERATIONAL\",\n    \"id\": \"poolId1\",\n    \"name\": \"region1A.dc\",\n    \"type\": \"AD\",\n    \"agents\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.816Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":94}}603{"id":"doc-update_an_agent_pool_update_by_id-7e8ffe80","source":"documentation","title":"Update an agent pool update by ID","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/updateagentpoolsupdate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/{updateId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"agents\": [\n      {\n        \"isHidden\": true,\n        \"isLatestGAedVersion\": true,\n        \"lastConnection\": 0,\n        \"name\": \"WIN-region1A-dc\",\n        \"operationalStatus\": \"DEGRADED\",\n        \"poolId\": \"0oa3eu7ekG8tjbD9J5s6\",\n        \"type\": \"AD\",\n        \"updateMessage\": \"Queued for update.\",\n        \"updateStatus\": \"Cancelled\",\n        \"version\": \"3.19.0\"\n      }\n    ],\n    \"agentType\": \"AD\",\n    \"enabled\": true,\n    \"name\": \"region1A.dc\",\n    \"notifyAdmin\": true,\n    \"reason\": \"Update failed.\",\n    \"schedule\": {\n      \"cron\": \"0 8 ? * 6#3\",\n      \"delay\": 0,\n      \"duration\": 120,\n      \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n      \"timezone\": \"America/New_York\"\n    },\n    \"sortOrder\": 0,\n    \"status\": \"Cancelled\",\n    \"targetVersion\": \"3.20.0\"\n  }'\n```\n\nExample:\n```text\n{\n  \"agents\": [\n    { … }\n  ],\n  \"agentType\": \"AD\",\n  \"enabled\": true,\n  \"id\": \"string\",\n  \"name\": \"region1A.dc\",\n  \"notifyAdmin\": true,\n  \"reason\": \"Update failed.\",\n  \"schedule\": {\n    \"cron\": \"0 8 ? * 6#3\",\n    \"delay\": 0,\n    \"duration\": 120,\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"timezone\": \"America/New_York\"\n  },\n  \"sortOrder\": 0,\n  \"status\": \"Cancelled\",\n  \"targetVersion\": \"3.20.0\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.816Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":67,"estimatedTokens":353}}604{"id":"doc-stop_an_agent_pool_update-2acfdd74","source":"documentation","title":"Stop an agent pool update","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/agentpools/other/stopagentpoolsupdate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/agentPools/{poolId}/updates/{updateId}/stop'\n```\n\nExample:\n```text\n{\n  \"agents\": [\n    { … }\n  ],\n  \"agentType\": \"AD\",\n  \"enabled\": true,\n  \"id\": \"string\",\n  \"name\": \"region1A.dc\",\n  \"notifyAdmin\": true,\n  \"reason\": \"Update failed.\",\n  \"schedule\": {\n    \"cron\": \"0 8 ? * 6#3\",\n    \"delay\": 0,\n    \"duration\": 120,\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"timezone\": \"America/New_York\"\n  },\n  \"sortOrder\": 0,\n  \"status\": \"Cancelled\",\n  \"targetVersion\": \"3.20.0\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.816Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":149}}605{"id":"doc-request_conditions-1e406018","source":"documentation","title":"Request Conditions","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-conditions","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-conditions'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.817Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":64}}606{"id":"doc-list_all_group_rules-edf52ad4","source":"documentation","title":"List all group rules","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouprule/other/listgrouprules","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/groups/rules?limit=50&after=string&search=string&expand=groupIdToGroupNameMap'\n```\n\nExample:\n```text\n[\n  {\n    \"type\": \"group_rule\",\n    \"id\": \"0pr3f7zMZZHPgUoWO0g4\",\n    \"status\": \"INACTIVE\",\n    \"name\": \"Engineering group rule\",\n    \"created\": \"2016-12-01T14:40:04.000Z\",\n    \"lastUpdated\": \"2016-12-01T14:40:04.000Z\",\n    \"conditions\": { … },\n    \"actions\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.817Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":116}}607{"id":"doc-update_the_group_profile_schema-8e2c036e","source":"documentation","title":"Update the group profile schema","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/schema/other/updategroupschema","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/meta/schemas/group/default \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"definitions\": {\n      \"custom\": {\n        \"id\": \"#custom\",\n        \"type\": \"object\",\n        \"properties\": {\n          \"groupContact\": {\n            \"title\": \"Group administrative contact\",\n            \"description\": \"Group administrative contact\",\n            \"type\": \"string\",\n            \"required\": false,\n            \"minLength\": 1,\n            \"maxLength\": 20,\n            \"permissions\": [\n              {\n                \"principal\": \"SELF\",\n                \"action\": \"READ_WRITE\"\n              }\n            ]\n          }\n        },\n        \"required\": []\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"Response with a subset of properties for brevity\": {\n    \"$ref\": \"../components.yaml#/components/examples/GroupSchemaResponse\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.817Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":42,"estimatedTokens":229}}608{"id":"doc-retrieve_the_log_stream_schema_for_the_schema_ty-7a89ed50","source":"documentation","title":"Retrieve the log stream schema for the schema type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/schema/other/getlogstreamschema","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/meta/schemas/logStream/{logStreamType}'\n```\n\nExample:\n```text\n{\n  \"const\": \"enumValue\",\n  \"title\": \"display name\"\n}\n```\n\nExample:\n```text\n{\n  \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n  \"$id\": \"http://{yourOktaDomain}/api/v1/meta/schemas/logStream/aws_eventbridge\",\n  \"title\": \"AWS EventBridge\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"settings\": { … },\n    \"name\": { … }\n  },\n  \"required\": [\n    \"name\",\n    \"settings\"\n  ],\n  \"errorMessage\": {\n    \"properties\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":36,"estimatedTokens":146}}609{"id":"doc-list_the_log_stream_schemas-1b432681","source":"documentation","title":"List the log stream schemas","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/schema/other/listlogstreamschemas","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/meta/schemas/logStream\n```\n\nExample:\n```text\n{\n  \"const\": \"enumValue\",\n  \"title\": \"display name\"\n}\n```\n\nExample:\n```text\n[\n  {\n    \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n    \"$id\": \"http://{yourOktaDomain}/api/v1/meta/schemas/logStream/aws_eventbridge\",\n    \"title\": \"AWS EventBridge\",\n    \"type\": \"object\",\n    \"properties\": { … },\n    \"required\": [ … ],\n    \"errorMessage\": { … }\n  },\n  {\n    \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n    \"id\": \"http://{yourOktaDomain}/api/v1/meta/schemas/logStream/splunk_cloud_logstreaming\",\n    \"title\": \"Splunk Cloud\",\n    \"type\": \"object\",\n    \"properties\": { … },\n    \"required\": [ … ],\n    \"errorMessage\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":39,"estimatedTokens":197}}610{"id":"doc-retrieve_the_default_app_user_schema_for_an_app-1adaa4e5","source":"documentation","title":"Retrieve the default app user schema for an app","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/schema/other/getapplicationuserschema","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/meta/schemas/apps/0oafxqCAJWWGELFTYASJ/default\n```\n\nExample:\n```text\n{\n  \"id\": \"https://{yourOktaDomain}/meta/schemas/apps/{appId}/default\",\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n  \"name\": \"Example app\",\n  \"title\": \"Example app User\",\n  \"lastUpdated\": \"2015-09-05T10:40:45.000Z\",\n  \"created\": \"2015-02-02T10:27:36.000Z\",\n  \"definitions\": {\n    \"custom\": { … },\n    \"base\": { … },\n    \"type\": \"object\",\n    \"properties\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":135}}611{"id":"doc-update_a_user_schema-4ff95b68","source":"documentation","title":"Update a user schema","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/schema/other/updateuserprofile","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/meta/schemas/user/{schemaId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"definitions\": {\n      \"custom\": {\n        \"id\": \"#custom\",\n        \"type\": \"object\",\n        \"properties\": {\n          \"salesforceUserName\": {\n            \"title\": \"Salesforce username\",\n            \"description\": \"User'\\''s username for Salesforce\",\n            \"type\": \"string\",\n            \"required\": false,\n            \"minLength\": 1,\n            \"maxLength\": 20,\n            \"permissions\": [\n              {\n                \"principal\": \"SELF\",\n                \"action\": \"READ_WRITE\"\n              }\n            ]\n          }\n        },\n        \"required\": []\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"https://{yourOktaDomain}/meta/schemas/user/oscmlha7lcRyMn82P1d7\",\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n  \"name\": \"user\",\n  \"title\": \"An Okta user\",\n  \"lastUpdated\": \"2015-09-05T10:40:45.000Z\",\n  \"created\": \"2015-02-02T10:27:36.000Z\",\n  \"definitions\": {\n    \"base\": { … },\n    \"custom\": { … }\n  },\n  \"type\": \"object\",\n  \"properties\": {\n    \"profile\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.819Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":53,"estimatedTokens":294}}612{"id":"doc-retrieve_the_results_of_an_ad_group_query-ce83bdf1","source":"documentation","title":"Retrieve the results of an AD group query","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/directoriesintegration/other/getgroupattributequeryresult","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/directories/00a1xucgTZFrziXg10g4/groups/00g1xucgTZFrziXg10g4/query/{resultId}'\n```\n\nExample:\n```text\n{\n  \"distinguishedName\": \"CN=Finance,OU=Groups,DC=example,DC=com\",\n  \"description\": \"Finance Department Group\",\n  \"cn\": \"CN=Finance\",\n  \"whenCreated\": \"20230101000000.0Z\"\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"00g19oiNHkbKFvNTX0g4\",\n  \"profile\": {\n    \"distinguishedName\": \"CN=Finance,OU=Groups,DC=example,DC=com\",\n    \"description\": \"Finance Department Group\",\n    \"cn\": \"CN=Finance\",\n    \"whenCreated\": \"20230101000000.0Z\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.819Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":30,"estimatedTokens":154}}613{"id":"doc-submit_a_query_for_ad_group-8ce2a882","source":"documentation","title":"Submit a query for AD Group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/directoriesintegration/other/submitgroupattributequery","text":"Example:\n```text\n[\n  \"distinguishedName\",\n  \"description\",\n  \"cn\",\n  \"whenCreated\"\n]\n```\n\nExample:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/directories/00a1xucgTZFrziXg10g4/groups/00g1xucgTZFrziXg10g4/query \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"attributes\": [\n      \"distinguishedName\",\n      \"description\",\n      \"cn\",\n      \"whenCreated\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"resultId\": \"rdj4edr7pSDGv8QF10g4\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.819Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":33,"estimatedTokens":118}}614{"id":"doc-update_the_app_user_profile_schema_for_an_app-008a9943","source":"documentation","title":"Update the app user profile schema for an app","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/schema/other/updateapplicationuserprofile","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/meta/schemas/apps/0oafxqCAJWWGELFTYASJ/default \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"definitions\": {\n      \"custom\": {\n        \"id\": \"#custom\",\n        \"type\": \"object\",\n        \"properties\": {\n          \"salesforceUserName\": {\n            \"title\": \"Salesforce username\",\n            \"externalName\": \"salesforceUserName\",\n            \"description\": \"User'\\''s username for Salesforce\",\n            \"type\": \"string\",\n            \"required\": false,\n            \"minLength\": 1,\n            \"maxLength\": 20\n          }\n        },\n        \"required\": []\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"https://{yourOktaDomain}/meta/schemas/apps/0oa25gejWwdXNnFH90g4/default\",\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n  \"name\": \"Example app\",\n  \"title\": \"Example app user\",\n  \"lastUpdated\": \"2017-07-18T23:18:43.000Z\",\n  \"created\": \"2017-07-18T22:35:30.000Z\",\n  \"definitions\": {\n    \"base\": { … },\n    \"custom\": { … }\n  },\n  \"type\": \"object\",\n  \"properties\": {\n    \"profile\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.819Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":48,"estimatedTokens":277}}615{"id":"doc-delete_a_group_rule-845dd501","source":"documentation","title":"Delete a group rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouprule/other/deletegrouprule","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/groups/rules/0pr3f7zMZZHPgUoWO0g4?removeUsers=false'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.819Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}616{"id":"doc-replace_a_group_rule-083e4eb3","source":"documentation","title":"Replace a group rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouprule/other/replacegrouprule","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/groups/rules/0pr3f7zMZZHPgUoWO0g4 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"group_rule\",\n    \"id\": \"0pr3f7zMZZHPgUoWO0g4\",\n    \"status\": \"INACTIVE\",\n    \"name\": \"Engineering group rule\",\n    \"created\": \"2016-12-01T14:40:04.000Z\",\n    \"lastUpdated\": \"2016-12-01T14:40:04.000Z\",\n    \"conditions\": {\n      \"people\": {\n        \"users\": {\n          \"exclude\": [\n            \"00u22w79JPMEeeuLr0g4\"\n          ]\n        },\n        \"groups\": {\n          \"exclude\": []\n        }\n      },\n      \"expression\": {\n        \"value\": \"user.role==\\\"Engineer\\\"\",\n        \"type\": \"urn:okta:expression:1.0\"\n      }\n    },\n    \"actions\": {\n      \"assignUserToGroups\": {\n        \"groupIds\": [\n          \"00gjitX9HqABSoqTB0g3\"\n        ]\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"actions\": {\n    \"assignUserToGroups\": { … }\n  },\n  \"conditions\": {\n    \"expression\": { … },\n    \"people\": { … }\n  },\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"id\": \"string\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"name\": \"string\",\n  \"status\": \"ACTIVE\",\n  \"type\": \"string\",\n  \"_embedded\": {\n    \"groupIdToGroupNameMap\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":61,"estimatedTokens":300}}617{"id":"doc-create_a_group_rule-07587a21","source":"documentation","title":"Create a group rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouprule/other/creategrouprule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/groups/rules \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"group_rule\",\n    \"name\": \"Engineering group rule\",\n    \"conditions\": {\n      \"people\": {\n        \"users\": {\n          \"exclude\": [\n            \"00u22w79JPMEeeuLr0g4\"\n          ]\n        },\n        \"groups\": {\n          \"exclude\": []\n        }\n      },\n      \"expression\": {\n        \"value\": \"user.role==\\\"Engineer\\\"\",\n        \"type\": \"urn:okta:expression:1.0\"\n      }\n    },\n    \"actions\": {\n      \"assignUserToGroups\": {\n        \"groupIds\": [\n          \"00gjitX9HqABSoqTB0g3\"\n        ]\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"type\": \"group_rule\",\n  \"id\": \"0pr3f7zMZZHPgUoWO0g4\",\n  \"status\": \"INACTIVE\",\n  \"name\": \"Engineering group rule\",\n  \"created\": \"2016-12-01T14:40:04.000Z\",\n  \"lastUpdated\": \"2016-12-01T14:40:04.000Z\",\n  \"conditions\": {\n    \"people\": { … },\n    \"expression\": { … }\n  },\n  \"actions\": {\n    \"assignUserToGroups\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":54,"estimatedTokens":255}}618{"id":"doc-retrieve_a_profile_mapping-57fb48e2","source":"documentation","title":"Retrieve a profile mapping","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/profilemapping/other/getprofilemapping","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/mappings/cB6u7X8mptebWkffatKA\n```\n\nExample:\n```text\n{\n  \"id\": \"prm1k47ghydIQOTBW0g4\",\n  \"source\": {\n    \"id\": \"otysbePhQ3yqt4cVv0g3\",\n    \"name\": \"user\",\n    \"type\": \"user\",\n    \"_links\": { … }\n  },\n  \"target\": {\n    \"id\": \"0oa1qmn4LZQQEH0wZ0g4\",\n    \"name\": \"okta_org2org\",\n    \"type\": \"appuser\",\n    \"_links\": { … }\n  },\n  \"properties\": {\n    \"firstName\": { … },\n    \"lastName\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":130}}619{"id":"doc-update_an_external_directory_group_membership-861e1911","source":"documentation","title":"Update an external directory group membership","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/directoriesintegration/other/updategroupmembership","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/directories/{appInstanceId}/groups/modify' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"00g1xucgTZFrziXg10g4\",\n    \"parameters\": {\n      \"action\": \"ADD\",\n      \"attribute\": \"member\",\n      \"values\": [\n        \"00u1bh5efGKMsSiLv0g4\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":98}}620{"id":"doc-activate_a_group_rule-0ef7a516","source":"documentation","title":"Activate a group rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouprule/other/activategrouprule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/groups/rules/0pr3f7zMZZHPgUoWO0g4/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}621{"id":"doc-list_all_application_users-794502cc","source":"documentation","title":"List all application users","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationusers/other/listapplicationusers","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/users?after=16275000448691&limit=50&q=sam&expand=user'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"00u1dnq5S0CfjlkpABCD\",\n    \"externalId\": \"00u5edt3PNbbjzvIABCD\",\n    \"created\": \"2024-01-31T18:25:01.000Z\",\n    \"lastUpdated\": \"2024-01-31T18:25:03.000Z\",\n    \"scope\": \"USER\",\n    \"status\": \"PROVISIONED\",\n    \"statusChanged\": \"2024-01-31T18:25:03.000Z\",\n    \"passwordChanged\": null,\n    \"syncState\": \"SYNCHRONIZED\",\n    \"lastSync\": \"2024-01-31T18:25:03.000Z\",\n    \"credentials\": { … },\n    \"profile\": { … },\n    \"_links\": { … },\n    \"_embedded\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":167}}622{"id":"doc-deactivate_a_group_rule-e1ff95fe","source":"documentation","title":"Deactivate a group rule","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/grouprule/other/deactivategrouprule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/groups/rules/0pr3f7zMZZHPgUoWO0g4/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}623{"id":"doc-unassign_an_application_user-933a35c0","source":"documentation","title":"Unassign an application user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationusers/other/unassignuserfromapplication","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/users/00u13okQOVWZJGDOAUVR?sendEmail=false'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.821Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":49}}624{"id":"doc-campaigns-a3976f58","source":"documentation","title":"Campaigns","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/campaigns","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/campaigns \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"campaignType\": \"RESOURCE\",\n    \"description\": \"Group Campaign | User Reviewer Expression\",\n    \"name\": \"Group Campaign | User Reviewer Expression\",\n    \"status\": \"ACTIVE\",\n    \"scheduleSettings\": {\n      \"startDate\": \"2024-10-04T13:43:40.000Z\",\n      \"timeZone\": \"America/New_York\",\n      \"durationInDays\": 30,\n      \"type\": \"ONE_OFF\"\n    },\n    \"resourceSettings\": {\n      \"targetTypes\": [\n        \"GROUP\"\n      ],\n      \"targetResources\": [\n        {\n          \"resourceType\": \"GROUP\",\n          \"resourceId\": \"00gg2gzn7m1Aw2zAs1d7\"\n        }\n      ]\n    },\n    \"principalScopeSettings\": {\n      \"type\": \"USERS\"\n    },\n    \"reviewerSettings\": {\n      \"selfReviewDisabled\": true,\n      \"justificationRequired\": true,\n      \"reviewerScopeExpression\": \"user.profile.reviewerId\",\n      \"type\": \"REVIEWER_EXPRESSION\",\n      \"fallBackReviewerId\": \"00u3tm6uw9Cx4Sn8H1d7\",\n      \"reviewerId\": \"00u3tm6uw9Cx4Sn8H1d7\",\n      \"bulkDecisionDisabled\": true\n    },\n    \"notificationSettings\": {\n      \"notifyReviewPeriodEnd\": true,\n      \"notifyReviewerWhenOverdue\": false,\n      \"notifyReviewerDuringMidpointOfReview\": true,\n      \"remindersReviewerBeforeCampaignCloseInSecs\": [\n        86400\n      ],\n      \"notifyReviewerWhenReviewAssigned\": true,\n      \"notifyReviewerAtCampaignEnd\": true\n    },\n    \"remediationSettings\": {\n      \"accessRevoked\": \"DENY\",\n      \"accessApproved\": \"NO_ACTION\",\n      \"noResponse\": \"NO_ACTION\"\n    },\n    \"reportingSettings\": {\n      \"createReportingPackageEnabled\": true\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"_links\": {\n    \"launchCampaign\": { … },\n    \"endCampaign\": { … },\n    \"reviews\": { … },\n    \"self\": { … }\n  },\n  \"id\": \"icindtwi8SY3MVP1M1d6\",\n  \"createdBy\": \"00u4oll01llSoXHEw1d7\",\n  \"created\": \"2024-10-04T13:43:35Z\",\n  \"lastUpdated\": \"2024-10-04T13:43:35Z\",\n  \"lastUpdatedBy\": \"00u4oll01llSoXHEw1d7\",\n  \"name\": \"Group Campaign | User Reviewer Expression\",\n  \"description\": \"Group Campaign | User Reviewer Expression\",\n  \"campaignType\": \"RESOURCE\",\n  \"scheduleSettings\": {\n    \"type\": \"ONE_OFF\",\n    \"startDate\": \"2024-10-04T09:43:40-04:00\",\n    \"durationInDays\": 30,\n    \"timeZone\": \"America/New_York\",\n    \"endDate\": \"2024-11-03T08:43:40-05:00\"\n  },\n  \"resourceSettings\": {\n    \"targetTypes\": [ … ],\n    \"targetResources\": [ … ]\n  },\n  \"principalScopeSettings\": {\n    \"type\": \"USERS\",\n    \"excludedUserIds\": [],\n    \"userIds\": [],\n    \"groupIds\": [],\n    \"includeOnlyActiveUsers\": false\n  },\n  \"reviewerSettings\": {\n    \"type\": \"REVIEWER_EXPRESSION\",\n    \"reviewerScopeExpression\": \"user.profile.reviewerId\",\n    \"fallBackReviewerId\": \"00u3tm6uw9Cx4Sn8H1d7\",\n    \"selfReviewDisabled\": true,\n    \"justificationRequired\": true,\n    \"bulkDecisionDisabled\": false\n  },\n  \"notificationSettings\": {\n    \"notifyReviewerWhenReviewAssigned\": true,\n    \"notifyReviewerAtCampaignEnd\": true,\n    \"remindersReviewerBeforeCampaignCloseInSecs\": [ … ],\n    \"notifyReviewerWhenOverdue\": false,\n    \"notifyReviewerDuringMidpointOfReview\": true,\n    \"notifyReviewPeriodEnd\": true\n  },\n  \"remediationSettings\": {\n    \"accessApproved\": \"NO_ACTION\",\n    \"accessRevoked\": \"DENY\",\n    \"noResponse\": \"NO_ACTION\"\n  },\n  \"status\": \"SCHEDULED\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.822Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":121,"estimatedTokens":830}}625{"id":"doc-retrieve_a_realm-9468054a","source":"documentation","title":"Retrieve a realm","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realm/other/getrealm","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/realms/vvrcFogtKCrK9aYq3fgV\n```\n\nExample:\n```text\n{\n  \"id\": \"guox9jQ16k9V8IQWL0g3\",\n  \"created\": \"2022-04-04T15:56:05.000Z\",\n  \"lastUpdated\": \"2022-05-05T18:15:44.000Z\",\n  \"isDefault\": true,\n  \"profile\": {\n    \"name\": \"Default realm\"\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.822Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":91}}626{"id":"doc-replace_the_realm_profile-6e6ae624","source":"documentation","title":"Replace the realm profile","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realm/other/replacerealm","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/realms/vvrcFogtKCrK9aYq3fgV \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"profile\": {\n      \"name\": \"Car Co\",\n      \"realmType\": \"PARTNER\",\n      \"domains\": [\n        \"atko.com\",\n        \"user.com\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"id\": \"string\",\n  \"isDefault\": true,\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"profile\": {\n    \"domains\": [ … ],\n    \"name\": \"string\",\n    \"realmType\": \"PARTNER\"\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.822Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":146}}627{"id":"doc-delete_a_realm-2523c4d6","source":"documentation","title":"Delete a realm","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realm/other/deleterealm","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/realms/vvrcFogtKCrK9aYq3fgV\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.822Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}628{"id":"doc-reviews-fd63bc02","source":"documentation","title":"Reviews","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/reviews","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/reviews?filter=campaignId%20eq%20%22icitdyhndQ6qstyvR8g5%22&after=00u68w6vzKLultXS97g6&limit=20&orderBy=decided%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.823Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":82}}629{"id":"doc-retrieve_an_application_user-1f07f775","source":"documentation","title":"Retrieve an application user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationusers/other/getapplicationuser","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/users/00u13okQOVWZJGDOAUVR?expand=user'\n```\n\nExample:\n```text\n{\n  \"id\": \"00u1dnq5S0CfjlkpABCD\",\n  \"externalId\": \"00u5edt3PNbbjzvIABCD\",\n  \"created\": \"2024-01-31T18:25:01.000Z\",\n  \"lastUpdated\": \"2024-01-31T18:25:03.000Z\",\n  \"scope\": \"USER\",\n  \"status\": \"PROVISIONED\",\n  \"statusChanged\": \"2024-01-31T18:25:03.000Z\",\n  \"passwordChanged\": null,\n  \"syncState\": \"SYNCHRONIZED\",\n  \"lastSync\": \"2024-01-31T18:25:03.000Z\",\n  \"credentials\": {\n    \"userName\": \"saml.test@example.com\"\n  },\n  \"profile\": {\n    \"secondEmail\": null,\n    \"lastName\": \"Test\",\n    \"mobilePhone\": null,\n    \"displayName\": \"Saml O Test\",\n    \"email\": \"saml.test@example.com\",\n    \"salesforceGroups\": [],\n    \"role\": \"Tester\",\n    \"firstName\": \"Saml\",\n    \"streetAddress\": null,\n    \"profile\": \"Standard Platform User\"\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"user\": { … }\n  },\n  \"_embedded\": {\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.823Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":45,"estimatedTokens":250}}630{"id":"doc-entitlements-3ae83de0","source":"documentation","title":"Entitlements","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements","text":"Example:\n```text\n[\n  {\n    \"name\": \"my-object-1\",\n    \"description\": \"The unique instance of my-object-1\"\n  }\n]\n```\n\nExample:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/entitlements \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"License Entitlement\",\n    \"externalValue\": \"license_entitlement\",\n    \"description\": \"Some license entitlement\",\n    \"parent\": {\n      \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n      \"type\": \"APPLICATION\"\n    },\n    \"multiValue\": true,\n    \"dataType\": \"string\",\n    \"values\": [\n      {\n        \"name\": \"value1\",\n        \"description\": \"description for value1\",\n        \"externalValue\": \"value_1\"\n      },\n      {\n        \"name\": \"value2\",\n        \"description\": \"description for value2\",\n        \"externalValue\": \"value_2\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"esp2lr1lavoGDYw5U8g6\",\n  \"name\": \"License Entitlement\",\n  \"externalValue\": \"license_entitlement\",\n  \"description\": \"Some license entitlement\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"parent\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"multiValue\": true,\n  \"required\": false,\n  \"dataType\": \"string\",\n  \"values\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"values\": { … }\n  },\n  \"metadata\": {\n    \"total\": 2\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.823Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":74,"estimatedTokens":388}}631{"id":"doc-entitlement_settings-7eaf59a1","source":"documentation","title":"Entitlement Settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-settings","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceOrn}/entitlement-settings' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"status\": \"OPTED_IN\"\n  }'\n```\n\nExample:\n```text\n{\n  \"status\": \"OPTING_IN\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.823Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":70}}632{"id":"doc-delete_a_cross_app_access_connection-f1eea135","source":"documentation","title":"Delete a Cross App Access connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationcrossappaccessconnections/other/deletecrossappaccessconnection","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/cwo/connections/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.823Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}633{"id":"doc-resource_owners-14a9345d","source":"documentation","title":"Resource Owners","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/resource-owners","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/resource-owners \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"principalOrns\": [\n      \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g\",\n      \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u6yl0Q065H4BCPR0g4\"\n    ],\n    \"resourceOrns\": [\n      \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.824Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":130}}634{"id":"doc-entitlement_bundles-877c3c79","source":"documentation","title":"Entitlement Bundles","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-bundles","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/entitlement-bundles \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Salesforce admin bundle\",\n    \"description\": \"A bundle for full administrative access in salesforce\",\n    \"target\": {\n      \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n      \"type\": \"APPLICATION\"\n    },\n    \"entitlements\": [\n      {\n        \"id\": \"espo3v6xlwdtEX2il1d6\",\n        \"values\": [\n          {\n            \"id\": \"ento3v6xmkviXCltm1d6\"\n          }\n        ]\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"enbo3j1lwErh6dn701d6\",\n  \"name\": \"Github admin bundle\",\n  \"description\": \"Github bundle for administrative access\",\n  \"orn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbo3j1lwErh6dn701d6\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:github:0oafxqCAJWWGELFTYASJ\",\n  \"target\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"entitlements\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.824Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":52,"estimatedTokens":308}}635{"id":"doc-update_an_application_user-48cf20fd","source":"documentation","title":"Update an application user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationusers/other/updateapplicationuser","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/users/00u13okQOVWZJGDOAUVR \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"credentials\": {\n      \"userName\": \"rae.cloud@example.com\",\n      \"password\": {\n        \"value\": \"updatedP@55word\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00ud4tVDDXYVKPXKVLCO\",\n  \"externalId\": null,\n  \"created\": \"2024-01-27T03:52:45.000Z\",\n  \"lastUpdated\": \"2024-01-27T05:15:30.000Z\",\n  \"scope\": \"USER\",\n  \"status\": \"ACTIVE\",\n  \"statusChanged\": \"2024-01-27T03:52:45.000Z\",\n  \"passwordChanged\": \"2024-01-27T05:15:30.000Z\",\n  \"syncState\": \"DISABLED\",\n  \"credentials\"\": {\n    \"userName\": \"rae.cloud@example.com\",\n    \"password\": {}\n  },\n  \"profile\": {\n    \"street_address\": null,\n    \"country\": null,\n    \"website\": null,\n    \"zoneinfo\": \"America/Los_Angeles\",\n    \"birthdate\": null,\n    \"gender\": null,\n    \"formatted\": null,\n    \"profile\": null,\n    \"locality\": null,\n    \"given_name\": \"Rae\",\n    \"middle_name\": null,\n    \"locale\": \"en_US\",\n    \"picture\": null,\n    \"name\": \"Rae Cloud\",\n    \"nickname\": null,\n    \"phone_number\": null,\n    \"region\": null,\n    \"postal_code\": null,\n    \"family_name\": \"Cloud\",\n    \"email\": \"rae.cloud@example.com\"\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.824Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":61,"estimatedTokens":329}}636{"id":"doc-launch_a_campaign-a96a0ef1","source":"documentation","title":"Launch a campaign","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/campaigns/launchcampaign","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v1/campaigns/{campaignId}/launch'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.824Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}637{"id":"doc-assign_an_application_user-50cbc828","source":"documentation","title":"Assign an application user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationusers/other/assignusertoapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/users \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"00ud4tVDDXYVKPXKVLCO\",\n    \"scope\": \"USER\",\n    \"credentials\": {\n      \"userName\": \"rae.cloud@example.com\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00ud4tVDDXYVKPXKVLCO\",\n  \"externalId\": null,\n  \"created\": \"2024-01-27T03:52:45.000Z\",\n  \"lastUpdated\": \"2024-01-27T03:52:45.000Z\",\n  \"scope\": \"USER\",\n  \"status\": \"ACTIVE\",\n  \"statusChanged\": \"2024-01-27T03:52:45.000Z\",\n  \"passwordChanged\": null,\n  \"syncState\": \"DISABLED\",\n  \"credentials\"\": {\n    \"userName\": \"rae.cloud@example.com\"\n  },\n  \"profile\": {\n    \"street_address\": null,\n    \"country\": null,\n    \"website\": null,\n    \"zoneinfo\": \"America/Los_Angeles\",\n    \"birthdate\": null,\n    \"gender\": null,\n    \"formatted\": null,\n    \"profile\": null,\n    \"locality\": null,\n    \"given_name\": \"Rae\",\n    \"middle_name\": null,\n    \"locale\": \"en_US\",\n    \"picture\": null,\n    \"name\": \"Rae Cloud\",\n    \"nickname\": null,\n    \"phone_number\": null,\n    \"region\": null,\n    \"postal_code\": null,\n    \"family_name\": \"Cloud\",\n    \"email\": \"rae.cloud@example.com\"\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":59,"estimatedTokens":311}}638{"id":"doc-delete_a_campaign-979219c8","source":"documentation","title":"Delete a campaign","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/campaigns/deletecampaign","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/governance/api/v1/campaigns/{campaignId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":40}}639{"id":"doc-end_a_campaign-4d743f6d","source":"documentation","title":"End a campaign","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/campaigns/endcampaign","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v1/campaigns/{campaignId}/end' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"skipRemediation\": false\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":62}}640{"id":"doc-my_security_access_reviews-7e39d0b4","source":"documentation","title":"My Security Access Reviews","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews?filter=name%20co%20%22Git%22&orderBy=name%20desc&after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":76}}641{"id":"doc-my_tasks-ac6a9f37","source":"documentation","title":"My Tasks","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-tasks","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/tasks?filter=status%20eq%20%22OPEN%22&limit=20&after=68b0a1576dd8db837f5ee55d&orderBy=createdAt%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":79}}642{"id":"doc-request_sequences-0143f0ca","source":"documentation","title":"Request Sequences","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-sequences","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-sequences'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"newSequence\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":67}}643{"id":"doc-request_types-2fe5f4d2","source":"documentation","title":"Request Types","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/request-types","text":"Example:\n```text\n{\n  \"type\": \"GROUPS\",\n  \"targetResources\": [\n    \"00g1emaKYZTWRYYRRTSK\"\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"EVERYONE\",\n  \"requesterFields\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"SERIAL\",\n  \"approvals\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/request-types \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"salesforce-01\",\n    \"description\": \"How users can request access to Admin Group\",\n    \"ownerId\": \"61eb0f06c462d20007f051ac\",\n    \"resourceSettings\": {\n      \"type\": \"GROUPS\",\n      \"targetResources\": [\n        {\n          \"resourceId\": \"00g1emaKYZTWRYYRRTSK\"\n        }\n      ]\n    },\n    \"approvalSettings\": {\n      \"type\": \"SERIAL\",\n      \"approvals\": [\n        {\n          \"approverType\": \"MANAGER\"\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"createRequest\": {\n    \"href\": \"https://my-org.at.okta.com/next/new?q=Request%20access%20to%20Salesforce&request_type=0oa1gjh63g214q0Hq0g4\",\n    \"type\": \"text/html\"\n  },\n  \"requests\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests?filter=requestTypeId%20eq%20%2261eb2db568c7c300079fefd0%22\",\n    \"type\": \"application/json\"\n  },\n  \"self\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests/61eb2db568c7c300079fefd0\",\n    \"type\": \"application/json\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"08ab2db568c7c300079fefd0\",\n  \"name\": \"low-privilege-group-01-request-type-02\",\n  \"description\": \"How users can request access to low privilege Group 01\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"DRAFT\",\n  \"lastUpdateSource\": \"API\",\n  \"ownerId\": \"61eb0f06c462d20007f051ac\",\n  \"resourceSettings\": {\n    \"type\": \"GROUPS\",\n    \"targetResources\": [ … ]\n  },\n  \"requestSettings\": {\n    \"type\": \"EVERYONE\",\n    \"requesterFields\": []\n  },\n  \"approvalSettings\": {\n    \"type\": \"SERIAL\",\n    \"approvals\": [ … ]\n  },\n  \"accessDuration\": null,\n  \"_links\": {\n    \"createRequest\": { … },\n    \"requests\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":111,"estimatedTokens":541}}644{"id":"doc-create_a_resource_connection-31f50b84","source":"documentation","title":"Create a resource connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentconnections/other/createresourceconnection","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpkhjm0jnDp8RrUu0g4/connections \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"connectionType\": \"IDENTITY_ASSERTION_CUSTOM_AS\",\n    \"resourceIndicator\": \"https://api.crm.company.com\",\n    \"authorizationServer\": {\n      \"orn\": \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:authorization_servers:aus5rb5mt2H3d1TJd0h7\"\n    },\n    \"scopeCondition\": \"EXCLUDE\",\n    \"scopes\": [\n      \"crm.admin.delete\",\n      \"crm.admin.write\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"IDENTITY_ASSERTION_CUSTOM_AS\",\n  \"id\": \"mcn5e6f7g8h9i0j1k2l3\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn5e6f7g8h9i0j1k2l3\",\n  \"status\": \"INACTIVE\",\n  \"resourceIndicator\": \"https://api.custom-crm.com\",\n  \"authorizationServer\": {\n    \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:authorization_servers:aus5t60iloOHN9pBi0h7\",\n    \"name\": \"Custom CRM Authorization Server\",\n    \"issuerUrl\": \"https://{yourOktaDomain}/oauth2/aus5t60iloOHN9pBi0h7\",\n    \"_links\": { … }\n  },\n  \"scopeCondition\": \"INCLUDE_ONLY\",\n  \"scopes\": [\n    \"crm.contacts.read\",\n    \"crm.accounts.write\"\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":45,"estimatedTokens":305}}645{"id":"doc-activate_the_default_provisioning_connection-98425af8","source":"documentation","title":"Activate the default provisioning connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationconnections/other/activatedefaultprovisioningconnectionforapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/connections/default/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}646{"id":"doc-list_all_target_apps_for_an_allowed_app-4932aa7b","source":"documentation","title":"List all target apps for an allowed app","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationinterclienttrustmappings/other/listinterclienttargetapplications","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/interclient-target-apps?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  \"0oa1elyw9EAkUNUrW0g5\",\n  \"0oa5mihmA6vMpXcm50g5\",\n  \"0oa89ks1irGAcYwXw0g5\"\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":66}}647{"id":"doc-create_an_allowed_app_mapping_for_a_target_app-7f1ef2ac","source":"documentation","title":"Create an allowed app mapping for a target app","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationinterclienttrustmappings/other/createinterclienttrustmapping","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/interclient-allowed-apps \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"0oa89ks1irGAcYwXw0g5\"\n  }'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"itmahqusSr3v8Kk3B0g5\",\n    \"orgId\": \"00o102n9p4vX126Gp0g5\",\n    \"appInstanceId\": \"0oa8ghelqWXs70qD80g5\",\n    \"trustedAppInstanceId\": \"0oa5kw6q51dFckBE70g5\",\n    \"created\": \"2025-11-25T22:44:06.000Z\",\n    \"lastUpdated\": \"2025-11-25T22:44:06.000Z\",\n    \"lastUpdatedBy\": \"00u102rhXmxEGFKiB0g5\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":141}}648{"id":"doc-my_access_certification_reviews-769779f4","source":"documentation","title":"My Access Certification Reviews","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-access-certification-reviews","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/my/campaigns/{campaignId}/reviews/{reviewId}/agent-resource-connections/wlpkhjm0jnDp8RrUu0g4?after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":85}}649{"id":"doc-request_settings-4a963ed0","source":"documentation","title":"Request Settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-settings","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-settings'\n```\n\nExample:\n```text\n{\n  \"validAccessScopeSettings\": [\n    { … },\n    { … }\n  ],\n  \"validRequesterSettings\": [\n    { … },\n    { … }\n  ],\n  \"validAccessDurationSettings\": {\n    \"required\": true,\n    \"maximumDays\": 365,\n    \"maximumHours\": 72,\n    \"maximumWeeks\": 52,\n    \"supportedTypes\": [ … ]\n  },\n  \"validRiskSettings\": {\n    \"supportedTypes\": []\n  },\n  \"validRequestOnBehalfOfSettings\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":140}}650{"id":"doc-list_all_user_grants-7b76674c","source":"documentation","title":"List all user grants","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usergrant/other/listusergrants","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/grants?scopeId=string&expand=scope&after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"clientId\": \"oag3ih1zrm1cBFOiq0h6\",\n    \"created\": \"2017-03-28T01:11:10.000Z\",\n    \"createdBy\": { … },\n    \"id\": \"oag3ih1zrm1cBFOiq0h6\",\n    \"issuer\": \"https://my_test_okta_org.oktapreview.com\",\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"scopeId\": \"okta.users.read\",\n    \"source\": \"ADMIN\",\n    \"status\": \"ACTIVE\",\n    \"userId\": \"00u5t60iloOHN9pBi0h7\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":153}}651{"id":"doc-delete_a_request_type-a3668461","source":"documentation","title":"Delete a request type","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/request-types/deleterequesttype","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/governance/api/v1/request-types/{requestTypeId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}652{"id":"doc-unpublish_a_request_type-2d5c76f9","source":"documentation","title":"Unpublish a request type","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/request-types/unpublishrequesttype","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v1/request-types/{requestTypeId}/un-publish'\n```\n\nExample:\n```text\n{\n  \"createRequest\": {\n    \"href\": \"https://my-org.at.okta.com/next/new?q=Request%20access%20to%20Salesforce&request_type=0oa1gjh63g214q0Hq0g4\",\n    \"type\": \"text/html\"\n  },\n  \"requests\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests?filter=requestTypeId%20eq%20%2261eb2db568c7c300079fefd0%22\",\n    \"type\": \"application/json\"\n  },\n  \"self\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests/61eb2db568c7c300079fefd0\",\n    \"type\": \"application/json\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"GROUPS\",\n  \"targetResources\": [\n    \"00g1emaKYZTWRYYRRTSK\"\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"EVERYONE\",\n  \"requesterFields\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"SERIAL\",\n  \"approvals\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"61eb2db568c7c300079fefd0\",\n  \"name\": \"salesforce-01\",\n  \"description\": \"How users can request access to Salesforce 01\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"DRAFT\",\n  \"ownerId\": \"61eb0f06c462d20007f051ac\",\n  \"resourceSettings\": {\n    \"type\": \"GROUPS\",\n    \"targetResources\": [ … ]\n  },\n  \"requestSettings\": {\n    \"type\": \"EVERYONE\",\n    \"requesterFields\": [ … ]\n  },\n  \"approvalSettings\": {\n    \"type\": \"SERIAL\",\n    \"approvals\": [ … ]\n  },\n  \"lastUpdateSource\": \"API\",\n  \"accessDuration\": null,\n  \"_links\": {\n    \"requests\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":88,"estimatedTokens":411}}653{"id":"doc-create_a_campaign-51683870","source":"documentation","title":"Create a campaign","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/campaigns/createcampaign","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/campaigns \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"campaignType\": \"RESOURCE\",\n    \"description\": \"Group Campaign | User Reviewer Expression\",\n    \"name\": \"Group Campaign | User Reviewer Expression\",\n    \"status\": \"ACTIVE\",\n    \"scheduleSettings\": {\n      \"startDate\": \"2024-10-04T13:43:40.000Z\",\n      \"timeZone\": \"America/New_York\",\n      \"durationInDays\": 30,\n      \"type\": \"ONE_OFF\"\n    },\n    \"resourceSettings\": {\n      \"targetTypes\": [\n        \"GROUP\"\n      ],\n      \"targetResources\": [\n        {\n          \"resourceType\": \"GROUP\",\n          \"resourceId\": \"00gg2gzn7m1Aw2zAs1d7\"\n        }\n      ]\n    },\n    \"principalScopeSettings\": {\n      \"type\": \"USERS\"\n    },\n    \"reviewerSettings\": {\n      \"selfReviewDisabled\": true,\n      \"justificationRequired\": true,\n      \"reviewerScopeExpression\": \"user.profile.reviewerId\",\n      \"type\": \"REVIEWER_EXPRESSION\",\n      \"fallBackReviewerId\": \"00u3tm6uw9Cx4Sn8H1d7\",\n      \"reviewerId\": \"00u3tm6uw9Cx4Sn8H1d7\",\n      \"bulkDecisionDisabled\": true\n    },\n    \"notificationSettings\": {\n      \"notifyReviewPeriodEnd\": true,\n      \"notifyReviewerWhenOverdue\": false,\n      \"notifyReviewerDuringMidpointOfReview\": true,\n      \"remindersReviewerBeforeCampaignCloseInSecs\": [\n        86400\n      ],\n      \"notifyReviewerWhenReviewAssigned\": true,\n      \"notifyReviewerAtCampaignEnd\": true\n    },\n    \"remediationSettings\": {\n      \"accessRevoked\": \"DENY\",\n      \"accessApproved\": \"NO_ACTION\",\n      \"noResponse\": \"NO_ACTION\"\n    },\n    \"reportingSettings\": {\n      \"createReportingPackageEnabled\": true\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"_links\": {\n    \"launchCampaign\": { … },\n    \"endCampaign\": { … },\n    \"reviews\": { … },\n    \"self\": { … }\n  },\n  \"id\": \"icindtwi8SY3MVP1M1d6\",\n  \"createdBy\": \"00u4oll01llSoXHEw1d7\",\n  \"created\": \"2024-10-04T13:43:35Z\",\n  \"lastUpdated\": \"2024-10-04T13:43:35Z\",\n  \"lastUpdatedBy\": \"00u4oll01llSoXHEw1d7\",\n  \"name\": \"Group Campaign | User Reviewer Expression\",\n  \"description\": \"Group Campaign | User Reviewer Expression\",\n  \"campaignType\": \"RESOURCE\",\n  \"scheduleSettings\": {\n    \"type\": \"ONE_OFF\",\n    \"startDate\": \"2024-10-04T09:43:40-04:00\",\n    \"durationInDays\": 30,\n    \"timeZone\": \"America/New_York\",\n    \"endDate\": \"2024-11-03T08:43:40-05:00\"\n  },\n  \"resourceSettings\": {\n    \"targetTypes\": [ … ],\n    \"targetResources\": [ … ]\n  },\n  \"principalScopeSettings\": {\n    \"type\": \"USERS\",\n    \"excludedUserIds\": [],\n    \"userIds\": [],\n    \"groupIds\": [],\n    \"includeOnlyActiveUsers\": false\n  },\n  \"reviewerSettings\": {\n    \"type\": \"REVIEWER_EXPRESSION\",\n    \"reviewerScopeExpression\": \"user.profile.reviewerId\",\n    \"fallBackReviewerId\": \"00u3tm6uw9Cx4Sn8H1d7\",\n    \"selfReviewDisabled\": true,\n    \"justificationRequired\": true,\n    \"bulkDecisionDisabled\": false\n  },\n  \"notificationSettings\": {\n    \"notifyReviewerWhenReviewAssigned\": true,\n    \"notifyReviewerAtCampaignEnd\": true,\n    \"remindersReviewerBeforeCampaignCloseInSecs\": [ … ],\n    \"notifyReviewerWhenOverdue\": false,\n    \"notifyReviewerDuringMidpointOfReview\": true,\n    \"notifyReviewPeriodEnd\": true\n  },\n  \"remediationSettings\": {\n    \"accessApproved\": \"NO_ACTION\",\n    \"accessRevoked\": \"DENY\",\n    \"noResponse\": \"NO_ACTION\"\n  },\n  \"status\": \"SCHEDULED\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.829Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":121,"estimatedTokens":830}}654{"id":"doc-create_a_request_type-f7ac863a","source":"documentation","title":"Create a request type","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/request-types/createrequesttype","text":"Example:\n```text\n{\n  \"type\": \"GROUPS\",\n  \"targetResources\": [\n    \"00g1emaKYZTWRYYRRTSK\"\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"EVERYONE\",\n  \"requesterFields\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"SERIAL\",\n  \"approvals\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/request-types \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"salesforce-01\",\n    \"description\": \"How users can request access to Admin Group\",\n    \"ownerId\": \"61eb0f06c462d20007f051ac\",\n    \"resourceSettings\": {\n      \"type\": \"GROUPS\",\n      \"targetResources\": [\n        {\n          \"resourceId\": \"00g1emaKYZTWRYYRRTSK\"\n        }\n      ]\n    },\n    \"approvalSettings\": {\n      \"type\": \"SERIAL\",\n      \"approvals\": [\n        {\n          \"approverType\": \"MANAGER\"\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"createRequest\": {\n    \"href\": \"https://my-org.at.okta.com/next/new?q=Request%20access%20to%20Salesforce&request_type=0oa1gjh63g214q0Hq0g4\",\n    \"type\": \"text/html\"\n  },\n  \"requests\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests?filter=requestTypeId%20eq%20%2261eb2db568c7c300079fefd0%22\",\n    \"type\": \"application/json\"\n  },\n  \"self\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests/61eb2db568c7c300079fefd0\",\n    \"type\": \"application/json\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"08ab2db568c7c300079fefd0\",\n  \"name\": \"low-privilege-group-01-request-type-02\",\n  \"description\": \"How users can request access to low privilege Group 01\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"DRAFT\",\n  \"lastUpdateSource\": \"API\",\n  \"ownerId\": \"61eb0f06c462d20007f051ac\",\n  \"resourceSettings\": {\n    \"type\": \"GROUPS\",\n    \"targetResources\": [ … ]\n  },\n  \"requestSettings\": {\n    \"type\": \"EVERYONE\",\n    \"requesterFields\": []\n  },\n  \"approvalSettings\": {\n    \"type\": \"SERIAL\",\n    \"approvals\": [ … ]\n  },\n  \"accessDuration\": null,\n  \"_links\": {\n    \"createRequest\": { … },\n    \"requests\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.829Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":111,"estimatedTokens":541}}655{"id":"doc-assign_a_group_owner-f39b8183","source":"documentation","title":"Assign a group owner","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/groupowner/other/assigngroupowner","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/owners \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"00u1cmc03xjzePoWD0h8\",\n    \"type\": \"USER\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00u1cmc03xjzePoWD0h8\",\n  \"type\": \"USER\",\n  \"resolved\": true,\n  \"originId\": null,\n  \"originType\": \"OKTA_DIRECTORY\",\n  \"displayName\": \"Oliver Putnam\",\n  \"lastUpdated\": \"Wed Mar 29 18:34:31 UTC 2023\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.829Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":116}}656{"id":"doc-list_all_grants_for_a_client-aded8b82","source":"documentation","title":"List all grants for a client","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usergrant/other/listgrantsforuserandclient","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/grants?expand=string&after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"clientId\": \"oag3ih1zrm1cBFOiq0h6\",\n    \"created\": \"2017-03-28T01:11:10.000Z\",\n    \"createdBy\": { … },\n    \"id\": \"oag3ih1zrm1cBFOiq0h6\",\n    \"issuer\": \"https://my_test_okta_org.oktapreview.com\",\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"scopeId\": \"okta.users.read\",\n    \"source\": \"ADMIN\",\n    \"status\": \"ACTIVE\",\n    \"userId\": \"00u5t60iloOHN9pBi0h7\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":160}}657{"id":"doc-list_all_groups-43bb9328","source":"documentation","title":"List all groups","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userresources/other/listusergroups","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/{id}/groups?after=string&limit=200'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0gabcd1234\",\n    \"profile\": { … }\n  },\n  {\n    \"id\": \"0gefgh5678\",\n    \"profile\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":66}}658{"id":"doc-revoke_all_grants_for_a_client-ff268fad","source":"documentation","title":"Revoke all grants for a client","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usergrant/other/revokegrantsforuserandclient","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/grants\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}659{"id":"doc-list_all_group_owners-3222f14f","source":"documentation","title":"List all group owners","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/groupowner/other/listgroupowners","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/owners?filter=type%20eq%20%22USER%22&after=string&limit=1000'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"00g1gae1k0znUcLuU0h8\",\n    \"type\": \"GROUP\",\n    \"resolved\": true,\n    \"originId\": \"null\",\n    \"originType\": \"OKTA_DIRECTORY\",\n    \"displayName\": \"Product & Engineering\",\n    \"lastUpdated\": \"2023-03-29 18:18:37.0\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":109}}660{"id":"doc-publish_a_request_type-1269405a","source":"documentation","title":"Publish a request type","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/request-types/publishrequesttype","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v1/request-types/{requestTypeId}/publish'\n```\n\nExample:\n```text\n{\n  \"createRequest\": {\n    \"href\": \"https://my-org.at.okta.com/next/new?q=Request%20access%20to%20Salesforce&request_type=0oa1gjh63g214q0Hq0g4\",\n    \"type\": \"text/html\"\n  },\n  \"requests\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests?filter=requestTypeId%20eq%20%2261eb2db568c7c300079fefd0%22\",\n    \"type\": \"application/json\"\n  },\n  \"self\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests/61eb2db568c7c300079fefd0\",\n    \"type\": \"application/json\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"GROUPS\",\n  \"targetResources\": [\n    \"00g1emaKYZTWRYYRRTSK\"\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"EVERYONE\",\n  \"requesterFields\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"SERIAL\",\n  \"approvals\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"61eb2db568c7c300079fefd0\",\n  \"name\": \"salesforce-01\",\n  \"description\": \"How users can request access to Salesforce 01\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"ownerId\": \"61eb0f06c462d20007f051ac\",\n  \"resourceSettings\": {\n    \"type\": \"GROUPS\",\n    \"targetResources\": [ … ]\n  },\n  \"requestSettings\": {\n    \"type\": \"EVERYONE\",\n    \"requesterFields\": [ … ]\n  },\n  \"approvalSettings\": {\n    \"type\": \"SERIAL\",\n    \"approvals\": [ … ]\n  },\n  \"lastUpdateSource\": \"API\",\n  \"accessDuration\": null,\n  \"_links\": {\n    \"createRequest\": { … },\n    \"requests\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":89,"estimatedTokens":417}}661{"id":"doc-create_a_request-03957506","source":"documentation","title":"Create a request","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/createrequest","text":"Example:\n```text\n[\n  \"00ub0oNGTSWTBKOLGLNR\",\n  \"00ub0oNGTSWTBKOLGLNR\"\n]\n```\n\nExample:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/requests \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"requestTypeId\": \"08ab2db568c7c300079fefd0\",\n    \"subject\": \"I need access to Salesforce\"\n  }'\n```\n\nExample:\n```text\n[\n  \"00ub0oNGTSWTBKOLGLNR\"\n]\n```\n\nExample:\n```text\n{\n  \"id\": \"61eb06a3c462d20007f0235c\",\n  \"subject\": \"Tom requests access to Salesforce\",\n  \"requestTypeId\": \"08ab2db568c7c300079fefd0\",\n  \"created\": \"2022-05-05T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-05T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"permalinkId\": 1,\n  \"resolved\": null,\n  \"requestStatus\": \"OPEN\",\n  \"requesterUserIds\": [\n    \"00ub0oNGTSWTBKOLGLNR\"\n  ],\n  \"requesterFieldValues\": null,\n  \"approvals\": [\n    { … },\n    { … }\n  ],\n  \"actions\": [\n    { … }\n  ],\n  \"type\": \"ACCESS_REQUEST\",\n  \"_links\": {\n    \"requestType\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.831Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":59,"estimatedTokens":256}}662{"id":"doc-my_requests-aa65f090","source":"documentation","title":"My Requests","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-requests","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5/requests \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'\n```\n\nExample:\n```text\n{\n  \"id\": \"req42kjDgk1EubTwo0g4\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-05T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"SUBMITTED\",\n  \"requestedBy\": {\n    \"type\": \"OKTA_USER\",\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\"\n  },\n  \"requestedFor\": {\n    \"type\": \"OKTA_USER\",\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\"\n  },\n  \"requested\": {\n    \"entryId\": \"cenb0oADRXTBKOLGLNR\",\n    \"resourceId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"resourceType\": \"APPLICATION\",\n    \"accessScopeType\": \"APPLICATION\",\n    \"accessScopeId\": \"0oafxqCAJWWGELFTYASJ\"\n  },\n  \"_links\": {\n    \"catalogEntry\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.831Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":40,"estimatedTokens":229}}663{"id":"doc-my_settings-006bc4cb","source":"documentation","title":"My Settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-settings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v1/my/settings\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"appointments\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.831Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":46}}664{"id":"doc-list_all_teams-c0d94d77","source":"documentation","title":"List all teams","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/request-types/listallrequestteams","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/teams?filter=name%20eq%20%22Salesforce%20admins%22&after=stringstringstringstring&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":64}}665{"id":"doc-list_all_assigned_app_links-88d94be5","source":"documentation","title":"List all assigned app links","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userresources/other/listapplinks","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/{id}/appLinks'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"label\": \"Google Apps Mail\",\n    \"linkUrl\": \"https://{yourOktaDomain}/home/google/0oa3omz2i9XRNSRIHBZO/50\",\n    \"logoUrl\": \"https://{yourOktaDomain}/img/logos/google-mail.png\",\n    \"appName\": \"google\",\n    \"appInstanceId\": \"0oa3omz2i9XRNSRIHBZO\",\n    \"appAssignmentId\": \"0ua3omz7weMMMQJERBKY\",\n    \"credentialsSetup\": false,\n    \"hidden\": false,\n    \"sortOrder\": 0\n  },\n  {\n    \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"label\": \"Google Apps Calendar\",\n    \"linkUrl\": \"https://{yourOktaDomain}/home/google/0oa3omz2i9XRNSRIHBZO/54\",\n    \"logoUrl\": \"https://{yourOktaDomain}/img/logos/google-calendar.png\",\n    \"appName\": \"google\",\n    \"appInstanceId\": \"0oa3omz2i9XRNSRIHBZO\",\n    \"appAssignmentId\": \"0ua3omz7weMMMQJERBKY\",\n    \"credentialsSetup\": false,\n    \"hidden\": false,\n    \"sortOrder\": 1\n  },\n  {\n    \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"label\": \"Box\",\n    \"linkUrl\": \"https://{yourOktaDomain}/home/boxnet/0oa3ompioiQCSTOYXVBK/72\",\n    \"logoUrl\": \"https://{yourOktaDomain}/img/logos/box.png\",\n    \"appName\": \"boxnet\",\n    \"appInstanceId\": \"0oa3ompioiQCSTOYXVBK\",\n    \"appAssignmentId\": \"0ua3omx46lYEZLPPRWBO\",\n    \"credentialsSetup\": false,\n    \"hidden\": false,\n    \"sortOrder\": 3\n  },\n  {\n    \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"label\": \"Salesforce.com\",\n    \"linkUrl\": \"https://{yourOktaDomain}/home/salesforce/0oa12ecnxtBQMKOXJSMF/46\",\n    \"logoUrl\": \"https://{yourOktaDomain}/img/logos/salesforce_logo.png\",\n    \"appName\": \"salesforce\",\n    \"appInstanceId\": \"0oa12ecnxtBQMKOXJSMF\",\n    \"appAssignmentId\": \"0ua173qgj5VAVOBQMCVB\",\n    \"credentialsSetup\": true,\n    \"hidden\": false,\n    \"sortOrder\": 2\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":61,"estimatedTokens":445}}666{"id":"doc-assign_a_linked_object_value_for_primary-311214ec","source":"documentation","title":"Assign a linked object value for primary","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlinkedobject/other/assignlinkedobjectvalueforprimary","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/users/00u5zex6ztMbOZhF50h7/linkedObjects/manager/{primaryUserId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}667{"id":"doc-my_catalogs-870158b6","source":"documentation","title":"My Catalogs","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-catalogs","text":"Example:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20&after=cen33e47frfMB93gQ8g6\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&match=figma&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&match=edit&limit=8\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries?filter=not(parent%20pr)&after=cenp2rjyxK1Js2Fc41d5&match=figma&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"atspoke\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":47,"estimatedTokens":233}}668{"id":"doc-list_the_primary_or_all_of_the_associated_linked-df98c2df","source":"documentation","title":"List the primary or all of the associated linked object values","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlinkedobject/other/listlinkedobjectsforuser","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00u5zex6ztMbOZhF50h7/linkedObjects/manager\n```\n\nExample:\n```text\n[\n  {\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":48}}669{"id":"doc-revoke_a_user_grant-d63285b6","source":"documentation","title":"Revoke a user grant","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usergrant/other/revokeusergrant","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/grants/iJoqkwx50mrgX4T9LcaH\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}670{"id":"doc-list_all_devices_for_an_enrolled_user-970eeebb","source":"documentation","title":"List all devices for an enrolled user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userresources/other/listuserdevices","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/devices\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2020-11-03T21:47:01.000Z\",\n    \"deviceUserId\": \"lnk46w61OLJz1uSQW0g4\",\n    \"device\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":66}}671{"id":"doc-revoke_all_user_grants-82839692","source":"documentation","title":"Revoke all user grants","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usergrant/other/revokeusergrants","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/grants\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":40}}672{"id":"doc-list_all_clients-11368937","source":"documentation","title":"List all clients","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userresources/other/listuserclients","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/clients\n```\n\nExample:\n```text\n[\n  {\n    \"client_id\": \"0oabskvc6442nkvQO0h7\",\n    \"client_name\": \"My App\",\n    \"client_uri\": null,\n    \"logo_uri\": null,\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":73}}673{"id":"doc-revoke_a_token_for_a_client-57b976e9","source":"documentation","title":"Revoke a token for a client","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/useroauth/other/revoketokenforuserandclient","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/tokens/sHHSth53yJAyNSTQKDJZ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":55}}674{"id":"doc-retrieve_a_refresh_token_for_a_client-73926a6f","source":"documentation","title":"Retrieve a refresh token for a client","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/useroauth/other/getrefreshtokenforuserandclient","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/tokens/sHHSth53yJAyNSTQKDJZ?expand=scope'\n```\n\nExample:\n```text\n[\n  \"offline_access\"\n]\n```\n\nExample:\n```text\n{\n  \"clientId\": \"string\",\n  \"created\": \"2017-03-28T01:11:10.000Z\",\n  \"expiresAt\": \"2019-08-24T14:15:22Z\",\n  \"id\": \"oar579Mcp7OUsNTlo0g3\",\n  \"issuer\": \"https://{yourOktaDomain}/oauth2/ausain6z9zIedDCxB0h7\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"scopes\": [\n    \"offline_access\"\n  ],\n  \"status\": \"ACTIVE\",\n  \"userId\": \"00u5t60iloOHN9pBi0h7\",\n  \"_embedded\": {\n    \"scopes\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"app\": { … },\n    \"revoke\": { … },\n    \"client\": { … },\n    \"user\": { … },\n    \"authorizationServer\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":201}}675{"id":"doc-revoke_all_refresh_tokens_for_a_client-4d7620e6","source":"documentation","title":"Revoke all refresh tokens for a client","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/useroauth/other/revoketokensforuserandclient","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/tokens\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}676{"id":"doc-retrieve_a_user_grant-4977a569","source":"documentation","title":"Retrieve a user grant","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/usergrant/other/getusergrant","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/grants/iJoqkwx50mrgX4T9LcaH?expand=scope'\n```\n\nExample:\n```text\n{\n  \"clientId\": \"oag3ih1zrm1cBFOiq0h6\",\n  \"created\": \"2017-03-28T01:11:10.000Z\",\n  \"createdBy\": {\n    \"id\": \"00u5t60iloOHN9pBi0h7\",\n    \"type\": \"User\"\n  },\n  \"id\": \"oag3ih1zrm1cBFOiq0h6\",\n  \"issuer\": \"https://my_test_okta_org.oktapreview.com\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"scopeId\": \"okta.users.read\",\n  \"source\": \"ADMIN\",\n  \"status\": \"ACTIVE\",\n  \"userId\": \"00u5t60iloOHN9pBi0h7\",\n  \"_embedded\": {\n    \"scope\": { … }\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"app\": { … },\n    \"client\": { … },\n    \"scope\": { … },\n    \"user\": { … },\n    \"authorizationServer\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":192}}677{"id":"doc-delete_a_linked_object_value-a1792986","source":"documentation","title":"Delete a linked object value","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userlinkedobject/other/deletelinkedobjectforuser","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00u5zex6ztMbOZhF50h7/linkedObjects/manager\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":43}}678{"id":"doc-list_all_refresh_tokens_for_a_client-d7fb8778","source":"documentation","title":"List all refresh tokens for a client","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/useroauth/other/listrefreshtokensforuserandclient","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/tokens?expand=scope&after=string&limit=20'\n```\n\nExample:\n```text\n[\n  \"offline_access\"\n]\n```\n\nExample:\n```text\n[\n  {\n    \"clientId\": \"string\",\n    \"created\": \"2017-03-28T01:11:10.000Z\",\n    \"expiresAt\": \"2019-08-24T14:15:22Z\",\n    \"id\": \"oar579Mcp7OUsNTlo0g3\",\n    \"issuer\": \"https://{yourOktaDomain}/oauth2/ausain6z9zIedDCxB0h7\",\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"scopes\": [ … ],\n    \"status\": \"ACTIVE\",\n    \"userId\": \"00u5t60iloOHN9pBi0h7\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":33,"estimatedTokens":166}}679{"id":"doc-retrieve_a_linked_object_definition-70760167","source":"documentation","title":"Retrieve a linked object definition","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/linkedobject/other/getlinkedobjectdefinition","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}'\n```\n\nExample:\n```text\n{\n  \"primary\": {\n    \"name\": \"manager\",\n    \"title\": \"manager\",\n    \"description\": \"Manager link property\",\n    \"type\": \"USER\"\n  },\n  \"associated\": {\n    \"name\": \"subordinate\",\n    \"title\": \"subordinate\",\n    \"description\": \"Subordinate link property\",\n    \"type\": \"USER\"\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.833Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":120}}680{"id":"doc-zscaler_2_0-54553520","source":"documentation","title":"Zscaler 2.0","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application/zscalerbyzapplication","text":"Example:\n```text\n{\n  \"name\": \"zscalerbyz\",\n  \"label\": \"Sample Zscaler 2.0 App\",\n  \"signOnMode\": \"SAML_2_0\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":10,"estimatedTokens":32}}681{"id":"doc-salesforce-3c02265d","source":"documentation","title":"Salesforce","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application/salesforceapplication","text":"Example:\n```text\n{\n  \"app\": {\n    \"instanceType\": \"SANDBOX\",\n    \"integrationType\": \"STANDARD\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"name\": \"salesforce\",\n  \"label\": \"Sample Salesforce App\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"settings\": {\n    \"app\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":68}}682{"id":"doc-trend_micro_apex_one_service-d1639f62","source":"documentation","title":"Trend Micro Apex One Service","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application/trendmicroapexoneserviceapplication","text":"Example:\n```text\n{\n  \"app\": {\n    \"baseURL\": \"https://acme.trendmicro.com\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"name\": \"trendmicroapexoneservice\",\n  \"label\": \"Sample Trend Micro Apex One as a Service App\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"settings\": {\n    \"app\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":72}}683{"id":"doc-google_workspace-a1381901","source":"documentation","title":"Google Workspace","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/application/googleapplication","text":"Example:\n```text\n{\n  \"app\": {\n    \"domain\": \"my-company-domain\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"name\": \"google\",\n  \"label\": \"Sample Google App\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"settings\": {\n    \"app\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":58}}684{"id":"doc-revoke_an_app_grant-ac6df720","source":"documentation","title":"Revoke an app grant","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgrants/other/revokescopeconsentgrant","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/grants/iJoqkwx50mrgX4T9LcaH\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}685{"id":"doc-retrieve_a_cross_app_access_connection-c910aa4b","source":"documentation","title":"Retrieve a Cross App Access connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationcrossappaccessconnections/other/getcrossappaccessconnection","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/cwo/connections/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\n{\n  \"created\": \"2024-10-15T10:30:00.000Z\",\n  \"id\": \"cwofxqCAJWWGELFTYASJ\",\n  \"lastUpdated\": \"2024-10-15T14:20:00.000Z\",\n  \"requestingAppInstanceId\": \"0oafxqCAJWWGELFTYASJ\",\n  \"resourceAppInstanceId\": \"0oafxqCBJWWGELFTYASK\",\n  \"status\": \"ACTIVE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":105}}686{"id":"doc-update_an_application_group-64e63d8e","source":"documentation","title":"Update an application group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgroups/other/updategroupassignmenttoapplication","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/groups/00g1emaKYZTWRYYRRTSK \\\n  -H 'Content-Type: application/json' \\\n  -d '[\n    {\n      \"op\": \"replace\",\n      \"path\": \"/profile/manager\",\n      \"value\": \"Carlo Ancelotti\"\n    }\n  ]'\n```\n\nExample:\n```text\n{\n  \"id\": \"00g15acRUy0SYb9GT0g4\",\n  \"priority\": 0,\n  \"lastUpdated\": \"2024-06-03T13:42:20.000Z\",\n  \"profile\": {\n    \"preferredLanguage\": \"English\",\n    \"securityQuestion\": \"Who is the footballer to have played the game\",\n    \"securityAnswer\": \"Jay Jay Okocha\",\n    \"timezone\": \"Canada/Eastern\",\n    \"initialStatus\": \"active_with_pass\",\n    \"managerId\": \"ike.ogb@gmail.com\",\n    \"locale\": \"en_US\",\n    \"division\": \"top\",\n    \"organization\": null,\n    \"userType\": null,\n    \"department\": \"Accounting\",\n    \"manager\": \"Carlo Ancelotti\"\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"self\": { … },\n    \"group\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":43,"estimatedTokens":234}}687{"id":"doc-unassign_an_application_group-b95598b7","source":"documentation","title":"Unassign an application group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgroups/other/unassignapplicationfromgroup","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/groups/00g1emaKYZTWRYYRRTSK\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}688{"id":"doc-retrieve_an_application_group-94cf889a","source":"documentation","title":"Retrieve an application group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgroups/other/getapplicationgroupassignment","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/groups/00g1emaKYZTWRYYRRTSK?expand=group'\n```\n\nExample:\n```text\n{\n  \"id\": \"00g15acRUy0SYb9GT0g4\",\n  \"priority\": 0,\n  \"lastUpdated\": \"2024-06-02T13:17:57.000Z\",\n  \"profile\": {\n    \"preferredLanguage\": \"English\",\n    \"manager\": \"Donald Glover\",\n    \"securityQuestion\": \"Who is the footballer to have played the game\",\n    \"securityAnswer\": \"Ronaldinho\",\n    \"timezone\": \"Canada/Eastern\",\n    \"initialStatus\": \"active_with_pass\",\n    \"managerId\": \"ike.ogb@gmail.com\",\n    \"locale\": \"en_US\",\n    \"division\": \"top\",\n    \"organization\": \"wazobia\",\n    \"userType\": null,\n    \"department\": \"marketing\"\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"self\": { … },\n    \"group\": { … }\n  },\n  \"_embedded\": {\n    \"group\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":208}}689{"id":"doc-update_a_cross_app_access_connection-e302d080","source":"documentation","title":"Update a Cross App Access connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationcrossappaccessconnections/other/updatecrossappaccessconnection","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/cwo/connections/0oafxqCAJWWGELFTYASJ \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"status\": \"ACTIVE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"created\": \"2024-10-15T10:30:00.000Z\",\n  \"id\": \"cwofxqCAJWWGELFTYASJ\",\n  \"lastUpdated\": \"2024-10-15T14:20:00.000Z\",\n  \"requestingAppInstanceId\": \"0oafxqCAJWWGELFTYASJ\",\n  \"resourceAppInstanceId\": \"0oafxqCBJWWGELFTYASK\",\n  \"status\": \"ACTIVE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":125}}690{"id":"doc-list_all_application_groups-5551a129","source":"documentation","title":"List all application groups","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgroups/other/listapplicationgroupassignments","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/groups?q=test&after=16275000448691&limit=20&expand=group'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"00g15acRUy0SYb9GT0g4\",\n    \"priority\": 0,\n    \"lastUpdated\": \"2024-06-02T13:17:57.000Z\",\n    \"profile\": { … },\n    \"_links\": { … },\n    \"_embedded\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":93}}691{"id":"doc-assign_an_application_group-395d3878","source":"documentation","title":"Assign an application group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationgroups/other/assigngrouptoapplication","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/groups/00g1emaKYZTWRYYRRTSK \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"00g15acRUy0SYb9GT0g4\",\n    \"profile\": {\n      \"preferredLanguage\": \"English\",\n      \"manager\": \"Arsene Wenger\",\n      \"securityQuestion\": \"Who is the footballer to have played the game\",\n      \"securityAnswer\": \"Jay Jay Okocha\",\n      \"timezone\": \"Canada/Eastern\",\n      \"initialStatus\": \"active_with_pass\",\n      \"managerId\": \"ike.ogb@gmail.com\",\n      \"locale\": \"en_US\",\n      \"division\": \"top\",\n      \"organization\": null,\n      \"userType\": null,\n      \"department\": \"Accounting\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00g15acRUy0SYb9GT0g4\",\n  \"priority\": 0,\n  \"lastUpdated\": \"2024-06-03T13:52:07.000Z\",\n  \"profile\": {\n    \"preferredLanguage\": \"English\",\n    \"manager\": \"Arsene Wenger\",\n    \"securityQuestion\": \"Who is the footballer to have played the game\",\n    \"securityAnswer\": \"Jay Jay Okocha\",\n    \"timezone\": \"Canada/Eastern\",\n    \"initialStatus\": \"active_with_pass\",\n    \"managerId\": \"ike.ogb@gmail.com\",\n    \"locale\": \"en_US\",\n    \"division\": \"top\",\n    \"organization\": null,\n    \"userType\": null,\n    \"department\": \"Accounting\"\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"self\": { … },\n    \"group\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":53,"estimatedTokens":333}}692{"id":"doc-create_a_cross_app_access_connection-479c64ef","source":"documentation","title":"Create a Cross App Access connection","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationcrossappaccessconnections/other/createcrossappaccessconnection","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/cwo/connections \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"requestingAppInstanceId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"resourceAppInstanceId\": \"0oafxqCBJWWGELFTYASK\",\n    \"status\": \"ACTIVE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"created\": \"2024-10-15T10:30:00.000Z\",\n  \"id\": \"cwofxqCAJWWGELFTYASJ\",\n  \"lastUpdated\": \"2024-10-15T14:20:00.000Z\",\n  \"requestingAppInstanceId\": \"0oafxqCAJWWGELFTYASJ\",\n  \"resourceAppInstanceId\": \"0oafxqCBJWWGELFTYASK\",\n  \"status\": \"ACTIVE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":147}}693{"id":"doc-sign_in_to_spa_with_auth_js_okta_developer-4c49dce7","source":"documentation","title":"Sign in to SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/archive-sign-in-to-spa-authjs/vue/main/","text":"Example:\n```bash\nnpm install -g @vue/cli\nvue create okta-vue-auth-example\ncd okta-vue-auth-example\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js\n```\n\nExample:\n```html\n<template>\n  <div>\n    <h2>About</h2>\n  </div>\n</template>\n```\n\nExample:\n```html\n<template>\n  <div>\n    <h2>Dashboard</h2>\n    <p>Yay you made it!</p>\n  </div>\n</template>\n```\n\nExample:\n```js\nconst OktaAuth = require('@okta/okta-auth-js').OktaAuth\nconst authClient = new OktaAuth({\n  issuer: 'https://{yourOktaDomain}',\n  clientId: '{clientId}',\n  scopes: ['openid', 'email', 'profile'],\n  redirectUri: window.location.origin + '/login/callback'\n})\n\nexport default {\n  login (email, pass, cb) {\n    cb = arguments[arguments.length - 1]\n    if (localStorage.token) {\n      if (cb) cb(true)\n      this.onChange(true)\n      return\n    }\n    return authClient.signInWithCredentials({\n      username: email,\n      password: pass\n    }).then(transaction => {\n      if (transaction.status === 'SUCCESS') {\n        return authClient.token.getWithoutPrompt({\n          responseType: ['id_token', 'token'],\n          sessionToken: transaction.sessionToken,\n        }).then(response => {\n          localStorage.token = response.tokens.accessToken\n          localStorage.idToken = response.tokens.idToken\n          if (cb) cb(true)\n          this.onChange(true)\n        })\n      }\n    }).catch(err => {\n      console.error(err.message)\n      if (cb) cb(false)\n      this.onChange(false)\n    })\n  },\n\n  getToken () {\n    return localStorage.token\n  },\n\n  logout (cb) {\n    delete localStorage.token\n    delete localStorage.idToken\n    if (cb) cb()\n    this.onChange(false)\n    return authClient.signOut()\n  },\n\n  loggedIn () {\n    return !!localStorage.token\n  },\n\n  onChange () {\n  }\n}\n```\n\nExample:\n```html\n<template>\n  <div id=\"app\">\n    <h1>Okta Auth JS Example</h1>\n    <ul>\n      <li>\n        <router-link v-if=\"loggedIn\" to=\"/logout\">Log out</router-link>\n        <router-link v-if=\"!loggedIn\" to=\"/login\">Log in</router-link>\n      </li>\n      <li>\n        <router-link to=\"/about\">About</router-link>\n      </li>\n      <li>\n        <router-link to=\"/dashboard\">Dashboard</router-link>\n        (authenticated)\n      </li>\n    </ul>\n    <template v-if=\"$route.matched.length\">\n      <router-view></router-view>\n    </template>\n    <template v-else>\n      <p>You are logged {{ loggedIn ? 'in' : 'out' }}</p>\n    </template>\n  </div>\n</template>\n\n<script>\nimport auth from './auth'\nexport default {\n  data () {\n    return {\n      loggedIn: auth.loggedIn()\n    }\n  },\n  created () {\n    auth.onChange = loggedIn => {\n      this.loggedIn = loggedIn\n    }\n  }\n}\n</script>\n\n<style>\n  html, body {\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n    color: #2c3e50;\n  }\n\n  #app {\n    padding: 0 20px;\n  }\n\n  ul {\n    line-height: 1.5em;\n    padding-left: 1.5em;\n  }\n\n  a {\n    color: #7f8c8d;\n    text-decoration: none;\n  }\n\n  a:hover {\n    color: #4fc08d;\n  }\n</style>\n```\n\nExample:\n```html\n<template>\n  <div>\n    <h2>Login</h2>\n    <p v-if=\"$route.query.redirect\">\n      You need to login first.\n    </p>\n    <form @submit.prevent=\"login\" autocomplete=\"off\">\n      <label><input v-model=\"email\" placeholder=\"email\" v-focus></label>\n      <label><input v-model=\"pass\" placeholder=\"password\" type=\"password\"></label><br>\n      <button type=\"submit\">login</button>\n      <p v-if=\"error\" class=\"error\">Bad login information</p>\n    </form>\n  </div>\n</template>\n\n<script>\n  import auth from '../auth'\n  export default {\n    data () {\n      return {\n        email: '',\n        pass: '',\n        error: false\n      }\n    },\n    methods: {\n      login () {\n        auth.login(this.email, this.pass, loggedIn => {\n          if (!loggedIn) {\n            this.error = true\n          } else {\n            this.$router.replace(this.$route.query.redirect || '/')\n          }\n        })\n      }\n    }\n  }\n</script>\n\n<style>\n  .error {\n    color: red;\n  }\n</style>\n```\n\nExample:\n```js\ncreateApp(App)\n.directive('focus', {\n  // When the bound element is inserted into the DOM...\n  mounted: function (el) {\n    // Focus the element\n    el.focus()\n  }\n})\n.use(router)\n.mount('#app')\n```\n\nExample:\n```js\nimport { createRouter, createWebHistory } from 'vue-router'\nimport auth from '@/auth'\nimport About from '@/components/About.vue'\nimport Dashboard from '@/components/Dashboard.vue'\nimport Login from '@/components/Login.vue'\n\nconst router = createRouter({\n  history: createWebHistory(__dirname),\n  routes: [\n    { path: '/about', component: About },\n    { path: '/dashboard', component: Dashboard, beforeEnter: requireAuth },\n    { path: '/login', component: Login },\n    { path: '/logout',\n      beforeEnter (to, from, next) {\n        auth.logout()\n        next('/')\n      }\n    }\n  ]\n})\n\nfunction requireAuth (to, from, next) {\n  if (!auth.loggedIn()) {\n    next({\n      path: '/login',\n      query: { redirect: to.fullPath }\n    })\n  } else {\n    next()\n  }\n}\n\nexport default router;\n```\n\nExample:\n```bash\nnpm run serve\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.836Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":266,"estimatedTokens":1275}}694{"id":"doc-opt_in_to_okta_user_communication_emails-331af3eb","source":"documentation","title":"Opt in to Okta user communication emails","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcommunication/other/optinuserstooktacommunicationemails","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaCommunication/optIn\n```\n\nExample:\n```text\n{\n  \"optOutEmailUsers\": false,\n  \"_links\": {\n    \"optOut\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.836Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":55}}695{"id":"doc-replace_the_okta_application_settings-a4870aab","source":"documentation","title":"Replace the Okta application settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/oktaapplicationsettings/other/replacefirstpartyappsettings","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/first-party-app-settings/admin-console \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"sessionMaxLifetimeMinutes\": 720,\n    \"sessionIdleTimeoutMinutes\": 15\n  }'\n```\n\nExample:\n```text\n{\n  \"sessionMaxLifetimeMinutes\": 720,\n  \"sessionIdleTimeoutMinutes\": 15\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.836Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":88}}696{"id":"doc-assign_an_app_sign_in_policy-764b31cb","source":"documentation","title":"Assign an app sign-in policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationpolicies/other/assignapplicationpolicy","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/policies/00plrilJ7jZ66Gn0X0g3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.836Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}697{"id":"doc-list_all_api_service_integration_instances-f45f1a25","source":"documentation","title":"List all API service integration instances","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/listapiserviceintegrationinstances","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/integrations/api/v1/api-services?after=string'\n```\n\nExample:\n```text\n[\n  \"okta.logs.read\"\n]\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0oa72lrepvp4WqEET1d9\",\n    \"type\": \"my_app_cie\",\n    \"name\": \"My App Cloud Identity Engine\",\n    \"createdAt\": \"2023-02-21T20:08:24.000Z\",\n    \"createdBy\": \"00uu3u0ujW1P6AfZC2d5\",\n    \"configGuideUrl\": \"https://{docDomain}/my-app-cie/configuration-guide\",\n    \"grantedScopes\": [ … ],\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.836Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":30,"estimatedTokens":131}}698{"id":"doc-create_an_api_service_integration_instance_secre-8f9be270","source":"documentation","title":"Create an API service integration instance secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/createapiserviceintegrationinstancesecret","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/integrations/api/v1/api-services/000lr2rLjZ6NsGn1P0g3/credentials/secrets\n```\n\nExample:\n```text\n{\n  \"id\": \"ocs2f50kZB0cITmYU0g4\",\n  \"status\": \"ACTIVE\",\n  \"client_secret\": \"DRUFXGF9XbLnS9k-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"secret_hash\": \"FpCwXwSjTRQNtEI11I00-g\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.836Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":118}}699{"id":"doc-retrieve_an_api_service_integration_instance-8ed9e1a4","source":"documentation","title":"Retrieve an API service integration instance","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/getapiserviceintegrationinstance","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/integrations/api/v1/api-services/000lr2rLjZ6NsGn1P0g3\n```\n\nExample:\n```text\n[\n  \"okta.logs.read\"\n]\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa72lrepvp4WqEET1d9\",\n  \"type\": \"my_app_cie\",\n  \"name\": \"My App Cloud Identity Engine\",\n  \"createdAt\": \"2023-02-21T20:08:24.000Z\",\n  \"createdBy\": \"00uu3u0ujW1P6AfZC2d5\",\n  \"configGuideUrl\": \"https://{docDomain}/my-app-cie/configuration-guide\",\n  \"grantedScopes\": [\n    \"okta.logs.read\",\n    \"okta.groups.read\",\n    \"okta.users.read\"\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"client\": { … },\n    \"logo\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":36,"estimatedTokens":158}}700{"id":"doc-retrieve_the_okta_application_settings-c9c58979","source":"documentation","title":"Retrieve the Okta application settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/oktaapplicationsettings/other/getfirstpartyappsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/first-party-app-settings/admin-console\n```\n\nExample:\n```text\n{\n  \"sessionMaxLifetimeMinutes\": 720,\n  \"sessionIdleTimeoutMinutes\": 15\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":56}}701{"id":"doc-deactivate_an_api_service_integration_instance_s-a8b2ed35","source":"documentation","title":"Deactivate an API service integration instance secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/deactivateapiserviceintegrationinstancesecret","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/integrations/api/v1/api-services/000lr2rLjZ6NsGn1P0g3/credentials/secrets/ocs2f4zrZbs8nUa7p0g4/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"ocs2f4zrZbs8nUa7p0g4\",\n  \"status\": \"INACTIVE\",\n  \"client_secret\": \"***DhOW\",\n  \"secret_hash\": \"yk4SVx4sUWVJVbHt6M-UPA\",\n  \"created\": \"2023-02-21T20:08:24.000Z\",\n  \"lastUpdated\": \"2023-02-21T20:08:24.000Z\",\n  \"_links\": {\n    \"activate\": { … },\n    \"delete\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":125}}702{"id":"doc-create_an_api_service_integration_instance-e8c6aed6","source":"documentation","title":"Create an API service integration instance","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/createapiserviceintegrationinstance","text":"Example:\n```text\n[\n  \"okta.logs.read\"\n]\n```\n\nExample:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/integrations/api/v1/api-services \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"my_app_cie\",\n    \"grantedScopes\": [\n      \"okta.logs.read\",\n      \"okta.groups.read\",\n      \"okta.users.read\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oa72lrepvp4WqEET1d9\",\n  \"type\": \"my_app_cie\",\n  \"name\": \"My App Cloud Identity Engine\",\n  \"createdAt\": \"2023-02-21T20:08:24.000Z\",\n  \"createdBy\": \"00uu3u0ujW1P6AfZC2d5\",\n  \"clientSecret\": \"CkF69kXtag0q0P4pXU8OnP5IAzgGlwx6eqGy7Fmg\",\n  \"configGuideUrl\": \"https://{docDomain}/my-app-cie/configuration-guide\",\n  \"grantedScopes\": [\n    \"okta.logs.read\",\n    \"okta.groups.read\",\n    \"okta.users.read\"\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"client\": { … },\n    \"logo\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":46,"estimatedTokens":214}}703{"id":"doc-list_all_api_service_integration_instance_secret-76bd0c91","source":"documentation","title":"List all API service integration instance secrets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/listapiserviceintegrationinstancesecrets","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/integrations/api/v1/api-services/000lr2rLjZ6NsGn1P0g3/credentials/secrets\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"ocs2f4zrZbs8nUa7p0g4\",\n    \"status\": \"INACTIVE\",\n    \"client_secret\": \"***DhOW\",\n    \"secret_hash\": \"yk4SVx4sUWVJVbHt6M-UPA\",\n    \"created\": \"2023-02-21T20:08:24.000Z\",\n    \"lastUpdated\": \"2023-02-21T20:08:24.000Z\",\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"ocs2f50kZB0cITmYU0g4\",\n    \"status\": \"ACTIVE\",\n    \"client_secret\": \"***MQGQ\",\n    \"secret_hash\": \"0WOOvBSzV9clc4Nr7Rbaug\",\n    \"created\": \"2023-04-06T21:32:33.000Z\",\n    \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":173}}704{"id":"doc-delete_an_api_service_integration_instance_secre-8149f72f","source":"documentation","title":"Delete an API service integration instance secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/deleteapiserviceintegrationinstancesecret","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/integrations/api/v1/api-services/000lr2rLjZ6NsGn1P0g3/credentials/secrets/ocs2f4zrZbs8nUa7p0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":53}}705{"id":"doc-activate_an_api_service_integration_instance_sec-5a5254b0","source":"documentation","title":"Activate an API service integration instance secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/activateapiserviceintegrationinstancesecret","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/integrations/api/v1/api-services/000lr2rLjZ6NsGn1P0g3/credentials/secrets/ocs2f4zrZbs8nUa7p0g4/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"ocs2f50kZB0cITmYU0g4\",\n  \"status\": \"ACTIVE\",\n  \"client_secret\": \"***MQGQ\",\n  \"secret_hash\": \"0WOOvBSzV9clc4Nr7Rbaug\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":119}}706{"id":"doc-retrieve_the_org_third_party_admin_setting-f93dc02e","source":"documentation","title":"Retrieve the org third-party admin setting","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingadmin/other/getthirdpartyadminsetting","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/orgSettings/thirdPartyAdminSetting\n```\n\nExample:\n```text\n{\n  \"thirdPartyAdmin\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":45}}707{"id":"doc-update_the_org_third_party_admin_setting-412c8579","source":"documentation","title":"Update the org third-party admin setting","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingadmin/other/updatethirdpartyadminsetting","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/orgSettings/thirdPartyAdminSetting \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"thirdPartyAdmin\": false\n  }'\n```\n\nExample:\n```text\n{\n  \"thirdPartyAdmin\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":66}}708{"id":"doc-update_the_okta_admin_console_assignment_setting-e9426c3e","source":"documentation","title":"Update the Okta Admin Console assignment setting","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingadmin/other/updateautoassignadminappsetting","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/settings/autoAssignAdminAppSetting \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"autoAssignAdminAppSetting\": true\n  }'\n```\n\nExample:\n```text\n{\n  \"autoAssignAdminAppSetting\": true\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":71}}709{"id":"doc-retrieve_the_default_public_client_app_role_sett-2f363036","source":"documentation","title":"Retrieve the default public client app role setting","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingadmin/other/getclientprivilegessetting","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/settings/clientPrivilegesSetting\n```\n\nExample:\n```text\n{\n  \"clientPrivilegesSetting\": true\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":46}}710{"id":"doc-list_all_dependencies-d84e1cf2","source":"documentation","title":"List all dependencies","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/feature/other/listfeaturedependencies","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/features/R5HjqNn1pEqWGy48E9jg/dependencies\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"ftrZooGoT8b41iWRiQs7\",\n    \"description\": \"Example feature description\",\n    \"name\": \"Example feature name\",\n    \"stage\": { … },\n    \"status\": \"ENABLED\",\n    \"type\": \"self-service\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":95}}711{"id":"doc-retrieve_the_okta_communication_settings-d5870109","source":"documentation","title":"Retrieve the Okta communication settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcommunication/other/getoktacommunicationsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaCommunication\n```\n\nExample:\n```text\n{\n  \"optOutEmailUsers\": true,\n  \"_links\": {\n    \"optIn\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":52}}712{"id":"doc-retrieve_the_okta_admin_console_assignment_setti-abdc4ef1","source":"documentation","title":"Retrieve the Okta Admin Console assignment setting","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingadmin/other/getautoassignadminappsetting","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/settings/autoAssignAdminAppSetting\n```\n\nExample:\n```text\n{\n  \"autoAssignAdminAppSetting\": true\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":47}}713{"id":"doc-update_a_feature_lifecycle-3610f6e1","source":"documentation","title":"Update a feature lifecycle","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/feature/other/updatefeaturelifecycle","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/features/R5HjqNn1pEqWGy48E9jg/ENABLE?mode=string'\n```\n\nExample:\n```text\n{\n  \"description\": \"Example feature description\",\n  \"id\": \"ftrZooGoT8b41iWRiQs7\",\n  \"name\": \"Example feature name\",\n  \"stage\": {\n    \"state\": \"OPEN\",\n    \"value\": \"BETA\"\n  },\n  \"status\": \"DISABLED\",\n  \"type\": \"self-service\",\n  \"_links\": {\n    \"self\": { … },\n    \"dependents\": { … },\n    \"dependencies\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":119}}714{"id":"doc-list_all_dependents-81155932","source":"documentation","title":"List all dependents","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/feature/other/listfeaturedependents","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/features/R5HjqNn1pEqWGy48E9jg/dependents\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"ftrZooGoT8b41iWRiQs7\",\n    \"description\": \"Example feature description\",\n    \"name\": \"Example feature name\",\n    \"stage\": { … },\n    \"status\": \"ENABLED\",\n    \"type\": \"self-service\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":94}}715{"id":"doc-opt_out_of_okta_user_communication_emails-4dc59de7","source":"documentation","title":"Opt out of Okta user communication emails","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcommunication/other/optoutusersfromoktacommunicationemails","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaCommunication/optOut\n```\n\nExample:\n```text\n{\n  \"optOutEmailUsers\": true,\n  \"_links\": {\n    \"optIn\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":54}}716{"id":"doc-list_all_features-19d6a324","source":"documentation","title":"List all features","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/feature/other/listfeatures","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/features\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"ftrZooGoT8b41iWRiQs7\",\n    \"description\": \"Example feature description\",\n    \"name\": \"Example feature name\",\n    \"stage\": { … },\n    \"status\": \"DISABLED\",\n    \"type\": \"self-service\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":86}}717{"id":"doc-retrieve_a_feature-e0e08736","source":"documentation","title":"Retrieve a feature","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/feature/other/getfeature","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/features/R5HjqNn1pEqWGy48E9jg\n```\n\nExample:\n```text\n{\n  \"id\": \"ftrZooGoT8b41iWRiQs7\",\n  \"description\": \"Example feature description\",\n  \"name\": \"Example feature name\",\n  \"stage\": {\n    \"state\": \"CLOSED\",\n    \"value\": \"BETA\"\n  },\n  \"status\": \"DISABLED\",\n  \"type\": \"self-service\",\n  \"_links\": {\n    \"self\": { … },\n    \"dependents\": { … },\n    \"dependencies\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":114}}718{"id":"doc-revoke_okta_support_access-32b339aa","source":"documentation","title":"Revoke Okta Support access","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingsupport/other/revokeoktasupport","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaSupport/revoke\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":30}}719{"id":"doc-grant_okta_support_access-18a2d90a","source":"documentation","title":"Grant Okta Support access","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingsupport/other/grantoktasupport","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaSupport/grant\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":30}}720{"id":"doc-set_the_show_dashboard_footer_preference-c04b0442","source":"documentation","title":"Set the show dashboard footer preference","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcustomization/other/setorgshowoktauifooter","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/preferences/showEndUserFooter\n```\n\nExample:\n```text\n{\n  \"showEndUserFooter\": true,\n  \"_links\": {\n    \"hideEndUserFooter\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":57}}721{"id":"doc-assign_the_default_public_client_app_role_settin-5fb61d06","source":"documentation","title":"Assign the default public client app role setting","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingadmin/other/assignclientprivilegessetting","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/org/settings/clientPrivilegesSetting \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"clientPrivilegesSetting\": true\n  }'\n```\n\nExample:\n```text\n{\n  \"clientPrivilegesSetting\": true\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":69}}722{"id":"doc-retrieve_a_factor_transaction_status-94c330a8","source":"documentation","title":"Retrieve a factor transaction status","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/userfactor/other/getfactortransactionstatus!c=200&path=1/_embedded&t=response","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/factors/zAgrsaBe0wVGRugDYtdv/transactions/gPAQcN3NDjSGOCAeG2Jv\n```\n\nExample:\n```text\n{\n  \"expiresAt\": \"2015-04-01T15:57:32.000Z\",\n  \"factorResult\": \"WAITING\",\n  \"profile\": {\n    \"credentialId\": \"jane.doe@example.com\"\n  },\n  \"_links\": {\n    \"poll\": { … },\n    \"cancel\": { … }\n  },\n  \"_embedded\": {\n    \"challenge\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":110}}723{"id":"doc-retrieve_the_okta_support_settings-d400889e","source":"documentation","title":"Retrieve the Okta Support settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingsupport/other/getorgoktasupportsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaSupport\n```\n\nExample:\n```text\n{\n  \"support\": \"ENABLED\",\n  \"expiration\": \"2024-01-24T11:13:14.000Z\",\n  \"caseNumber\": \"20000144\",\n  \"_links\": {\n    \"case\": { … },\n    \"cases\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":73}}724{"id":"doc-retrieve_okta_aerial_consent_for_your_org-da1fcfe9","source":"documentation","title":"Retrieve Okta Aerial consent for your org","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingsupport/other/getaerialconsent","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/privacy/aerial\n```\n\nExample:\n```text\n{\n  \"accountId\": \"0200bs0617vvhv2v675mch1cukp\",\n  \"grantDate\": \"2023-04-06T21:32:33.000Z\",\n  \"grantedBy\": \"00uabcdefg1234567890\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":65}}725{"id":"doc-extend_okta_support_access-7b89dc98","source":"documentation","title":"Extend Okta Support access","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingsupport/other/extendoktasupport","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaSupport/extend\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":30}}726{"id":"doc-set_the_hide_dashboard_footer_preference-ba1f62fd","source":"documentation","title":"Set the hide dashboard footer preference","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcustomization/other/setorghideoktauifooter","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/preferences/hideEndUserFooter\n```\n\nExample:\n```text\n{\n  \"showEndUserFooter\": false,\n  \"_links\": {\n    \"showEndUserFooter\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":57}}727{"id":"doc-list_all_okta_support_cases-875698d8","source":"documentation","title":"List all Okta Support cases","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingsupport/other/listoktasupportcases","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaSupport/cases\n```\n\nExample:\n```text\n[\n  {\n    \"impersonation\": { … },\n    \"selfAssigned\": { … },\n    \"subject\": \"Reset admin password\",\n    \"caseNumber\": \"1000001\"\n  },\n  {\n    \"impersonation\": { … },\n    \"selfAssigned\": { … },\n    \"subject\": \"Review IP restriction configuration\",\n    \"caseNumber\": \"1000002\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":105}}728{"id":"doc-update_an_okta_support_case-988a4d4f","source":"documentation","title":"Update an Okta Support case","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingsupport/other/updateoktasupportcase","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/api/v1/org/privacy/oktaSupport/cases/00000144 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"impersonation\": {\n      \"status\": \"ENABLED\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"impersonation\": {\n    \"status\": \"ENABLED\",\n    \"expiration\": \"2024-01-24T11:13:14.000Z\"\n  },\n  \"caseNumber\": \"1011001\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":97}}729{"id":"doc-grant_okta_aerial_access_to_your_org-eb47c840","source":"documentation","title":"Grant Okta Aerial access to your org","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingsupport/other/grantaerialconsent","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org/privacy/aerial/grant \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"accountId\": \"0200bs0617vvhv2v675mch1cukp\"\n  }'\n```\n\nExample:\n```text\n{\n  \"accountId\": \"0200bs0617vvhv2v675mch1cukp\",\n  \"grantDate\": \"2023-04-06T21:32:33.000Z\",\n  \"grantedBy\": \"00uabcdefg1234567890\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":92}}730{"id":"doc-sign_in_with_password_and_email_factors_okta_dev-d9ce582a","source":"documentation","title":"Sign in with password and email factors | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-pwd-email/nodejs/main/","text":"Example:\n```javascript\nconst authClient = getAuthClient(req);\nconst transaction = await authClient.idx.authenticate({ username, password });\n```\n\nExample:\n```javascript\n{\n   status: \"PENDING\",\n   nextStep: {\n      name: \"select-authenticator-authenticate\",\n      inputs: [\n         {\n         name: \"authenticator\",\n         type: \"string\",\n         },\n      ],\n      options: [\n         {\n            label: \"Email\",\n            value: \"okta_email\",\n         },\n         {\n            label: \"Phone\",\n            value: \"okta_phone\",\n         }\n      ],\n   },\n}\n```\n\nExample:\n```javascript\nconst transaction = await authClient.idx.authenticate({ authenticatorId });\nhandleTransaction({ req, res, next, authClient, transaction });\n```\n\nExample:\n```javascript\n{\n  status: \"SUCCESS\",\n  tokens: {\n    accessToken: {\n      accessToken: \"eyJraWQiOiJLSWdvVHlt...\",\n      expiresAt: 1656106249,\n      tokenType: \"Bearer\",\n    },\n    idToken: {\n      idToken: \"eyJraWQiOiJLSWdvVHltSGlL...\",\n      expiresAt: 1656106249,\n    },\n  },\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":57,"estimatedTokens":261}}731{"id":"doc-retrieve_the_org_preferences-a6138d79","source":"documentation","title":"Retrieve the org preferences","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcustomization/other/getorgpreferences","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/preferences\n```\n\nExample:\n```text\n{\n  \"showEndUserFooter\": true,\n  \"_links\": {\n    \"hideEndUserFooter\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":52}}732{"id":"doc-basic_sign_in_flow_using_the_widget_okta_develop-51d4cb62","source":"documentation","title":"Basic sign-in flow using the widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-widget-use-case-basic-sign-in/aspnet/main/","text":"Example:\n```csharp\npublic async Task<ActionResult> Callback(\n  string state = null, string interaction_code = null,\n  string error = null, string error_description = null)\n{\n   try\n   {\n      IIdxContext idxContext = Session[state] as IIdxContext;\n\n      // error handling elided\n\n      Okta.Idx.Sdk.TokenResponse tokens =\n         await idxClient.RedeemInteractionCodeAsync(\n            idxContext, interaction_code);\n\n      ClaimsIdentity identity =\n         await AuthenticationHelper.GetIdentityFromTokenResponseAsync(\n            idxClient.Configuration, tokens);\n      authenticationManager.SignIn(\n         new AuthenticationProperties { IsPersistent = false }, identity);\n\n      return RedirectToAction(\"Index\", \"Home\");\n   }\n   catch (Exception ex)\n   {\n      return View(\"Error\", \n         new InteractionCodeErrorViewModel {\n            Error = ex.GetType().Name, ErrorDescription = ex.Message });\n   }\n}\n```\n\nExample:\n```csharp\npublic static async Task<IEnumerable<Claim>> GetClaimsFromUserInfoAsync(\n   IdxConfiguration configuration, string accessToken)\n{\n   Uri userInfoUri = new Uri(\n      IdxUrlHelper.GetNormalizedUriString(configuration.Issuer, \"v1/userinfo\")\n   );\n   HttpClient httpClient = new HttpClient();\n\n   var userInfoResponse = await httpClient.GetUserInfoAsync(\n      new UserInfoRequest {\n         Address = userInfoUri.ToString(), Token = accessToken,\n      }\n   ).ConfigureAwait(false);\n\n   var nameClaim = new Claim(\n      ClaimTypes.Name,\n      userInfoResponse.Claims.FirstOrDefault(x => x.Type == \"name\")?.Value\n   );\n   return userInfoResponse.Claims.Append(nameClaim);\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":58,"estimatedTokens":407}}733{"id":"doc-replace_the_blocked_email_domains-bc6eba5a","source":"documentation","title":"Replace the blocked email domains","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/oktapersonalsettings/other/replaceblockedemaildomains","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/okta-personal-settings/api/v1/export-blocklists \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"domains\": [\n      \"yahoo.com\",\n      \"google.com\"\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":70}}734{"id":"doc-basic_sign_in_flow_using_the_widget_okta_develop-c74b1993","source":"documentation","title":"Basic sign-in flow using the widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-widget-use-case-basic-sign-in/java/main/","text":"Example:\n```java\n@Override\npublic Authentication attemptAuthentication(\n   final HttpServletRequest request, final HttpServletResponse response)\n   throws AuthenticationException, IOException {\n\n   final ServletRequestAttributes servletRequestAttributes =\n      (ServletRequestAttributes) RequestContextHolder.currentRequestAttributes();\n   final HttpSession session = servletRequestAttributes.getRequest().getSession();\n\n   final MultiValueMap<String, String> requestParams =\n      OAuth2AuthorizationResponseUtils.toMultiMap(request.getParameterMap());\n\n   final String interactionCode = requestParams.getFirst(\"interaction_code\");\n   final String codeVerifier = (String) session.getAttribute(\"codeVerifier\");\n\n   if (!Strings.hasText(interactionCode)) {\n      String error = requestParams.getFirst(\"error\");\n      String errorDesc = requestParams.getFirst(\"error_description\");\n      throw new OAuth2AuthenticationException(\n         new OAuth2Error(error, errorDesc, null));\n   }\n\n   // exchange the interaction code for an access and refresh tokens\n   final JsonNode jsonNode =\n      helperUtil.exchangeCodeForToken(interactionCode, codeVerifier);\n   final OAuth2AccessToken oAuth2AccessToken =\n      helperUtil.buildOAuth2AccessToken(jsonNode);\n   final OAuth2RefreshToken oAuth2RefreshToken =\n      helperUtil.buildOAuth2RefreshToken(jsonNode);\n\n   // retrieve user properties\n   final OAuth2User oauth2User = helperUtil.BuildOAuth2User(request, response);\n\n   final Collection<? extends GrantedAuthority> mappedAuthorities =\n      this.authoritiesMapper.mapAuthorities(oauth2User.getAuthorities());\n   final OAuth2LoginAuthenticationToken authenticationResult =\n      new OAuth2LoginAuthenticationToken(\n            clientRegistration, oAuth2AuthorizationExchange,\n            oauth2User, mappedAuthorities, oAuth2AccessToken, oAuth2RefreshToken);\n   authenticationResult.setDetails(authenticationDetails);\n\n   // return OAuth2AuthenticationToken to Spring\n   final OAuth2AuthenticationToken oauth2Authentication =\n      new OAuth2AuthenticationToken(\n            oauth2User, authenticationResult.getAuthorities(),\n            authenticationResult.getClientRegistration().getRegistrationId());\n   oauth2Authentication.setDetails(authenticationDetails);\n   return oauth2Authentication;\n}\n```\n\nExample:\n```java\nMap<String, Object> claims = new LinkedHashMap<>();\n\ntry {\n   // get user claim info from /v1/userinfo endpoint\n   String userInfoUrl = normalizedIssuerUri(issuer, \"/v1/userinfo\");\n\n   HttpHeaders httpHeaders = new HttpHeaders();\n   headers.set(\"Authorization\", \"Bearer \" + oAuth2AccessToken.getTokenValue());\n   headers.setAccept(Collections.singletonList(MediaType.APPLICATION_JSON));\n\n   HttpEntity<String> requestEntity = new HttpEntity<>(null, httpHeaders);\n\n   ParameterizedTypeReference<Map<String, Object>> responseType =\n      new ParameterizedTypeReference<Map<String, Object>>() { };\n   ResponseEntity<Map<String, Object>> responseEntity =\n      restTemplate.exchange(userInfoUrl, HttpMethod.GET, requestEntity, responseType);\n\n   claims = responseEntity.getBody();\n} catch (Exception e) {\n   logger.error(\"Error retrieving profile from user info endpoint\", e);\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":79,"estimatedTokens":803}}735{"id":"doc-sign_in_with_password_and_email_factors_okta_dev-9d6d9b36","source":"documentation","title":"Sign in with password and email factors | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-pwd-email/aspnet/main/","text":"Example:\n```csharp\nvar _idxClient = new IdxClient();\nvar authnOptions = new AuthenticationOptions {\n   Username = model.UserName,\n   Password = model.Password\n};\n\nvar authnResponse = await _idxClient\n   .AuthenticateAsync(authnOptions).ConfigureAwait(false);\n```\n\nExample:\n```csharp\nswitch (authnResponse?.AuthenticationStatus)\n{\n   case AuthenticationStatus.AwaitingChallengeAuthenticatorSelection:\n      Session[\"authenticators\"] = ViewModelHelper.\n         ConvertToAuthenticatorViewModelList(authnResponse.Authenticators);\n      Session[\"isChallengeFlow\"] = true;\n      return RedirectToAction(\"SelectAuthenticator\", \"Manage\");\n\n   // other case statements\n\n   default:\n      return View(\"Login\", model);\n}\n```\n\nExample:\n```csharp\nvar selectAuthenticatorOptions = new SelectAuthenticatorOptions\n{\n    AuthenticatorId = model.AuthenticatorId,\n};\n\nselectAuthenticatorResponse = await _idxClient.SelectChallengeAuthenticatorAsync\n  (selectAuthenticatorOptions, (IIdxContext)Session[\"IdxContext\"]);\n```\n\nExample:\n```csharp\nvar authnResponse = await _idxClient.VerifyAuthenticatorAsync(\n   verifyAuthenticatorOptions, (IIdxContext)Session[\"idxContext\"]);\nSession[\"idxContext\"] = authnResponse.IdxContext;\n\nswitch (authnResponse.AuthenticationStatus)\n{\n\n   case AuthenticationStatus.Success:\n      ClaimsIdentity identity = await AuthenticationHelper\n         .GetIdentityFromTokenResponseAsync(\n            _idxClient.Configuration, authnResponse.TokenInfo);\n      _authenticationManager.SignIn(new AuthenticationProperties(), identity);\n      return RedirectToAction(\"Index\", \"Home\");\n\n   // other case statements\n}\n\nreturn View(view, model);\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":63,"estimatedTokens":415}}736{"id":"doc-list_all_blocked_email_domains-682c7d18","source":"documentation","title":"List all blocked email domains","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/oktapersonalsettings/other/listpersonalappsexportblocklist","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/okta-personal-settings/api/v1/export-blocklists\n```\n\nExample:\n```text\n{\n  \"domains\": [\n    \"yahoo.com\",\n    \"google.com\"\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":52}}737{"id":"doc-retrieve_the_contact_type_user-a185b708","source":"documentation","title":"Retrieve the contact type user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcontact/other/getorgcontactuser","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/contacts/BILLING\n```\n\nExample:\n```text\n{\n  \"userId\": \"00ux3u0ujW1r5AfZC1d7\",\n  \"_links\": {\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":52}}738{"id":"doc-list_all_org_contact_types-df906c50","source":"documentation","title":"List all org contact types","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcontact/other/listorgcontacttypes","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/org/contacts\n```\n\nExample:\n```text\n[\n  {\n    \"contactType\": \"BILLING\",\n    \"_links\": { … }\n  },\n  {\n    \"contactType\": \"TECHNICAL\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":62}}739{"id":"doc-manage_org_recovery_with_okta_enhanced_disaster_-69d3f327","source":"documentation","title":"Manage org recovery with Okta Enhanced Disaster Recovery | Okta Developer","url":"https://developer.okta.com/docs/guides/manage-orgs-okta-edr/main/","text":"Example:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer {yourAccessToken}\" \\\n\"https://drapp.{yourOktaDomain}/api/v1/dr/status\"\n```\n\nExample:\n```json\n{\n    \"status\": [\n        {\n            \"domain\": \"yourOktaDomain.okta.com\",\n            \"isFailedOver\": false\n        }\n    ]\n}\n```\n\nExample:\n```bash\ncurl -v -X POST \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer {yourAccessToken}\" \\\n\"https://drapp.{yourOktaDomain}/api/v1/dr/failover\"\n```\n\nExample:\n```json\n{\n    \"results\": [\n        {\n        \"domain\": \"yourOktaDomain.okta.com\",\n        \"message\": \"Failover was successful\"\n        }\n    ]\n}\n```\n\nExample:\n```bash\ncurl -v -X POST \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer {yourAccessToken}\" \\\n\"https://drapp.{yourOktaDomain}/api/v1/dr/failback\"\n```\n\nExample:\n```json\n{\n    \"results\": [\n        {\n        \"domain\": \"yourOktaDomain.okta.com\",\n        \"message\": \"Failback was successful\"\n        }\n    ]\n}\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer {yourAccessToken}\" \\\n\"https://{yourOktaDomain}/api/v1/logs?filter=eventType%20eq%20%22system.dr.failback%22%20or%20eventType%20eq%20%22system.dr.failover%22\"\n```\n\nExample:\n```json\n{ ...\n    \"displayMessage\": \"The Enhanced Disaster Recovery (EDR) failover operation for the org domains was initiated\",\n    \"eventType\": \"system.dr.failover\",\n    \"outcome\": {\n        \"result\": \"SUCCESS\",\n        \"reason\": null\n    },\n  ...\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":86,"estimatedTokens":416}}740{"id":"doc-replace_the_contact_type_user-87c42b8b","source":"documentation","title":"Replace the contact type user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingcontact/other/replaceorgcontactuser","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/org/contacts/BILLING \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"userId\": \"00ux3u0ujW1r5AfZC1d7\"\n  }'\n```\n\nExample:\n```text\n{\n  \"userId\": \"00ux3u0ujW1r5AfZC1d7\",\n  \"_links\": {\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":75}}741{"id":"doc-run_the_sample_apps_okta_developer-08ee91f1","source":"documentation","title":"Run the sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-run-samples/java/main/","text":"Example:\n```bash\nexport OKTA_OAUTH2_ISSUER=https://{yourOktaDomain}/oauth2/default\nexport OKTA_OAUTH2_CLIENTID={clientId}\nexport OKTA_OAUTH2_CLIENTSECRET={clientSecret}\nexport OKTA_IDX_SCOPES=\"openid profile offline_access\"\nexport OKTA_OAUTH2_REDIRECTURI=http://localhost:8080\n```\n\nExample:\n```bash\nexport OKTA_IDX_ISSUER=https://{yourOktaDomain}/oauth2/default\nexport OKTA_IDX_CLIENTID={clientId}\nexport OKTA_IDX_CLIENTSECRET={clientSecret}\nexport OKTA_IDX_SCOPES=\"openid profile offline_access\"\nexport OKTA_IDX_REDIRECTURI=http://localhost:8080\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":141}}742{"id":"doc-update_the_org_general_settings-2524ef78","source":"documentation","title":"Update the Org general settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettinggeneral/other/updateorgsettings","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/org \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"address1\": \"100 1st St\",\n    \"address2\": \"6th floor\",\n    \"city\": \"San Fransico\",\n    \"companyName\": \"okta\",\n    \"country\": \"United States\",\n    \"endUserSupportHelpURL\": \"support.okta.com\",\n    \"phoneNumber\": \"+18887227871\",\n    \"postalCode\": \"94105\",\n    \"state\": \"California\",\n    \"supportPhoneNumber\": \"+18887227871\",\n    \"website\": \"www.okta.com\"\n  }'\n```\n\nExample:\n```text\n{\n  \"address1\": \"100 1st St\",\n  \"address2\": \"6th floor\",\n  \"city\": \"San Fransico\",\n  \"companyName\": \"okta\",\n  \"country\": \"United States\",\n  \"endUserSupportHelpURL\": \"support.okta.com\",\n  \"phoneNumber\": \"+18887227871\",\n  \"postalCode\": \"94105\",\n  \"state\": \"California\",\n  \"supportPhoneNumber\": \"+18887227871\",\n  \"website\": \"www.okta.com\",\n  \"id\": \"00o3qqiw0vSCIwu8I0g7\",\n  \"created\": \"2024-01-24T14:15:22Z\",\n  \"lastUpdated\": \"2024-07-21T14:15:22Z\",\n  \"expiresAt\": \"2024-12-24T14:15:22Z\",\n  \"status\": \"ACTIVE\",\n  \"subdomain\": \"okta\",\n  \"_links\": {\n    \"preferences\": { … },\n    \"uploadLogo\": { … },\n    \"oktaCommunication\": { … },\n    \"logo\": null,\n    \"oktaSupport\": { … },\n    \"contacts\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":52,"estimatedTokens":307}}743{"id":"doc-replace_the_org_general_settings-2a18fe73","source":"documentation","title":"Replace the Org general settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettinggeneral/other/replaceorgsettings","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/org \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"address1\": \"100 1st St\",\n    \"address2\": \"6th floor\",\n    \"city\": \"San Fransico\",\n    \"companyName\": \"okta\",\n    \"country\": \"United States\",\n    \"endUserSupportHelpURL\": \"support.okta.com\",\n    \"phoneNumber\": \"+18887227871\",\n    \"postalCode\": \"94105\",\n    \"state\": \"California\",\n    \"supportPhoneNumber\": \"+18887227871\",\n    \"website\": \"www.okta.com\"\n  }'\n```\n\nExample:\n```text\n{\n  \"address1\": \"100 1st St\",\n  \"address2\": \"6th floor\",\n  \"city\": \"San Fransico\",\n  \"companyName\": \"okta\",\n  \"country\": \"United States\",\n  \"endUserSupportHelpURL\": \"support.okta.com\",\n  \"phoneNumber\": \"+18887227871\",\n  \"postalCode\": \"94105\",\n  \"state\": \"California\",\n  \"supportPhoneNumber\": \"+18887227871\",\n  \"website\": \"www.okta.com\",\n  \"id\": \"00o3qqiw0vSCIwu8I0g7\",\n  \"created\": \"2024-01-24T14:15:22Z\",\n  \"lastUpdated\": \"2024-07-21T14:15:22Z\",\n  \"expiresAt\": \"2024-12-24T14:15:22Z\",\n  \"status\": \"ACTIVE\",\n  \"subdomain\": \"okta\",\n  \"_links\": {\n    \"preferences\": { … },\n    \"uploadLogo\": { … },\n    \"oktaCommunication\": { … },\n    \"logo\": null,\n    \"oktaSupport\": { … },\n    \"contacts\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":52,"estimatedTokens":306}}744{"id":"doc-sign_in_with_password_and_email_factors_okta_dev-71bc2c89","source":"documentation","title":"Sign in with password and email factors | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-pwd-email/java/main/","text":"Example:\n```java\n// Begin authentication challenge flow\nAuthenticationResponse beginResponse = \n    idxAuthenticationWrapper.begin(constructRequestContext());\n\n// Remember the user’s state\nProceedContext proceedContext = beginResponse.getProceedContext();\n\n// set the user's credentials\nAuthenticationOptions authenticationOptions =\n    new AuthenticationOptions(username, password);\n\n// submit username and password\nAuthenticationResponse authenticationResponse =\n    idxAuthenticationWrapper.authenticate(authenticationOptions, proceedContext);\n```\n\nExample:\n```java\n// Update the user's state\nproceedContext = authenticationResponse.getProceedContext();\n\n// Check the current authentication status\nAuthenticationStatus authenticationStatus = \n   authenticationResponse.getAuthenticationStatus();\n\nswitch (authenticationStatus) {\n    case AWAITING_AUTHENTICATOR_SELECTION:\n        List<Authenticator> authenticators = \n            authenticationResponse.getAuthenticators();\n\n    // show authenticators to the user and prompt for choice\n\n    // other case statements\n}\n```\n\nExample:\n```java\nAuthenticator authenticator =\n    authenticators.get(Integer.parseInt(selection));\n\nidxAuthenticationWrapper.selectAuthenticator(\n    proceedContext, authenticator);\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions =\n    new VerifyAuthenticatorOptions(code);\n\nAuthenticationResponse authenticationResponse =\n    idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions);\n\nswitch (authenticationStatus) {\n    case SUCCESS:\n        TokenResponse tokenResponse = authenticationResponse.getTokenResponse();\n        String accessToken = tokenResponse.getAccessToken();\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":62,"estimatedTokens":433}}745{"id":"doc-replace_the_okta_personal_admin_settings-867646d5","source":"documentation","title":"Replace the Okta Personal admin settings","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/oktapersonalsettings/other/replaceoktapersonaladminsettings","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/okta-personal-settings/api/v1/edit-feature \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"enableExportApps\": true,\n    \"enableEnduserEntryPoints\": true\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":70}}746{"id":"doc-user_password_recovery_okta_developer-b7a6d5cb","source":"documentation","title":"User password recovery | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-pwd-recovery-mfa/aspnet/main/","text":"Example:\n```csharp\nvar recoverPasswordOptions = new RecoverPasswordOptions\n{\n   Username = model.UserName,\n};\nvar authnResponse = await idxAuthClient.RecoverPasswordAsync(recoverPasswordOptions);\n\nif (authnResponse.AuthenticationStatus == AuthenticationStatus.AwaitingAuthenticatorSelection)\n{\n   Session[\"idxContext\"] = authnResponse.IdxContext;\n   Session[\"UserName\"] = model.UserName;\n   TempData[\"authenticators\"] = authnResponse.Authenticators;\n   return RedirectToAction(\"SelectRecoveryAuthenticator\", \"Account\");\n}\n```\n\nExample:\n```csharp\nvar applyAuthenticatorResponse = await _idxClient.SelectRecoveryAuthenticatorAsync(\n           new SelectAuthenticatorOptions { AuthenticatorId = model.AuthenticatorId },\n           (IIdxContext)Session[\"IdxContext\"]);\n\nSession[\"IdxContext\"] = applyAuthenticatorResponse.IdxContext;\n Session[\"isPasswordSelected\"] = false;\n\nif (applyAuthenticatorResponse.AuthenticationStatus == AuthenticationStatus.AwaitingAuthenticatorVerification)\n{\n   return RedirectToAction(\"VerifyAuthenticator\", \"Manage\");\n}\n```\n\nExample:\n```csharp\nvar authnResponse = await _idxClient.VerifyAuthenticatorAsync(verifyAuthenticatorOptions,\n        (IIdxContext)Session[\"idxContext\"]);\nSession[\"idxContext\"] = authnResponse.IdxContext;\n\nswitch (authnResponse.AuthenticationStatus)\n{\n   case AuthenticationStatus.AwaitingPasswordReset:\n        return RedirectToAction(\"ChangePassword\", \"Manage\");\n\n...\n```\n\nExample:\n```csharp\nvar authnResponse = await idxAuthClient.ChangePasswordAsync(changePasswordOptions,\n       (IIdxContext)Session[\"idxContext\"]).ConfigureAwait(false);\nSession[\"idxContext\"] = authnResponse.IdxContext;\n\nswitch (authnResponse.AuthenticationStatus)\n  {\n       case AuthenticationStatus.Success:\n            ClaimsIdentity identity = await\n            AuthenticationHelper.GetIdentityFromTokenResponseAsync(_idxClient.Configuration,\n            authnResponse.TokenInfo);\n            _authenticationManager.SignIn(new AuthenticationProperties(), identity);\n            return RedirectToAction(\"Index\", \"Home\");\n...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":64,"estimatedTokens":518}}747{"id":"doc-sign_in_with_password_and_email_factors_okta_dev-b7c51cd4","source":"documentation","title":"Sign in with password and email factors | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-pwd-email/ios/main/","text":"Example:\n```swift\nself.authHandler = MultifactorLogin(configuration: configuration)\n{ step in\n   switch step {\n   case .chooseFactor(let factors):\n       // Use this to prompt the user for the factor you'd like to authenticate with.\n       if factors.contains(.email) {\n           self.authHandler?.select(factor: .email)\n       }\n   case .verifyCode(factor: let factor):\n       // Prompt the user for the verification code; when they supply it, call the `verify` function.\n       if factor == .email {\n           self.authHandler?.verify(code: \"123456\")\n       }\n   }\n   case .chooseMethod(let methods):\n       // Use this to prompt the user for the method you'd like to authenticate with.\n       if methods.contains(.sms) {\n           self.authHandler?.select(factor: .phone,\n                                    method: .sms,\n                                    phoneNumber: \"+15551234567\")\n       }\n    }\n}\n```\n\nExample:\n```swift\nself.authHandler.login(username: \"user@example.com\",\n                       password: \"secretPassword\")\n{ result in\n    switch result {\n    case .success(let token):\n        print(token)\n    case .failure(let error):\n        print(error)\n    }\n}\n```\n\nExample:\n```swift\npublic class MultifactorLogin {\n    let configuration: IDXClient.Configuration\n    var username: String?\n    var password: String?\n    let stepHandler: ((Step) -> Void)?\n    var profile: [ProfileField: String]?\n\n    var client: IDXClient?\n    var response: IDXClient.Response?\n    var completion: ((Result<IDXClient.Token, LoginError>) -> Void)?\n\n    public init(configuration: IDXClient.Configuration, stepHandler: ((Step) -> Void)? = nil) {\n        self.configuration = configuration\n        self.stepHandler = stepHandler\n    }\n\n    // Internal convenience method used to initialize an IDXClient.\n    func start() {\n        IDXClient.start(with: configuration) { (client, error) in\n            guard let client = client else {\n                self.finish(with: error)\n                return\n            }\n\n            self.client = client\n            client.delegate = self\n            client.resume(completion: nil)\n        }\n    }\n\n    // Public function used to initiate login using a username and password.\n    public func login(username: String, password: String, completion: @escaping (Result<IDXClient.Token, LoginError>) -> Void) {\n        self.username = username\n        self.password = password\n        self.completion = completion\n\n        start()\n    }\n\n    // Public function used to initiate self-service user registration.\n    public func register(username: String, password: String, profile: [ProfileField: String], completion: @escaping (Result<IDXClient.Token, LoginError>) -> Void) {\n        self.username = username\n        self.password = password\n        self.profile = profile\n        self.completion = completion\n\n        start()\n    }\n\n    // Public function to initiate a password reset for an existing user.\n    public func resetPassword(username: String, completion: @escaping (Result<IDXClient.Token, LoginError>) -> Void) {\n        self.username = username\n        self.completion = completion\n\n        start()\n    }\n\n    // Method called by you to select an authenticator. This can be used in\n    // response to a `Step.chooseFactor` stepHandler call.\n    public func select(factor: IDXClient.Authenticator.Kind?) {\n        guard let remediation = response?.remediations[.selectAuthenticatorAuthenticate] ?? response?.remediations[.selectAuthenticatorEnroll],\n              let authenticatorsField = remediation[\"authenticator\"]\n        else {\n            finish(with: .cannotProceed)\n            return\n        }\n\n        if let factor = factor {\n            let factorField = authenticatorsField.options?.first(where: { field in\n                field.authenticator?.type == factor\n            })\n            authenticatorsField.selectedOption = factorField\n            remediation.proceed(completion: nil)\n        } else if let skipRemediation = response?.remediations[.skip] {\n            skipRemediation.proceed(completion: nil)\n        } else {\n            finish(with: .cannotProceed)\n            return\n        }\n    }\n\n    // Method called by you to select an authentication factor method. This\n    // can be used in response to a `Step.chooseMethod` stepHandler call.\n    //\n    // Typically this is used to select either SMS or Voice when using a Phone factor.\n    // When enrolling in a new factor, the phone number should be supplied with\n    // the format: `+15551234567`. (e.g. + followed by the country-code and phone number).\n    public func select(factor: IDXClient.Authenticator.Kind,\n                       method: IDXClient.Authenticator.Method,\n                       phoneNumber: String? = nil)\n    {\n        // Retrieve the appropriate remedation, authentication factor field and method, to\n        // select the appropriate method type.\n        guard let remediation = response?.remediations[.selectAuthenticatorAuthenticate] ?? response?.remediations[.selectAuthenticatorEnroll],\n              let authenticatorsField = remediation[\"authenticator\"],\n              let factorField = authenticatorsField.options?.first(where: { field in\n                field.authenticator?.type == factor\n              }),\n              let methodOption = factorField[\"methodType\"]?.options?.first(where: { field in\n                field.value as? String == method.stringValue\n              })\n        else {\n            finish(with: .cannotProceed)\n            return\n        }\n\n        authenticatorsField.selectedOption = methodOption\n        factorField[\"phoneNumber\"]?.value = phoneNumber\n\n        remediation.proceed(completion: nil)\n    }\n\n    // Method used to verify a factor. When a factor is selected, the user will\n    // receive a verification code. After they receive it, you will use this method\n    // to supply it back to Okta.\n    public func verify(code: String) {\n        guard let remediation = response?.remediations[.challengeAuthenticator] ?? response?.remediations[.enrollAuthenticator]\n        else {\n            finish(with: .cannotProceed)\n            return\n        }\n\n        remediation.credentials?.passcode?.value = code\n        remediation.proceed(completion: nil)\n    }\n\n    // Enumeration representing the different actionable steps that the\n    // `stepHandler` can receive. You can use these values to determine\n    // what UI to present to the user to select factors, authenticator methods,\n    // and to verify authenticator verification codes.\n    public enum Step {\n        case chooseFactor(_ factors: [IDXClient.Authenticator.Kind])\n        case chooseMethod(_ methods: [IDXClient.Authenticator.Method])\n        case verifyCode(factor: IDXClient.Authenticator.Kind)\n    }\n\n    public enum ProfileField: String {\n        case firstName, lastName\n    }\n\n    public enum LoginError: Error {\n        case error(_ error: Error)\n        case message(_ string: String)\n        case cannotProceed\n        case unexpectedAuthenticator\n        case noStepHandler\n        case unknown\n    }\n}\n\nextension MultifactorLogin: IDXClientDelegate {\n    // Delegate method sent when an error occurs.\n    public func idx(client: IDXClient, didReceive error: Error) {\n        finish(with: error)\n    }\n\n    // Delegate method sent when a token is successfully exchanged.\n    public func idx(client: IDXClient, didReceive token: IDXClient.Token) {\n        finish(with: token)\n    }\n\n    // Delegate method invoked whenever an IDX response is received, regardless\n    // of what action or remediation is called.\n    public func idx(client: IDXClient, didReceive response: IDXClient.Response) {\n        self.response = response\n\n        // If a response is successful, immediately exchange it for a token.\n        guard !response.isLoginSuccessful else {\n            response.exchangeCode(completion: nil)\n            return\n        }\n\n        // If we can select enroll profile, immediately proceed to that.\n        if let remediation = response.remediations[.selectEnrollProfile],\n           profile != nil\n        {\n            remediation.proceed(completion: nil)\n            return\n        }\n\n        // If no remediations are present, abort the login process.\n        guard let remediation = response.remediations.first else {\n            finish(with: .cannotProceed)\n            return\n        }\n\n        // If any error messages are returned, report them and abort the process.\n        if let message = response.messages.allMessages.first {\n            finish(with: .message(message.message))\n            return\n        }\n\n        // If we have no password, we assume we're performing an account recovery.\n        if password == nil,\n           (remediation.type == .identify || remediation.type == .challengeAuthenticator),\n           let passwordAuthenticator = response.authenticators.current as? IDXClient.Authenticator.Password\n        {\n            passwordAuthenticator.recover(completion: nil)\n            return\n        }\n\n        // Handle the various remediation choices the client may be presented with within this policy.\n        switch remediation.type {\n        case .identify: fallthrough\n        case .identifyRecovery:\n            remediation.identifier?.value = username\n            remediation.credentials?.passcode?.value = password\n            remediation.proceed(completion: nil)\n\n        // The challenge authenticator remediation is used to request a passcode\n        // of some sort from the user, either the user's password, or an\n        // authenticator verification code.\n        case .enrollAuthenticator: fallthrough\n        case .challengeAuthenticator:\n            guard let authenticator = remediation.authenticators.first else {\n                finish(with: .unexpectedAuthenticator)\n                return\n            }\n\n            switch authenticator.type {\n            // We may be requested to supply a password on a separate remediation\n            // step, for example if the user can authenticate using a factor other\n            // than password. In this case, if we have a password, we can immediately\n            // supply it.\n            case .password:\n                if let password = password {\n                    remediation.credentials?.passcode?.value = password\n                    remediation.proceed(completion: nil)\n                } else {\n                    fallthrough\n                }\n\n            default:\n                guard let stepHandler = stepHandler else {\n                    finish(with: .noStepHandler)\n                    return\n                }\n\n                stepHandler(.verifyCode(factor: authenticator.type))\n            }\n\n        case .selectAuthenticatorEnroll: fallthrough\n        case .selectAuthenticatorAuthenticate:\n            // Find the factor types available to the user at this time.\n            let factors: [IDXClient.Authenticator.Kind]\n            factors = remediation[\"authenticator\"]?\n                .options?.compactMap({ field in\n                    field.authenticator?.type\n                }) ?? []\n\n            // If a password is supplied, immediately select the password factor if it's given as a choice.\n            if factors.contains(.password) && password != nil {\n                select(factor: .password)\n            } else {\n                guard let stepHandler = stepHandler else {\n                    finish(with: .noStepHandler)\n                    return\n                }\n\n                stepHandler(.chooseFactor(factors))\n            }\n\n        case .authenticatorEnrollmentData: fallthrough\n        case .authenticatorVerificationData:\n            guard let stepHandler = stepHandler else {\n                finish(with: .noStepHandler)\n                return\n            }\n\n            // Find the methods available to the user.\n            let methods: [IDXClient.Authenticator.Method]\n            methods = remediation.authenticators.flatMap({ authenticator in\n                authenticator.methods ?? []\n            })\n\n            stepHandler(.chooseMethod(methods))\n\n        case .enrollProfile:\n            remediation[\"userProfile.firstName\"]?.value = profile?[.firstName]\n            remediation[\"userProfile.lastName\"]?.value = profile?[.lastName]\n            remediation[\"userProfile.email\"]?.value = username\n            remediation.proceed(completion: nil)\n\n        default:\n            finish(with: .cannotProceed)\n        }\n    }\n}\n\n// Utility functions to help return responses to the caller.\nextension MultifactorLogin {\n    func finish(with error: Error?) {\n        if let error = error {\n            finish(with: .error(error))\n        } else {\n            finish(with: .unknown)\n        }\n    }\n\n    func finish(with error: LoginError) {\n        completion?(.failure(error))\n        completion = nil\n    }\n\n    func finish(with token: IDXClient.Token) {\n        completion?(.success(token))\n        completion = nil\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.844Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":355,"estimatedTokens":3242}}748{"id":"doc-start_the_failback_of_your_org-02c1967e","source":"documentation","title":"Start the failback of your org","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/disasterrecovery/other/startorgfailback","text":"Example:\n```text\ncurl -i -X POST \\\n  https://drapp.yourOrgSubDomain.okta.com/api/v1/dr/failback \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"domains\": [\n      \"yourOktaDomain.okta.com\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"results\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.845Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":70}}749{"id":"doc-retrieve_the_disaster_recovery_status_for_all_do-55c82005","source":"documentation","title":"Retrieve the disaster recovery status for all domains","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/disasterrecovery/other/getdrstatus","text":"Example:\n```text\ncurl -i -X GET \\\n  https://drapp.yourOrgSubDomain.okta.com/api/v1/dr/status\n```\n\nExample:\n```text\n{\n  \"status\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.845Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":41}}750{"id":"doc-sign_in_to_spa_with_auth_js_okta_developer-d143d0b2","source":"documentation","title":"Sign in to SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/archive-sign-in-to-spa-authjs/angular/main/","text":"Example:\n```bash\nnpm install -g @angular/cli\n```\n\nExample:\n```bash\nng new okta-app\n```\n\nExample:\n```bash\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js\n```\n\nExample:\n```typescript\nimport { Observable, Observer } from 'rxjs';\nimport { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { OktaAuth, IDToken, AccessToken } from '@okta/okta-auth-js';\n\n@Injectable({providedIn: 'root'})\nexport class OktaAuthService {\n\n  // IMPORTANT!\n  // Replace {clientId} with your actual Client ID\n  // Replace {yourOktaDomain} with your actual Okta domain\n  // If using a custom authorization server, ISSUER should be 'https://{yourOktaDomain}/oauth2/{authorizationServerId}'\n\n  CLIENT_ID = '{clientId}';\n  ISSUER = 'https://{yourOktaDomain}'\n  LOGIN_REDIRECT_URI = 'http://localhost:4200/callback';\n  LOGOUT_REDIRECT_URI = 'http://localhost:4200/';\n\n  oktaAuth = new OktaAuth({\n    clientId: this.CLIENT_ID,\n    issuer: this.ISSUER,\n    redirectUri: this.LOGIN_REDIRECT_URI,\n    pkce: true\n  });\n\n  $isAuthenticated: Observable<boolean>;\n  private observer?: Observer<boolean>;\n  constructor(private router: Router) {\n    this.$isAuthenticated = new Observable((observer: Observer<boolean>) => {\n      this.observer = observer;\n      this.isAuthenticated().then(val => {\n        observer.next(val);\n      });\n    });\n  }\n\n  async isAuthenticated() {\n    // Checks if there is a current accessToken in the TokenManger.\n    return !!(await this.oktaAuth.tokenManager.get('accessToken'));\n  }\n\n  login(originalUrl: string) {\n    // Save current URL before redirect\n    sessionStorage.setItem('okta-app-url', originalUrl || this.router.url);\n\n    // Launches the login redirect.\n    this.oktaAuth.token.getWithRedirect({\n      scopes: ['openid', 'email', 'profile']\n    });\n  }\n\n  async handleAuthentication() {\n    const tokenContainer = await this.oktaAuth.token.parseFromUrl();\n\n    this.oktaAuth.tokenManager.add('idToken', tokenContainer.tokens.idToken as IDToken);\n    this.oktaAuth.tokenManager.add('accessToken', tokenContainer.tokens.accessToken as AccessToken);\n\n    if (await this.isAuthenticated()) {\n      this.observer?.next(true);\n    }\n\n    // Retrieve the saved URL and navigate back\n    const url = sessionStorage.getItem('okta-app-url') as string;\n    this.router.navigateByUrl(url);\n  }\n\n  async logout() {\n    await this.oktaAuth.signOut({\n      postLogoutRedirectUri: this.LOGOUT_REDIRECT_URI\n    });\n  }\n}\n```\n\nExample:\n```typescript\nimport { Injectable } from '@angular/core';\nimport { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\nimport { OktaAuthService } from './app.service';\n\n@Injectable({providedIn: 'root'})\nexport class OktaAuthGuard implements CanActivate {\n  constructor(private okta: OktaAuthService, private router: Router) {}\n\n  async canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n    const authenticated = await this.okta.isAuthenticated();\n    if (authenticated) { return true; }\n\n    // Redirect to login flow.\n    this.okta.login(state.url);\n    return false;\n  }\n}\n```\n\nExample:\n```typescript\nimport { Component, OnInit } from '@angular/core';\nimport { OktaAuthService } from './app.service';\n\n@Component({\n  selector: 'app-root',\n  templateUrl: './app.component.html',\n  styleUrls: ['./app.component.css']\n})\nexport class AppComponent implements OnInit {\n  title = 'okta-app';\n  isAuthenticated: boolean = false;\n  constructor(public oktaAuth: OktaAuthService) {}\n\n  ngOnInit(): void {\n    this.oktaAuth.$isAuthenticated.subscribe(val => this.isAuthenticated = val);\n  }\n}\n```\n\nExample:\n```html\n<button routerLink=\"/\"> Home </button>\n<button *ngIf=\"!isAuthenticated\" (click)=\"oktaAuth.login('/')\"> Login </button>\n<button *ngIf=\"isAuthenticated\" (click)=\"oktaAuth.logout()\"> Logout </button>\n<button routerLink=\"/protected\"> Protected </button>\n\n<router-outlet></router-outlet>\n```\n\nExample:\n```typescript\nimport { Component, OnInit } from '@angular/core';\nimport { OktaAuthService } from './app.service';\n\n@Component({ template: `` })\nexport class CallbackComponent implements OnInit {\n\n  constructor(private okta: OktaAuthService) {}\n\n  ngOnInit(): void {\n    // Handles the response from Okta and parses tokens\n    this.okta.handleAuthentication();\n  }\n}\n```\n\nExample:\n```typescript\nimport { Component } from '@angular/core';\n\n@Component({\n  selector: 'app-secure',\n  template: `<h2>PROTECTED!</h2>`,\n})\nexport class ProtectedComponent {}\n```\n\nExample:\n```typescript\nimport { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nimport { OktaAuthGuard } from './app.guard';\nimport { CallbackComponent } from './callback.component';\nimport { ProtectedComponent } from './protected.component';\n\nconst routes: Routes = [\n  {\n    path: 'callback',\n    component: CallbackComponent\n  },\n  {\n    path: 'protected',\n    component: ProtectedComponent,\n    canActivate: [OktaAuthGuard]\n  }\n];\n\n@NgModule({\n  imports: [RouterModule.forRoot(routes)],\n  exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n```\n\nExample:\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { CallbackComponent } from './callback.component';\nimport { ProtectedComponent } from './protected.component';\n\n@NgModule({\n  declarations: [\n    AppComponent,\n    CallbackComponent,\n    ProtectedComponent\n  ],\n  imports: [\n    BrowserModule,\n    AppRoutingModule\n  ],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\nExample:\n```bash\nnpm start\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.845Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":235,"estimatedTokens":1428}}751{"id":"doc-retrieve_the_disaster_recovery_status_for_a_doma-272535a7","source":"documentation","title":"Retrieve the disaster recovery status for a domain","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/disasterrecovery/other/getdrstatusfordomain","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://drapp.yourOktaDomain.okta.com/api/v1/dr/status/{domain}'\n```\n\nExample:\n```text\n{\n  \"status\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.845Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":44}}752{"id":"doc-start_the_failover_of_your_org-2c89280f","source":"documentation","title":"Start the failover of your org","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/disasterrecovery/other/startorgfailover","text":"Example:\n```text\ncurl -i -X POST \\\n  https://drapp.yourOrgSubDomain.okta.com/api/v1/dr/failover \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"domains\": [\n      \"yourOktaDomain.okta.com\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"results\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.845Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":70}}753{"id":"doc-embedded_okta_sign_in_widget_fundamentals_okta_d-8afc9c01","source":"documentation","title":"Embedded Okta Sign-In Widget fundamentals | Okta Developer","url":"https://developer.okta.com/docs/guides/archive-embedded-siw/main","text":"Example:\n```html\n<!-- Latest CDN production JavaScript and CSS -->\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```bash\nnpm install @okta/okta-signin-widget@latest\n```\n\nExample:\n```javascript\nimport OktaSignIn from '@okta/okta-signin-widget';\nimport '@okta/okta-signin-widget/dist/css/okta-sign-in.min.css';\n```\n\nExample:\n```javascript\n<div id=\"widget-container\"></div>\n\n<script>\n  const signIn = new OktaSignIn({baseUrl: 'https://{yourOktaDomain}'});\n  signIn.renderEl({\n    el: '#widget-container'\n  }, function success(res) {\n    if (res.status === 'SUCCESS') {\n      console.log('Do something with this sessionToken', res.session.token);\n    } else {\n    // The user can be in another authentication state that requires further action.\n    // For more information about these states, see:\n    //   https://github.com/okta/okta-signin-widget#rendereloptions-success-error\n    }\n  });\n</script>\n```\n\nExample:\n```html\n<head>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n</head>\n```\n\nExample:\n```html\n<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, shrink-to-fit=no\">\n    <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css\" integrity=\"sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk\" crossorigin=\"anonymous\">\n    <title>Simple Web Page</title>\n    <style>\n      h1 {\n        margin: 2em 0;\n      }\n    </style>\n    <!-- widget stuff here -->\n    <script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n    <link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n  </head>\n  <body>\n    <div class=\"container\">\n      <h1 class=\"text-center\">Simple Web Page</h1>\n      <div id=\"messageBox\" class=\"jumbotron\">\n        You are not logged in. Get outta here! Shoo! >:S\n      </div>\n      <!-- where the sign-in form will be displayed -->\n      <div id=\"okta-login-container\"></div>\n      <button id=\"logout\" class=\"button\" onclick=\"logout()\" style=\"display: none\">Logout</button>\n    </div>\n    <script type=\"text/javascript\">\n      const oktaSignIn = new OktaSignIn({\n        baseUrl: \"https://{yourOktaDomain}\",\n        redirectUri: '{{https://{yourAppRedirectUri} configured in your OIDC app}}',\n        clientId: \"{clientId}\",\n        authParams: {\n          issuer: \"https://{yourOktaDomain}/oauth2/default\"\n        }\n      });\n\n      oktaSignIn.authClient.token.getUserInfo().then(function(user) {\n        document.getElementById(\"messageBox\").innerHTML = \"Hello, \" + user.email + \"! You are *still* logged in! :)\";\n        document.getElementById(\"logout\").style.display = 'block';\n      }, function(error) {\n        oktaSignIn.showSignInToGetTokens({\n          el: '#okta-login-container'\n        }).then(function(tokens) {\n          oktaSignIn.authClient.tokenManager.setTokens(tokens);\n          oktaSignIn.remove();\n\n          const idToken = tokens.idToken;\n          document.getElementById(\"messageBox\").innerHTML = \"Hello, \" + idToken.claims.email + \"! You just logged in! :)\";\n          document.getElementById(\"logout\").style.display = 'block';\n\n        }).catch(function(err) {\n          console.error(err);\n        });\n      });\n\n      function logout() {\n        oktaSignIn.authClient.signOut();\n        location.reload();\n      }\n    </script>\n  </body>\n</html>\n```\n\nExample:\n```javascript\nfunction success(res) {\n  if (res.status === 'SUCCESS') {\n    res.session.setCookieAndRedirect('https://{yourOktaDomain}/app/UserHome');\n  }\n}\n```\n\nExample:\n```javascript\nfunction success(res) {\n  if (res.status === 'SUCCESS') {\n    res.session.setCookieAndRedirect('https://example.com/dashboard');\n  }\n}\n```\n\nExample:\n```javascript\nconst signIn = new OktaSignIn({\n  baseUrl: 'https://{yourOktaDomain}',\n  el: '#widget-container',\n  clientId: '{clientId}',\n  // must be in the list of redirect URIs enabled for the OIDC app\n  redirectUri: '{redirectUri}',\n  authParams: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    pkce: false,\n    responseType: ['code']\n  }\n});\n\n// A query parameter named `code` will be passed to the login redirect URI\n// This should be handled by server-side code. The code can be exchanged for tokens\nsignIn.showSignInAndRedirect();\n```\n\nExample:\n```javascript\nconst signIn = new OktaSignIn({\n  baseUrl: 'https://{yourOktaDomain}',\n  el: '#widget-container',\n  clientId: '{clientId}',\n  // must be in the list of redirect URIs enabled for the OIDC app\n  redirectUri: '{redirectUri}',\n  authParams: {\n    issuer: 'https://{yourOktaDomain}/oauth2/default'\n  }\n});\n\n// SPA and Native apps using PKCE can receive tokens directly without any redirect\nsignIn.showSignInToGetTokens().then(function(tokens) {\n  // store/use tokens\n});\n```\n\nExample:\n```javascript\nfunction callMessagesApi() {\n  const accessToken = signIn.authClient.getAccessToken();\n\n  if (!accessToken) {\n    // This means that the user is not logged in\n    return;\n  }\n\n  // Make a request using jQuery\n  $.ajax({\n    // Your API or resource server:\n    url: 'http://localhost:8080/api/messages',\n    headers: {\n      Authorization: 'Bearer ' + accessToken.accessToken\n    },\n    success: function(response) {\n      // Received messages!\n      console.log('Messages', response);\n    },\n    error: function(response) {\n      console.error(response);\n    }\n  });\n}\n```\n\nExample:\n```javascript\nfunction error(err) {\n  const errorEl = document.createElement('div');\n  errorEl.textContent = 'Error! ' + err.message;\n  document.body.insertBefore(\n    errorEl,\n    document.body.firstChild\n  );\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.846Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":209,"estimatedTokens":1492}}754{"id":"doc-basic_sign_in_with_the_password_factor_okta_deve-6dec8792","source":"documentation","title":"Basic sign in with the password factor | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-in/aspnet/main/","text":"Example:\n```csharp\nvar idxAuthClient = new IdxClient();\nvar authnOptions = new AuthenticationOptions()\n   {\n      Username = model.UserName,\n      Password = model.Password,\n   };\n\nvar authnResponse = await idxAuthClient\n   .AuthenticateAsync(authnOptions).ConfigureAwait(false);\n```\n\nExample:\n```csharp\nswitch (authnResponse.AuthenticationStatus)\n{\n   case AuthenticationStatus.Success:\n      ClaimsIdentity identity = await AuthenticationHelper\n         .GetIdentityFromTokenResponseAsync(\n            _idxClient.Configuration, authnResponse.TokenInfo);\n      _authenticationManager.SignIn(\n         new AuthenticationProperties { IsPersistent = model.RememberMe },\n         identity);\n      return RedirectToAction(\"Index\", \"Home\");\n\n   case AuthenticationStatus.PasswordExpired:\n      // User has to change their password\n\n   case AuthenticationStatus.AwaitingChallengeAuthenticatorSelection:\n      // User has to verify their identity with another authentication factor\n\n   default:\n      return View(\"Login\", model);\n}\n\nreturn View(view, model);\n```\n\nExample:\n```csharp\npublic static async Task<IEnumerable<Claim>> GetClaimsFromUserInfoAsync(\n   IdxConfiguration configuration, string accessToken)\n{\n   Uri userInfoUri = new Uri(\n      IdxUrlHelper.GetNormalizedUriString(configuration.Issuer, \"v1/userinfo\")\n   );\n   HttpClient httpClient = new HttpClient();\n\n   var userInfoResponse = await httpClient.GetUserInfoAsync(\n      new UserInfoRequest { \n         Address = userInfoUri.ToString(), Token = accessToken,\n      }\n   ).ConfigureAwait(false);\n\n   var nameClaim = new Claim(\n      ClaimTypes.Name,\n      userInfoResponse.Claims.FirstOrDefault(x => x.Type == \"name\")?.Value\n   );\n   return userInfoResponse.Claims.Append(nameClaim);\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.846Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":64,"estimatedTokens":441}}755{"id":"doc-load_the_widget_okta_developer-6b2f792f","source":"documentation","title":"Load the widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-widget-use-case-load/aspnet/main","text":"Example:\n```csharp\npublic async Task<ActionResult> Index()\n{\n     var idxClient = new IdxClient(new IdxConfiguration()\n     {\n           Issuer = \"https://integrator-12345678.okta.com/oauth2/default\",\n           ClientId = \"{clientId}\",\n           ClientSecret = \"{clientSecret}\",\n           RedirectUri = \"https://localhost:44314/interactioncode/callback/\",\n           Scopes = new List<string>{\"openid\",\"profile\", \"offline_access\"}\n     });\n\n     var widgetSignInResponse = await idxClient.StartWidgetSignInAsync(default);\n     var idxContext = widgetSignInResponse.IdxContext;\n     var signInWidgetConfiguration = widgetSignInResponse.SignInWidgetConfiguration;\n\n     return View(signInWidgetConfiguration);\n}\n```\n\nExample:\n```json\n{\n   \"interactionHandle\":\"epXgGYZHsYErPLfw8aLpCvWZOgVtYx25_OYCmQc0z2s\",\n   \"version\":\"7.48.2\",\n   \"baseUrl\":\"https://integrator-12345678.okta.com\",\n   \"clientId\":\"{clientId}\",\n   \"redirectUri\":\"https://localhost:44314/interactioncode/callback/\",\n   \"authParams\":{\n      \"issuer\":\"https://integrator-122345678.okta.com/oauth2/default\",\n      \"scopes\":[\n         \"openid\",\n         \"profile\",\n         \"offline_access\"\n      ]\n   },\n   \"state\":\"{state}\",\n   \"otp\":\"{otp}\",\n   \"codeChallenge\":\"{codechallenge}\",\n   \"codeChallengeMethod\":\"S256\"\n}\n```\n\nExample:\n```csharp\n@using Newtonsoft.Json\n@using Okta.Idx.Sdk\n\n@model SignInWidgetConfiguration\n```\n\nExample:\n```razor\n@section head\n{\n   <script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n   <link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\" />\n}\n```\n\nExample:\n```csharp\n<script type=\"text/javascript\">\n   const widgetConfig = @Html.Raw(JsonConvert.SerializeObject(Model));\n\n   console.log(widgetConfig.interactionHandle);\n\n   const signIn = new OktaSignIn({\n       el: '#okta-signin-widget-container',\n       ...widgetConfig\n   });\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   signIn.otp = searchParams.get('otp');\n   signIn.state = searchParams.get('state');\n\n   signIn.showSignInAndRedirect()\n       .catch(err => {\n           console.log('Error happen in showSignInAndRedirect: ', err);\n       });\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.847Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":86,"estimatedTokens":597}}756{"id":"doc-initiate_the_global_revocation_of_all_tokens_and-746333f8","source":"documentation","title":"Initiate the global revocation of all tokens and sessions","url":"https://developer.okta.com/docs/api/openapi/okta-oauth/oauth/globaltokenrevocation/globaltokenrevocation","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/global-token-revocation \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"sub_id\": {\n      \"format\": \"opaque\",\n      \"id\": \"00u1dnq5S0CfjlkpABCD\"\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.847Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":72}}757{"id":"doc-sign_in_to_spa_with_auth_js_okta_developer-1a774bc3","source":"documentation","title":"Sign in to SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/archive-sign-in-to-spa-authjs/react/main/","text":"Example:\n```bash\nnpx create-react-app okta-app\n```\n\nExample:\n```bash\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js\n```\n\nExample:\n```bash\nnpm install @okta/okta-react react-router-dom\n```\n\nExample:\n```jsx\nimport React, { useState } from 'react';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst SignInForm = () => {\n  const { oktaAuth } = useOktaAuth();\n  const [sessionToken, setSessionToken] = useState();\n  const [username, setUsername] = useState('');\n  const [password, setPassword] = useState('');\n\n  const handleSubmit = (e) => {\n    e.preventDefault();\n\n    oktaAuth.signInWithCredentials({ username, password })\n    .then(res => {\n      const sessionToken = res.sessionToken;\n      setSessionToken(sessionToken);\n      // sessionToken is a one-use token, so make sure this is only called once\n      oktaAuth.signInWithRedirect({ sessionToken });\n    })\n    .catch(err => console.log('Found an error', err));\n  };\n\n  const handleUsernameChange = (e) => {\n    setUsername(e.target.value);\n  };\n\n  const handlePasswordChange = (e) => {\n    setPassword(e.target.value);\n  };\n\n  if (sessionToken) {\n    // Hide form while sessionToken is converted into id/access tokens\n    return null;\n  }\n\n  return (\n    <form onSubmit={handleSubmit}>\n      <label>\n        Username:\n        <input\n          id=\"username\" type=\"text\"\n          value={username}\n          onChange={handleUsernameChange} />\n      </label>\n      <label>\n        Password:\n        <input\n          id=\"password\" type=\"password\"\n          value={password}\n          onChange={handlePasswordChange} />\n      </label>\n      <input id=\"submit\" type=\"submit\" value=\"Submit\" />\n    </form>\n  );\n};\nexport default SignInForm;\n```\n\nExample:\n```jsx\nimport React, { Component } from 'react';\nimport { withOktaAuth } from '@okta/okta-react';\n\nexport default withOktaAuth(class SignInForm extends Component {\n  constructor(props) {\n    super(props);\n    this.state = {\n      sessionToken: null,\n      username: '',\n      password: ''\n    };\n\n    this.handleSubmit = this.handleSubmit.bind(this);\n    this.handleUsernameChange = this.handleUsernameChange.bind(this);\n    this.handlePasswordChange = this.handlePasswordChange.bind(this);\n  }\n\n  handleSubmit(e) {\n    e.preventDefault();\n    this.props.oktaAuth.signIn({\n      username: this.state.username,\n      password: this.state.password\n    })\n    .then(res => {\n      const sessionToken = res.sessionToken;\n      this.setState(\n        { sessionToken },\n        // sessionToken is a one-use token, so make sure this is only called once\n        () => this.props.oktaAuth.signInWithRedirect({sessionToken})\n      );\n    })\n    .catch(err => console.log('Found an error', err));\n  }\n\n  handleUsernameChange(e) {\n    this.setState({username: e.target.value});\n  }\n\n  handlePasswordChange(e) {\n    this.setState({password: e.target.value});\n  }\n\n  render() {\n    if (this.state.sessionToken) {\n      // Hide form while sessionToken is converted into id/access tokens\n      return null;\n    }\n\n    return (\n      <form onSubmit={this.handleSubmit}>\n        <label>\n          Username:\n          <input\n            id=\"username\" type=\"text\"\n            value={this.state.username}\n            onChange={this.handleUsernameChange} />\n        </label>\n        <label>\n          Password:\n          <input\n            id=\"password\" type=\"password\"\n            value={this.state.password}\n            onChange={this.handlePasswordChange} />\n        </label>\n        <input id=\"submit\" type=\"submit\" value=\"Submit\" />\n      </form>\n    );\n  }\n});\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Link, useHistory } from 'react-router-dom';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst Home = () => {\n  const { authState, oktaAuth } = useOktaAuth();\n  const history = useHistory();\n\n  if (!authState) {\n    return <div>Loading...</div>;\n  }\n\n  const button = authState.isAuthenticated ?\n    <button onClick={() => {oktaAuth.signOut()}}>Logout</button> :\n    <button onClick={() => {history.push('/login')}}>Login</button>;\n\n  return (\n    <div>\n      <Link to='/'>Home</Link><br/>\n      <Link to='/protected'>Protected</Link><br/>\n      {button}\n    </div>\n  );\n};\nexport default Home;\n```\n\nExample:\n```jsx\nimport React, { Component } from 'react';\nimport { Link } from 'react-router-dom';\nimport { withOktaAuth } from '@okta/okta-react';\n\nexport default withOktaAuth(class Home extends Component {\n\n  render() {\n    if (!this.props.authState) {\n      return <div>Loading...</div>;\n    }\n\n    const button = this.props.authState.isAuthenticated ?\n      <button onClick={() => {this.props.oktaAuth.signOut()}}>Logout</button> :\n      <button onClick={() => {this.props.history.push('/login')}}>Login</button>;\n\n    return (\n      <div>\n        <Link to='/'>Home</Link><br/>\n        <Link to='/protected'>Protected</Link><br/>\n        {button}\n      </div>\n    );\n  }\n});\n```\n\nExample:\n```jsx\nimport React from 'react';\n\nconst Home = () => <h3>Protected</h3>;\nexport default Home;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Redirect } from 'react-router-dom';\nimport SignInForm from './SignInForm';\nimport { useOktaAuth } from '@okta/okta-react';\n\nconst SignIn = () => {\n  const { authState } = useOktaAuth();\n\n  if (!authState) {\n    return <div>Loading...</div>;\n  }\n  return authState.isAuthenticated ?\n    <Redirect to={{ pathname: '/' }}/> :\n    <SignInForm />;\n};\n\nexport default SignIn;\n```\n\nExample:\n```jsx\nimport React, { Component } from 'react';\nimport { Redirect } from 'react-router-dom';\nimport SignInForm from './SignInForm';\nimport { withOktaAuth } from '@okta/okta-react';\n\nexport default withOktaAuth(class SignIn extends Component {\n  render() {\n    if (!this.props.authState) {\n      return <div>Loading...</div>;\n    }\n    return this.props.authState.isAuthenticated ?\n      <Redirect to={{ pathname: '/' }}/> :\n      <SignInForm />;\n  }\n});\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport AppWithRouterAccess from './AppWithRouterAccess';\n\nconst App = () => {\n  return (\n    <Router>\n      <AppWithRouterAccess/>\n    </Router>\n  );\n}\n\nexport default App;\n```\n\nExample:\n```jsx\nimport React from 'react';\nimport { Route, useHistory } from 'react-router-dom';\nimport { Security, SecureRoute, LoginCallback } from '@okta/okta-react';\nimport { OktaAuth, toRelativeUrl } from '@okta/okta-auth-js';\nimport Home from './Home';\nimport SignIn from './SignIn';\nimport Protected from './Protected';\n\nconst AppWithRouterAccess = () => {\n  const history = useHistory();\n  const onAuthRequired = () => {\n    history.push('/login');\n  };\n\n  const oktaAuth = new OktaAuth({\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    clientId: '{clientId}',\n    redirectUri: window.location.origin + '/login/callback',\n    onAuthRequired: onAuthRequired,\n    pkce: true\n  });\n\n  const restoreOriginalUri = async (_oktaAuth, originalUri) => {\n    history.replace(toRelativeUrl(originalUri, window.location.origin));\n  };\n\n  return (\n    <Security oktaAuth={oktaAuth} restoreOriginalUri={restoreOriginalUri}>\n      <Route path='/' exact={true} component={Home} />\n      <SecureRoute path='/protected' component={Protected} />\n      <Route path='/login' render={() => <SignIn />} />\n      <Route path='/login/callback' component={LoginCallback} />\n    </Security>\n  );\n};\nexport default AppWithRouterAccess;\n```\n\nExample:\n```jsx\nimport React, { Component } from 'react';\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport AppWithRouterAccess from './AppWithRouterAccess';\n\nclass App extends Component {\n  render() {\n    return (\n      <Router>\n        <AppWithRouterAccess />\n      </Router>\n    );\n  }\n}\n\nexport default App;\n```\n\nExample:\n```jsx\nimport React, { Component } from 'react';\nimport { Route, withRouter } from 'react-router-dom';\nimport { Security, SecureRoute, LoginCallback } from '@okta/okta-react';\nimport { OktaAuth } from '@okta/okta-auth-js';\nimport Home from './Home';\nimport SignIn from './SignIn';\nimport Protected from './Protected';\n\nexport default withRouter(class AppWithRouterAccess extends Component {\n  constructor(props) {\n    super(props);\n    this.onAuthRequired = this.onAuthRequired.bind(this);\n\n    this.oktaAuth = new OktaAuth({\n      issuer: 'https://{yourOktaDomain}/oauth2/default',\n      clientId: '{clientId}',\n      redirectUri: window.location.origin + '/login/callback',\n      onAuthRequired: this.onAuthRequired,\n      pkce: true\n    });\n  }\n\n  onAuthRequired() {\n    this.props.history.push('/login');\n  }\n\n  async restoreOriginalUri(_oktaAuth, originalUri) {\n    this.props.history.replace(toRelativeUrl(originalUri, window.location.origin));\n  };\n\n  render() {\n    return (\n    <Security oktaAuth={oktaAuth} restoreOriginalUri={this.restoreOriginalUri}>\n        <Route path='/' exact={true} component={Home} />\n        <SecureRoute path='/protected' component={Protected} />\n        <Route path='/login' render={() => <SignIn />} />\n        <Route path='/login/callback' component={LoginCallback} />\n      </Security>\n    );\n  }\n});\n```\n\nExample:\n```bash\nnpm start\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.847Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":385,"estimatedTokens":2293}}758{"id":"doc-run_the_sample_apps_okta_developer-c1830a9f","source":"documentation","title":"Run the sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-run-samples/react/main/","text":"Example:\n```shell\ngit clone https://github.com/okta/okta-auth-js.git\n```\n\nExample:\n```shell\nyarn install\n```\n\nExample:\n```yaml\nISSUER=https://${yourOktaDomain}/oauth2/default\nCLIENT_ID=0oa1kelclsb...\n```\n\nExample:\n```shell\nyarn start\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.848Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":22,"estimatedTokens":63}}759{"id":"doc-sign_in_with_email_only_okta_developer-dd247781","source":"documentation","title":"Sign in with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-sign-in-email/nodeexpress/main/","text":"Example:\n```javascript\nconst { username } = req.body;\n  const authClient = getAuthClient(req);\n  const transaction = await authClient.idx.authenticate({ username });\n```\n\nExample:\n```json\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"challenge-authenticator\",\n    type: \"email\",\n    authenticator: {\n      type: \"email\",\n      key: \"okta_email\",\n      displayName: \"Email\",\n    },\n  },\n}\n```\n\nExample:\n```json\n{\n  status: \"SUCCESS\",\n  tokens: {\n    accessToken: {\n      accessToken: \"eyJraWQiOiJLSWdvVHlt...\",\n      expiresAt: 1656106249,\n      tokenType: \"Bearer\",\n    },\n    idToken: {\n      idToken: \"eyJraWQiOiJLSWdvVHltSGlL...\",\n      expiresAt: 1656106249,\n    },\n  },\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.848Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":174}}760{"id":"doc-sign_users_in_to_your_spa_using_the_redirect_mod-a8f10ac7","source":"documentation","title":"Sign users in to your SPA using the redirect model | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-into-spa-redirect/-/main/","text":"Example:\n```shell\nnpx @angular/cli@22 new okta-angular-sample --ssr=false\n```\n\nExample:\n```shell\ncd okta-angular-sample\nnpm install @okta/okta-angular@8.0 @okta/okta-auth-js@8.0\n```\n\nExample:\n```ts\nimport { provideOktaAuth, withOktaConfig } from '@okta/okta-angular';\nimport { OktaAuth } from '@okta/okta-auth-js';\n```\n\nExample:\n```ts\nconst oktaAuth = new OktaAuth({\n  issuer: 'https://{yourOktaDomain}',\n  clientId: '{yourClientID}',\n  redirectUri: window.location.origin + '/login/callback',\n  scopes: ['openid', 'profile', 'offline_access']\n});\n```\n\nExample:\n```ts\nexport const appConfig: ApplicationConfig = {\n providers: [\n   // other providers as required\n   provideOktaAuth(\n     withOktaConfig({ oktaAuth })\n   ),\n ]\n};\n```\n\nExample:\n```html\n@if (isAuthenticated$ | async) {\n  <button (click)=\"signOut()\">Sign out</button>\n} @else {\n  <button (click)=\"signIn()\"> Sign in </button>\n}\n```\n\nExample:\n```ts\nimport { AsyncPipe } from '@angular/common';\nimport { Component, inject } from '@angular/core';\nimport { RouterLink, RouterOutlet } from '@angular/router';\nimport { OktaAuthStateService, OKTA_AUTH } from '@okta/okta-angular';\nimport { AuthState } from '@okta/okta-auth-js';\nimport { filter, map } from 'rxjs';\n\n@Component({\n   selector: 'app-root',\n   imports: [AsyncPipe, RouterLink, RouterOutlet],\n   templateUrl: './app.component.html',\n   styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n  private oktaStateService = inject(OktaAuthStateService);\n  private oktaAuth = inject(OKTA_AUTH);\n\n  public isAuthenticated$ = this.oktaStateService.authState$.pipe(\n     filter((s: AuthState) => !!s),\n     map((s: AuthState) => s.isAuthenticated ?? false)\n  );\n\n  public async signIn() : Promise<void> {\n    await this.oktaAuth.signInWithRedirect();\n  }\n\n  public async signOut(): Promise<void> {\n    await this.oktaAuth.signOut();\n  }\n}\n```\n\nExample:\n```ts\nimport { OktaCallbackComponent } from '@okta/okta-angular';\n```\n\nExample:\n```ts\n{ path: 'login/callback', component: OktaCallbackComponent }\n```\n\nExample:\n```ts\nimport { Component, inject } from '@angular/core';\nimport { OKTA_AUTH } from '@okta/okta-auth-js';\n\n@Component({\n  selector: 'app-profile',\n  imports: [],\n  template: `\n     <table>\n       <thead>\n         <tr>\n           <th>Claim</th>\n           <th>Value</th>\n         </tr>\n       </thead>\n       <tbody>\n         @for (claim of claims; track claim.name) {\n           <tr>\n             <td>{{ claim.name }}</td>\n             <td>{{ claim.value }}</td>\n           </tr>\n         }\n       </tbody>\n     </table>\n  `\n})\nexport class ProfileComponent {\n  private oktaAuth = inject(OKTA_AUTH);\n\n  get claims() {\n    const idToken = this.oktaAuth.authStateManager.getAuthState()?.idToken;\n    return Object.entries(idToken?.claims ?? {}).map(([name, value]) => ({ name, value }));\n  }\n}\n```\n\nExample:\n```typescript\nimport { ProfileComponent } from './profile/profile.component';\n```\n\nExample:\n```typescript\n{ path: 'profile', component: ProfileComponent }\n```\n\nExample:\n```shell\nng serve\n```\n\nExample:\n```ts\nimport { canActivateAuthGuard, OktaCallbackComponent } from '@okta/okta-angular';\n```\n\nExample:\n```ts\n{\n  path: 'protected',\n  loadChildren: () => import('./protected/routes').then(m => m.PROTECTED_FEATURE_ROUTES), canActivate: [canActivateAuthGuard]\n},\n```\n\nExample:\n```ts\nimport { Route } from '@angular/router';\nimport { ProtectedComponent } from './protected.component';\n\nexport const PROTECTED_FEATURE_ROUTES: Route[] = [\n   { path: '', component: ProtectedComponent }\n];\n```\n\nExample:\n```ts\n{ path: 'profile', component: ProfileComponent, canActivate: [canActivateAuthGuard] }\n```\n\nExample:\n```http\nAuthorization: Bearer {token}\n```\n\nExample:\n```ts\nimport { provideHttpClient, withInterceptors } from '@angular/common/http';\nimport { authInterceptor } from './auth.interceptor';\n```\n\nExample:\n```ts\nprovideHttpClient(withInterceptors([\n   authInterceptor\n ]))\n```\n\nExample:\n```ts\nimport { inject } from '@angular/core';\nimport { HttpInterceptorFn } from '@angular/common/http';\nimport { OKTA_AUTH } from '@okta/okta-angular';\n\nexport const authInterceptor: HttpInterceptorFn = (req, next, oktaAuth = inject(OKTA_AUTH)) => {\n   let request = req;\n   const allowedOrigins = ['http://localhost'];\n   const accessToken = oktaAuth.getAccessToken();\n   if (accessToken && !!allowedOrigins.find(origin => request.url.includes(origin))) {\n      request = req.clone({ setHeaders: { 'Authorization': `Bearer {accessToken}` } });\n    }\n\n   return next(request);\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.849Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":209,"estimatedTokens":1131}}761{"id":"doc-implement_oauth_for_okta_with_a_service_app_okta-ac27dcbd","source":"documentation","title":"Implement OAuth for Okta with a service app | Okta Developer","url":"https://developer.okta.com/docs/guides/implement-oauth-for-okta-serviceapp/-/main/","text":"Example:\n```json\n\"keys\": [\n      {\n    \"kty\": \"RSA\",\n    \"e\": \"AQAB\",\n    \"use\": \"sig\",\n    \"kid\": \"my_key_id\",\n    \"alg\": \"RS256\",\n    \"n\": \"u0VYW2-76A_lYg5NQihhcPJYYU9-NHbNaO6LFERWnOUbU7l3MJdmCailwSzjO76O-2GdLE-Hn2kx04jWCCPofnQ8xNmFScNo8UQ1dKVq0UkFK-sl-Z0Uu19GiZa2fxSWwg_1g2t-ZpNtKCI279xGBi_hTnupqciUonWe6CIvTv0FfX0LiMqQqjARxPS-6fdBZq8WN9qLGDwpjHK81CoYuzASOezVFYDDyXYzV0X3X_kFVt2sqL5DVN684bEbTsWl91vV-bGmswrlQ0UVUq6t78VdgMrj0RZBD-lFNJcY7CwyugpgLbnm4HEJmCOWJOdjVLj3hFxVVblNJQQ1Z15UXw\"\n      }\n    ]\n```\n\nExample:\n```json\n{\n    \"keys\": [\n    {\n        \"kty\": \"RSA\",\n        \"e\": \"AQAB\",\n        \"use\": \"sig\",\n        \"kid\": \"my_key_id\",\n        \"alg\": \"RS256\",\n        \"n\": \"u0VYW2-76A_lYg5NQihhcPJYYU9-NHbNaO6LFERWnOUbU7l3MJdmCailwSzjO76O-2GdLE-Hn2kx04jWCCPofnQ8xNmFScNo8UQ1dKVq0UkFK-sl-Z0Uu19GiZa2fxSWwg_1g2t-ZpNtKCI279xGBi_hTnupqciUonWe6CIvTv0FfX0LiMqQqjARxPS-6fdBZq8WN9qLGDwpjHK81CoYuzASOezVFYDDyXYzV0X3X_kFVt2sqL5DVN684bEbTsWl91vV-bGmswrlQ0UVUq6t78VdgMrj0RZBD-lFNJcY7CwyugpgLbnm4HEJmCOWJOdjVLj3hFxVVblNJQQ1Z15UXw\"\n    }\n  ]\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/api/v1/apps/{serviceappclient_id}/grants' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: SSWS 00...Y' \\\n--header 'Cache-Control: no-cache' \\\n--data-raw '{\n    \"scopeId\": \"okta.users.read\",\n    \"issuer\": \"https://{yourOktaDomain}\"\n}'\n```\n\nExample:\n```json\n{\n    \"aud\": \"https://{yourOktaDomain}/oauth2/v1/token\",\n    \"iss\": \"0oar95zt9zIpYuz6A0h7\",\n    \"sub\": \"0oar95zt9zIpYuz6A0h7\",\n    \"exp\": \"1614664267\"\n}\n```\n\nExample:\n```bash\ncurl --location --request POST 'https://{yourOktaDomain}/oauth2/v1/token' \\\n    --header 'Accept: application/json' \\\n    --header 'Content-Type: application/x-www-form-urlencoded' \\\n    --data-urlencode 'grant_type=client_credentials' \\\n    --data-urlencode 'scope=okta.users.read' \\\n    --data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer' \\\n    --data-urlencode 'client_assertion=eyJhbGciOiJSU....tHQ6ggOnrG-ZFRSkZc8Pw'\n```\n\nExample:\n```json\n{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJraWQiOiJ.....UfThlJ7w\",\n    \"scope\": \"okta.users.read\"\n}\n```\n\nExample:\n```bash\ncurl -X GET \"https://{yourOktaDomain}/api/v1/users\"\n    -H \"Accept: application/json\"\n    -H \"Content-Type: application/json\"\n    -H \"Authorization: Bearer eyJraWQiOiJEa1lUbmhTdkd5OEJkbk9yMVdYTENhbVFRTUZiNTlYbHdBWVR2bVg5ekxNIiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULmRNcmJJc1paTWtMR0FyN1gwRVNKdmdsX19JOFF4N0pwQlhrVjV6ZGt5bk0iLCJpc3MiOiJodHRwczovL2xvZ2luLndyaXRlc2hhcnBlci5jb20iLCJhdWQiOiJodHRwczovL2dlbmVyaWNvaWRjLm9rdGFwcmV2aWV3LmNvbSIsInN1YiI6IjBvYXI5NXp0OXpJcFl1ejZBMGg3IiwiaWF0IjoxNTg4MTg1NDU3LCJleHAiOjE1ODgxODkwNTcsImNpZCI6IjBvYXI5NXp0OXpJcFl1ejZBMGg3Iiwic2NwIjpbIm9rdGEudXNlcnMubWFuYWdlIl19.TrrStbXUFtuH5TemMISgozR1xjT3rVaLHF8hqnwbe9gmFffVrLovY-JLl63G8vZVnyudvZ_fWkOBUxip1hcGm80KvrSgpdOp9Nazz-mjkP6T6JwslRFHDe8SC_4h2LG9zi5PV9y3hAayBK51q1HIwgAxl_2F7q4l0jLKDFsWjQS8epNaB05NLI12BDvO-C-7ZGGJ4EQfGS9EjN9lS-vWnt_V3ojTL0BJCKgL5Y0c9D2VkSqVN4j-7BSRZt0Un3MAEgznXmk2ecg3y7s9linGR0mC3QqKeyDfFNdsUJG6ac0h2CFFZQizpQu1DFmI_ADKmzxVQGPICuslgJFFoIF4ZA\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.850Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":83,"estimatedTokens":803}}762{"id":"doc-sign_up_for_new_account_with_email_only_okta_dev-a5c46201","source":"documentation","title":"Sign up for new account with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-new-sign-up-email/react/main/","text":"Example:\n```javascript\nconst { oktaAuth } = useOktaAuth();\n  const startFlow = useCallback(async () => {\n    newTransaction = await oktaAuth.idx.register();\n  }, [oktaAuth, flow, setTransaction]);\n```\n\nExample:\n```json\n{\n   \"status\":\"PENDING\",\n   \"nextStep\":{\n      \"name\":\"enroll-profile\",\n      \"inputs\":[\n         {\n            \"name\":\"firstName\",\n            \"type\":\"string\",\n            \"label\":\"First name\",\n            \"required\":true,\n            \"minLength\":1,\n            \"maxLength\":50\n         }\n         ...\n      ]\n   },\n}\n```\n\nExample:\n```javascript\nconst inputValues = {\n  firstName: \"John\",\n  lastName: \"Doe\",\n  email: \"johndoe@email.com\",\n };\n```\n\nExample:\n```javascript\nsetProcessing(true);\nconst newTransaction = await oktaAuth.idx.proceed(inputValues);\nsetTransaction(newTransaction);\n```\n\nExample:\n```json\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"enroll-authenticator\",\n    type: \"email\",\n    authenticator: {\n      type: \"email\",\n      key: \"okta_email\",\n      displayName: \"Email\",\n    },\n  },\n}\n```\n\nExample:\n```json\nconst inputValues = {\n    \"verificationCode\":\"197277\"\n };\n```\n\nExample:\n```javascript\nconst newTransaction = await oktaAuth.idx.proceed(inputValues);\n    setTransaction(newTransaction);\n    setInputValues({});\n    setProcessing(false);\n```\n\nExample:\n```json\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"select-authenticator-enroll\",\n    options: [\n      {\n        label: \"Google Authenticator\",\n        value: \"google_otp\"\n      },\n      {\n        label: \"Okta Verify\",\n        value: \"okta_verify\",\n      },\n    ],\n    canSkip: true,\n  },\n}\n```\n\nExample:\n```javascript\nconst newTransaction = await oktaAuth.idx.proceed({ skip: true });\nsetTransaction(newTransaction);\n```\n\nExample:\n```json\n{\n  status: \"SUCCESS\",\n  tokens: {\n    accessToken: {\n      accessToken: \"eyJraWQiOiJLSWdvVHlt...\",\n      expiresAt: 1656106249,\n      tokenType: \"Bearer\",\n    },\n    idToken: {\n      idToken: \"eyJraWQiOiJLSWdvVHltSGlL...\",\n      expiresAt: 1656106249,\n    },\n  },\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.850Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":122,"estimatedTokens":507}}763{"id":"doc-basic_sign_in_with_the_password_factor_okta_deve-ec36404f","source":"documentation","title":"Basic sign in with the password factor | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-in/nodejs/main","text":"Example:\n```javascript\nconst authClient = getAuthClient(req);\nconst transaction = await authClient.idx.authenticate({ username, password });\n```\n\nExample:\n```js\nconst { nextStep, tokens, status, error, } = transaction;\n  // Persist states to session\n  req.setFlowStates({ idx: transaction });\n\n  switch (status) {\n    case IdxStatus.SUCCESS:\n      // Save tokens to storage (req.session)\n      authClient.tokenManager.setTokens(tokens);\n      // Redirect back to home page\n      res.redirect('/');\n      return;\n\n   // Handle other statuses\n}\n```\n\nExample:\n```js\nswitch (status) {\n   case IdxStatus.SUCCESS:\n      // handle success\n   return;\n   case IdxStatus.PENDING:\n      // Proceed to next step\n      try {\n         if (!proceed({ req, res, nextStep })) {\n            next(new Error(`\n            Oops! The current flow cannot support the policy configuration in your org.\n            `));\n         }\n      } catch (err) {\n         next(err);\n      }\n   return;\n   case IdxStatus.FAILURE:\n      authClient.transactionManager.clear();\n      next(error);\n   return;\n   case IdxStatus.TERMINAL:\n      redirect({ req, res, path: '/terminal' });\n   return;\n   case IdxStatus.CANCELED:\n      res.redirect('/');\n   return;\n}\n```\n\nExample:\n```javascript\nmodule.exports = async function userContext(req, res, next) {\n  const authClient = getAuthClient(req);\n  const { idToken, accessToken, refreshToken } = authClient.tokenManager.getTokensSync();\n  if (idToken && accessToken) {\n    const userinfo = await authClient.token.getUserInfo(accessToken, idToken);\n    req.userContext = {\n      userinfo,\n      tokens: {\n        idToken, accessToken, refreshToken\n      }\n    };\n  }\n\n  next();\n};\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.850Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":75,"estimatedTokens":426}}764{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-c6cbd6e4","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/nodejs/main","text":"Example:\n```shell\ngit clone https://github.com/okta/okta-auth-js.git\ncd okta-auth-js/samples/generated/express-embedded-sign-in-widget\n```\n\nExample:\n```yaml\nISSUER=https://oie-9102348.oktapreview.com/oauth2/default\nCLIENT_ID=0oazcjm779c5MPY0O1d6\nCLIENT_SECRET=hCBX_o3OFZMMZMOUzmXb3kHBJd-_Q4IcxIT\n```\n\nExample:\n```javascript\nmodule.exports = function () {\n  const {\n    CLIENT_ID =`{YOUR_CLIENT_ID}`,\n    CLIENT_SECRET = `{YOUR_CLIENT_SECRET}`,\n    ISSUER =`{YOUR_ISSUER}` ,\n    OKTA_TESTING_DISABLEHTTPSCHECK = false,\n  } = process.env;\n\n  ...\n```\n\nExample:\n```shell\nnpm install --save @okta/okta-auth-js\n```\n\nExample:\n```html\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```javascript\nconsole.log('renderLoginWithWidget: using interaction handle: ', interactionHandle);\n      const { clientId, redirectUri, issuer, scopes } = getConfig().webServer.oidc;\n      const widgetConfig = {\n        baseUrl: issuer.split('/oauth2')[0],\n        clientId: clientId,\n        redirectUri: redirectUri,\n        authParams: {\n          issuer: issuer,\n          scopes: scopes,\n        },\n        state,\n        interactionHandle,\n        codeChallenge,\n        codeChallengeMethod,\n      };\n```\n\nExample:\n```html\n<div id=\"content\" class=\"ui padded relaxed\">\n\n      {{>formMessages}}\n\n      <div id=\"okta-signin-widget-container\"></div>\n\n      <script type=\"text/javascript\">\n        const widgetConfig = {{{widgetConfig}}};\n        const signIn = new OktaSignIn({\n          el: '#okta-signin-widget-container',\n          ...widgetConfig\n        });\n\n         // Search for URL Parameters to see if a user is being routed to the application to recover password\n         var searchParams = new URL(window.location.href).searchParams;\n         signIn.otp = searchParams.get('otp');\n         signIn.state = searchParams.get('state');\n\n        signIn.showSignInAndRedirect()\n          .catch(err => {\n            console.log('Error happen in showSignInAndRedirect: ', err);\n          });\n      </script>\n\n</div>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.850Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":86,"estimatedTokens":558}}765{"id":"doc-org_groups-4b54508a","source":"documentation","title":"Org Groups","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups?after=string&before=string&limit=25&filter=name%20sw%20%22Test%22' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0cgc1a2b3c4d5e6f7g8h9i0j1k2l3m\",\n    \"name\": \"Production Orgs\",\n    \"description\": \"All production orgs for the account\"\n  },\n  {\n    \"id\": \"0cgc9z8y7x6w5v4u3t2s1r0q9p8o7n\",\n    \"name\": \"Test Environments\",\n    \"description\": \"Test and staging orgs\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.851Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":131}}766{"id":"doc-governance-9deb3c54","source":"documentation","title":"Governance","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/governance","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/governance/api/v1/request-condition-templates?filter=applyStatus%20eq%20%22APPLIED%22' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"020qqli3iolphlqkmrutpt8271c\",\n    \"applyStatus\": \"APPLIED\",\n    \"requestCondition\": {}\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.851Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":91}}767{"id":"doc-look_for_other_attack_vectors_sanitizing_data_ok-cc2e998a","source":"documentation","title":"Look For Other Attack Vectors - Sanitizing Data | Okta Developer","url":"https://developer.okta.com/books/api-security/sanitizing/attack-vectors","text":"Example:\n```http\nPOST /submit-me HTTP/1.1\nHost: example.com\nAccept: */*\nReferer: http://example.com/fake.html\nAccept-Language: en-us\nContent-Type: application/x-www-form-urlencoded\nAccept-Encoding: gzip, deflate\nUser-Agent: My Fake UserAgent <img src onerror='alert(\"haxor\")'>\nContent-Length: 37\nConnection: Keep-Alive\nCache-Control: no-cache\n\nfoo=bar&key=value\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.851Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":18,"estimatedTokens":95}}768{"id":"doc-accept_known_good_sanitizing_data_okta_developer-4cbbc46a","source":"documentation","title":"Accept Known Good - Sanitizing Data | Okta Developer","url":"https://developer.okta.com/books/api-security/sanitizing/accept-good","text":"Example:\n```js\nimport validator from 'validator';\nvalidator.isEmail('foobar@example.com');\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.851Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":27}}769{"id":"doc-orgs-30ca883f","source":"documentation","title":"Orgs","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}/deletionRequest' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.851Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":46}}770{"id":"doc-common_attacks_sanitizing_data_okta_developer-bfbdde93","source":"documentation","title":"Common Attacks - Sanitizing Data | Okta Developer","url":"https://developer.okta.com/books/api-security/sanitizing/common-attacks","text":"Example:\n```sql\nuserId = getFromInput(\"userId\");\nsql = \"SELECT * FROM Users WHERE UserId = \" + userId;\n```\n\nExample:\n```sql\nSELECT * FROM Users WHERE UserId = jcoder;\nDROP TABLE ImportantStuff\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.852Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":53}}771{"id":"doc-sign_in_to_spa_with_auth_js_okta_developer-f28192d0","source":"documentation","title":"Sign in to SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/archive-sign-in-to-spa-authjs/vue/main","text":"Example:\n```bash\nnpm install -g @vue/cli\nvue create okta-vue-auth-example\ncd okta-vue-auth-example\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js\n```\n\nExample:\n```html\n<template>\n  <div>\n    <h2>About</h2>\n  </div>\n</template>\n```\n\nExample:\n```html\n<template>\n  <div>\n    <h2>Dashboard</h2>\n    <p>Yay you made it!</p>\n  </div>\n</template>\n```\n\nExample:\n```js\nconst OktaAuth = require('@okta/okta-auth-js').OktaAuth\nconst authClient = new OktaAuth({\n  issuer: 'https://{yourOktaDomain}',\n  clientId: '{clientId}',\n  scopes: ['openid', 'email', 'profile'],\n  redirectUri: window.location.origin + '/login/callback'\n})\n\nexport default {\n  login (email, pass, cb) {\n    cb = arguments[arguments.length - 1]\n    if (localStorage.token) {\n      if (cb) cb(true)\n      this.onChange(true)\n      return\n    }\n    return authClient.signInWithCredentials({\n      username: email,\n      password: pass\n    }).then(transaction => {\n      if (transaction.status === 'SUCCESS') {\n        return authClient.token.getWithoutPrompt({\n          responseType: ['id_token', 'token'],\n          sessionToken: transaction.sessionToken,\n        }).then(response => {\n          localStorage.token = response.tokens.accessToken\n          localStorage.idToken = response.tokens.idToken\n          if (cb) cb(true)\n          this.onChange(true)\n        })\n      }\n    }).catch(err => {\n      console.error(err.message)\n      if (cb) cb(false)\n      this.onChange(false)\n    })\n  },\n\n  getToken () {\n    return localStorage.token\n  },\n\n  logout (cb) {\n    delete localStorage.token\n    delete localStorage.idToken\n    if (cb) cb()\n    this.onChange(false)\n    return authClient.signOut()\n  },\n\n  loggedIn () {\n    return !!localStorage.token\n  },\n\n  onChange () {\n  }\n}\n```\n\nExample:\n```html\n<template>\n  <div id=\"app\">\n    <h1>Okta Auth JS Example</h1>\n    <ul>\n      <li>\n        <router-link v-if=\"loggedIn\" to=\"/logout\">Log out</router-link>\n        <router-link v-if=\"!loggedIn\" to=\"/login\">Log in</router-link>\n      </li>\n      <li>\n        <router-link to=\"/about\">About</router-link>\n      </li>\n      <li>\n        <router-link to=\"/dashboard\">Dashboard</router-link>\n        (authenticated)\n      </li>\n    </ul>\n    <template v-if=\"$route.matched.length\">\n      <router-view></router-view>\n    </template>\n    <template v-else>\n      <p>You are logged {{ loggedIn ? 'in' : 'out' }}</p>\n    </template>\n  </div>\n</template>\n\n<script>\nimport auth from './auth'\nexport default {\n  data () {\n    return {\n      loggedIn: auth.loggedIn()\n    }\n  },\n  created () {\n    auth.onChange = loggedIn => {\n      this.loggedIn = loggedIn\n    }\n  }\n}\n</script>\n\n<style>\n  html, body {\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n    color: #2c3e50;\n  }\n\n  #app {\n    padding: 0 20px;\n  }\n\n  ul {\n    line-height: 1.5em;\n    padding-left: 1.5em;\n  }\n\n  a {\n    color: #7f8c8d;\n    text-decoration: none;\n  }\n\n  a:hover {\n    color: #4fc08d;\n  }\n</style>\n```\n\nExample:\n```html\n<template>\n  <div>\n    <h2>Login</h2>\n    <p v-if=\"$route.query.redirect\">\n      You need to login first.\n    </p>\n    <form @submit.prevent=\"login\" autocomplete=\"off\">\n      <label><input v-model=\"email\" placeholder=\"email\" v-focus></label>\n      <label><input v-model=\"pass\" placeholder=\"password\" type=\"password\"></label><br>\n      <button type=\"submit\">login</button>\n      <p v-if=\"error\" class=\"error\">Bad login information</p>\n    </form>\n  </div>\n</template>\n\n<script>\n  import auth from '../auth'\n  export default {\n    data () {\n      return {\n        email: '',\n        pass: '',\n        error: false\n      }\n    },\n    methods: {\n      login () {\n        auth.login(this.email, this.pass, loggedIn => {\n          if (!loggedIn) {\n            this.error = true\n          } else {\n            this.$router.replace(this.$route.query.redirect || '/')\n          }\n        })\n      }\n    }\n  }\n</script>\n\n<style>\n  .error {\n    color: red;\n  }\n</style>\n```\n\nExample:\n```js\ncreateApp(App)\n.directive('focus', {\n  // When the bound element is inserted into the DOM...\n  mounted: function (el) {\n    // Focus the element\n    el.focus()\n  }\n})\n.use(router)\n.mount('#app')\n```\n\nExample:\n```js\nimport { createRouter, createWebHistory } from 'vue-router'\nimport auth from '@/auth'\nimport About from '@/components/About.vue'\nimport Dashboard from '@/components/Dashboard.vue'\nimport Login from '@/components/Login.vue'\n\nconst router = createRouter({\n  history: createWebHistory(__dirname),\n  routes: [\n    { path: '/about', component: About },\n    { path: '/dashboard', component: Dashboard, beforeEnter: requireAuth },\n    { path: '/login', component: Login },\n    { path: '/logout',\n      beforeEnter (to, from, next) {\n        auth.logout()\n        next('/')\n      }\n    }\n  ]\n})\n\nfunction requireAuth (to, from, next) {\n  if (!auth.loggedIn()) {\n    next({\n      path: '/login',\n      query: { redirect: to.fullPath }\n    })\n  } else {\n    next()\n  }\n}\n\nexport default router;\n```\n\nExample:\n```bash\nnpm run serve\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.852Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":266,"estimatedTokens":1275}}772{"id":"doc-retrieve_a_device-8de7a496","source":"documentation","title":"Retrieve a device","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/getdevice","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4\n```\n\nExample:\n```text\n{\n  \"id\": \"guo8jx5vVoxfvJeLb0w4\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2020-11-03T21:47:01.000Z\",\n  \"lastUpdated\": \"2020-11-03T23:46:27.000Z\",\n  \"profile\": {\n    \"displayName\": \"DESKTOP-EHAD3IE\",\n    \"platform\": \"WINDOWS\",\n    \"manufacturer\": \"International Corp\",\n    \"model\": \"VMware7,1\",\n    \"osVersion\": \"10.0.18362\",\n    \"serialNumber\": \"56 4d 4f 95 74 c5 d3 e7-fc 3a 57 9c c2 f8 5d ce\",\n    \"udid\": \"954F4D56-C574-E7D3-FC3A-579CC2F85DCE\",\n    \"sid\": \"S-1-5-21-3992267483-1860856704-2413701314-500\",\n    \"registered\": true,\n    \"secureHardwarePresent\": false,\n    \"diskEncryptionType\": \"NONE\"\n  },\n  \"resourceId\": \"guo8jx5vVoxfvJeLb0w4\",\n  \"resourceDisplayName\": {\n    \"value\": \"DESKTOP-EHAD3IE\",\n    \"sensitive\": false\n  },\n  \"resourceType\": \"UDDevice\",\n  \"resourceAlternateId\": null,\n  \"_links\": {\n    \"suspend\": { … },\n    \"self\": { … },\n    \"users\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.853Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":43,"estimatedTokens":259}}773{"id":"doc-list_all_users_for_a_device-d85af0ea","source":"documentation","title":"List all users for a device","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/listdeviceusers","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/users\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2021-08-20T17:13:35.000Z\",\n    \"managementStatus\": \"NOT_MANAGED\",\n    \"screenLockType\": \"BIOMETRIC\",\n    \"user\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.853Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":73}}774{"id":"doc-add_a_json_web_key-4cd88f4f","source":"documentation","title":"Add a JSON Web Key","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/addjwk","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/jwks \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"pks2f50kZB0cITmYU0g4\",\n    \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n    \"kty\": \"RSA\",\n    \"alg\": \"RS256\",\n    \"use\": \"sig\",\n    \"e\": \"AQAB\",\n    \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n    \"status\": \"ACTIVE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"pks2f50kZB0cITmYU0g4\",\n  \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"kty\": \"RSA\",\n  \"alg\": \"RS256\",\n  \"use\": \"sig\",\n  \"e\": \"AQAB\",\n  \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.853Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":202}}775{"id":"doc-list_all_application_refresh_tokens-e17660ea","source":"documentation","title":"List all application refresh tokens","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationtokens/other/listoauth2tokensforapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/tokens?expand=scope&after=16275000448691&limit=20'\n```\n\nExample:\n```text\n[\n  \"offline_access\"\n]\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"oar579Mcp7OUsNTlo0g3\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2023-03-09T03:18:06.000Z\",\n    \"lastUpdated\": \"2023-03-09T03:18:06.000Z\",\n    \"expiresAt\": \"2023-03-16T03:18:06.000Z\",\n    \"issuer\": \"https://{yourOktaDomain}/oauth2/ausain6z9zIedDCxB0h7\",\n    \"clientId\": \"0oabskvc6442nkvQO0h7\",\n    \"userId\": \"00u5t60iloOHN9pBi0h7\",\n    \"scopes\": [ … ],\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.853Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":33,"estimatedTokens":163}}776{"id":"doc-list_all_oauth_2_0_client_secrets-fb398120","source":"documentation","title":"List all OAuth 2.0 client secrets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/listoauth2clientsecrets","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/secrets\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"ocs2f4zrZbs8nUa7p0g4\",\n    \"status\": \"INACTIVE\",\n    \"client_secret\": \"DRUFXGF9XbLn......a3x3POBiIxDreBCdZuFs5B\",\n    \"secret_hash\": \"yk4SVx4sUWVJVbHt6M-UPA\",\n    \"created\": \"2023-02-21T20:08:24.000Z\",\n    \"lastUpdated\": \"2023-02-21T20:08:24.000Z\",\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"ocs2f50kZB0cITmYU0g4\",\n    \"status\": \"ACTIVE\",\n    \"client_secret\": \"HAGDTYU9XbLnS......3xasFDDwecdZuFs5B\",\n    \"secret_hash\": \"0WOOvBSzV9clc4Nr7Rbaug\",\n    \"created\": \"2023-04-06T21:32:33.000Z\",\n    \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.854Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":183}}777{"id":"doc-deactivate_an_oauth_2_0_client_json_web_key-4c12507c","source":"documentation","title":"Deactivate an OAuth 2.0 client JSON Web Key","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/deactivateoauth2clientjsonwebkey","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/jwks/pks2f4zrZbs8nUa7p0g4/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"pks2f50kZB0cITmYU0g4\",\n  \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"kty\": \"RSA\",\n  \"alg\": \"RS256\",\n  \"use\": \"sig\",\n  \"e\": \"AQAB\",\n  \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n  \"status\": \"INACTIVE\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"activate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.854Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":139}}778{"id":"doc-activate_an_oauth_2_0_client_json_web_key-fb3d48e8","source":"documentation","title":"Activate an OAuth 2.0 client JSON Web Key","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/activateoauth2clientjsonwebkey","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/jwks/pks2f4zrZbs8nUa7p0g4/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"pks2f50kZB0cITmYU0g4\",\n  \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"kty\": \"RSA\",\n  \"alg\": \"RS256\",\n  \"use\": \"sig\",\n  \"e\": \"AQAB\",\n  \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.854Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":138}}779{"id":"doc-create_an_application-5aa5d3c7","source":"documentation","title":"Create an application","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/createapplication!path=4/settings/oauthClient/grant_types&t=request","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/apps?activate=true' \\\n  -H 'Content-Type: application/json' \\\n  -H 'OktaAccessGateway-Agent: string' \\\n  -d '{\n    \"name\": \"bookmark\",\n    \"label\": \"Sample Bookmark App\",\n    \"signOnMode\": \"BOOKMARK\",\n    \"settings\": {\n      \"app\": {\n        \"url\": \"https://example.com/bookmark.html\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oafxqCAJWWGELFTYASJ\",\n  \"status\": \"ACTIVE\",\n  \"lastUpdated\": \"2023-01-21T14:11:24.000Z\",\n  \"created\": \"2023-01-21T14:11:24.000Z\",\n  \"accessibility\": {\n    \"selfService\": false,\n    \"errorRedirectUrl\": null,\n    \"loginRedirectUrl\": null\n  },\n  \"_links\": {\n    \"uploadLogo\": { … },\n    \"appLinks\": [ … ],\n    \"groups\": { … },\n    \"logo\": [ … ],\n    \"users\": { … },\n    \"deactivate\": { … }\n  },\n  \"visibility\": {\n    \"autoLaunch\": false,\n    \"autoSubmitToolbar\": false,\n    \"hide\": { … },\n    \"appLinks\": { … }\n  },\n  \"name\": \"bookmark\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:bookmark:0oafxqCAJWWGELFTYASJ\",\n  \"label\": \"Sample Bookmark App\",\n  \"features\": [],\n  \"signOnMode\": \"BOOKMARK\",\n  \"credentials\": {\n    \"userNameTemplate\": { … },\n    \"signing\": {}\n  },\n  \"settings\": {\n    \"app\": { … },\n    \"notifications\": { … },\n    \"manualProvisioning\": false,\n    \"implicitAssignment\": false,\n    \"notes\": { … },\n    \"emOptInStatus\": \"DISABLED\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.854Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":65,"estimatedTokens":346}}780{"id":"doc-create_an_application-ed092021","source":"documentation","title":"Create an application","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/application/other/createapplication!path=4/settings/oauthClient/refresh_token&t=request","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/apps?activate=true' \\\n  -H 'Content-Type: application/json' \\\n  -H 'OktaAccessGateway-Agent: string' \\\n  -d '{\n    \"name\": \"bookmark\",\n    \"label\": \"Sample Bookmark App\",\n    \"signOnMode\": \"BOOKMARK\",\n    \"settings\": {\n      \"app\": {\n        \"url\": \"https://example.com/bookmark.html\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0oafxqCAJWWGELFTYASJ\",\n  \"status\": \"ACTIVE\",\n  \"lastUpdated\": \"2023-01-21T14:11:24.000Z\",\n  \"created\": \"2023-01-21T14:11:24.000Z\",\n  \"accessibility\": {\n    \"selfService\": false,\n    \"errorRedirectUrl\": null,\n    \"loginRedirectUrl\": null\n  },\n  \"_links\": {\n    \"uploadLogo\": { … },\n    \"appLinks\": [ … ],\n    \"groups\": { … },\n    \"logo\": [ … ],\n    \"users\": { … },\n    \"deactivate\": { … }\n  },\n  \"visibility\": {\n    \"autoLaunch\": false,\n    \"autoSubmitToolbar\": false,\n    \"hide\": { … },\n    \"appLinks\": { … }\n  },\n  \"name\": \"bookmark\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:bookmark:0oafxqCAJWWGELFTYASJ\",\n  \"label\": \"Sample Bookmark App\",\n  \"features\": [],\n  \"signOnMode\": \"BOOKMARK\",\n  \"credentials\": {\n    \"userNameTemplate\": { … },\n    \"signing\": {}\n  },\n  \"settings\": {\n    \"app\": { … },\n    \"notifications\": { … },\n    \"manualProvisioning\": false,\n    \"implicitAssignment\": false,\n    \"notes\": { … },\n    \"emOptInStatus\": \"DISABLED\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.855Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":65,"estimatedTokens":346}}781{"id":"doc-revoke_a_certificate_signing_request-d452eb35","source":"documentation","title":"Revoke a certificate signing request","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/revokecsrfromapplication","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/csrs/fd7x1h7uTcZFx22rU1f7\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.855Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}782{"id":"doc-delete_an_oauth_2_0_client_secret-4e18baa0","source":"documentation","title":"Delete an OAuth 2.0 client secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/deleteoauth2clientsecret","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/secrets/ocs2f4zrZbs8nUa7p0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.855Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":48}}783{"id":"doc-retrieve_a_certificate_signing_request-c8650b09","source":"documentation","title":"Retrieve a certificate signing request","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/getcsrforapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/csrs/fd7x1h7uTcZFx22rU1f7\n```\n\nExample:\n```text\n{\n  \"id\": \"h9zkutaSe7fZX0SwN1GqDApofgD1OW8g2B5l2azha50\",\n  \"created\": \"2017-03-28T01:11:10.000Z\",\n  \"csr\": \"MIIC4DCCAcgCAQAwcTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xEzARBgNVBAoMCk9rdGEsIEluYy4xDDAKBgNVBAsMA0RldjESMBAGA1UEAwwJU1AgSXNzdWVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6m8jHVCr9/tKvvbFN59T4raoCs/78KRm4fSefHQOv1TKLXo4wTLbsqYWRWc5u0sd5orUMQgPQOyj3i6qh13mALY4BzrT057EG1BUNjGg29QgYlnOk2iX890e5BIDMQQEIKFrvOi2V8cLUkLvE2ydRn0VO1Q1frbUkYeStJYC5Api2JQsYRwa+1ZeDH1ITnIzUaugWhW2WB2lSnwZkenne5KtffxMPYVu+IhNRHoKaRA6Z51YNhMJIx17JM2hs/H4Ka3drk6kzDf7ofk/yBpb9yBWyU7CTSQhdoHidxqFprMDaT66W928t3AeOENHBuwn8c2K9WeGG+bELNyQRJVmawIDAQABoCowKAYJKoZIhvcNAQkOMRswGTAXBgNVHREEEDAOggxkZXYub2t0YS5jb20wDQYJKoZIhvcNAQELBQADggEBAA2hsVJRVM+A83X9MekjTnIbt19UNT8wX7wlE9jUKirWsxceLiZBpVGn9qfKhhVIpvdaIRSeoFYS2Kg/m1G6bCvjmZLcrQ5FcEBjZH2NKfNppGVnfC2ugtUkBtCB+UUzOhKhRKJtGugenKbP33zRWWIqnd2waF6Cy8TIuqQVPbwEDN9bCbAs7ND6CFYNguY7KYjWzQOeAR716eqpEEXuPYAS4nx/ty4ylonR8cv+gpq51rvq80A4k/36aoeM0Y6I4w64vhTfuvWW2UYFUD+/+y2FA2CSP4JfctySrf1s525v6fzTFZ3qZbB5OZQtP2b8xYWktMzywsxGKDoVDB4wkH4=\",\n  \"kty\": \"RSA\",\n  \"_links\": {\n    \"self\": { … },\n    \"publish\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.855Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":337}}784{"id":"doc-retrieve_an_application_token-806d02e8","source":"documentation","title":"Retrieve an application token","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationtokens/other/getoauth2tokenforapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/tokens/sHHSth53yJAyNSTQKDJZ?expand=scope'\n```\n\nExample:\n```text\n[\n  \"offline_access\"\n]\n```\n\nExample:\n```text\n{\n  \"id\": \"oar579Mcp7OUsNTlo0g3\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-03-09T03:18:06.000Z\",\n  \"lastUpdated\": \"2023-03-09T03:18:06.000Z\",\n  \"expiresAt\": \"2023-03-16T03:18:06.000Z\",\n  \"issuer\": \"https://{yourOktaDomain}/oauth2/ausain6z9zIedDCxB0h7\",\n  \"clientId\": \"0oabskvc6442nkvQO0h7\",\n  \"userId\": \"00u5t60iloOHN9pBi0h7\",\n  \"scopes\": [\n    \"offline_access\",\n    \"car:drive\"\n  ],\n  \"_embedded\": {\n    \"scopes\": [ … ]\n  },\n  \"_links\": {\n    \"app\": { … },\n    \"self\": { … },\n    \"revoke\": { … },\n    \"client\": { … },\n    \"user\": { … },\n    \"authorizationServer\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.855Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":43,"estimatedTokens":200}}785{"id":"doc-clone_a_key_credential-986fb129","source":"documentation","title":"Clone a key credential","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/cloneapplicationkey","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/keys/sjP9eiETijYz110VkhHN/clone?targetAid=0ouuytCAJSSDELFTUIDS'\n```\n\nExample:\n```text\n{\n  \"created\": \"2015-12-10T18:56:23.000Z\",\n  \"lastUpdated\": \"2024-08-13T18:26:57.000Z\",\n  \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n  \"x5c\": [\n    \"MIIDqDCCApCgAwIBAgIGAVGNQFX5MA0GCSqGSIb3DQEBBQUAMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTAeFw0xNTEyMTAxODU1MjJaFw0xNzEyMTAxODU2MjJaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJJjrcnI6cXBiXNq9YDgfYrQe2O5qEHG4MXP8Ue0sMeefFkFEHYHnHUeZCq6WTAGqR+1LFgOl+Eq9We5V+qNlGIfkFkQ3iHGBrIALKqLCd0Et76HicDiegz7j9DtN+lo0hG/gfcw5783L5g5xeQ7zVmCQMkFwoUA0uA3bsfUSrmfORHJL+EMNQT8XIXD8NkG4g6u7ylHVRTLgXbe+W/p04m3EP6l41xl+MhIpBaPxDsyUvcKCNwkZN3aZIin1O9Y4YJuDHxrM64/VtLLp0sC05iawAmfsLunF7rdJAkWUpPn+xkviyNQ3UpvwAYuDr+jKLUdh2reRnm1PezxMIXzBVMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEARnFIjyitrCGbleFr3KeAwdOyeHiRmgeKupX5ZopgXtcseJoToUIinX5DVw2fVZPahqs0Q7/a0wcVnTRpw6946qZC…\" Show more\n  ],\n  \"e\": \"AQAB\",\n  \"n\": \"mkC6yAJVvFwUlmM9gKjb2d-YK5qHFt-mXSsbjWKKs4EfNm-BoQeeovBZtSACyaqLc8IYFTPEURFcbDQ9DkAL04uUIRD2gaHYY7uK0jsluEaXGq2RAIsmzAwNTzkiDw4q9pDL_q7n0f_SDt1TsMaMQayB6bU5jWsmqcWJ8MCRJ1aJMjZ16un5UVx51IIeCbe4QRDxEXGAvYNczsBoZxspDt28esSpq5W0dBFxcyGVudyl54Er3FzAguhgfMVjH-bUec9j2Tl40qDTktrYgYfxz9pfjm01Hl4WYP1YQxeETpSL7cQ5Ihz4jGDtHUEOcZ4GfJrPzrGpUrak8Qp5xcwCqQ\",\n  \"kid\": \"SIMcCQNY3uwXoW3y0vf6VxiBb5n9pf8L2fK8d-FIbm4\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5t#S256\"\": \"5GOpy9CQVtfvBmu2T8BHvpKE4OGtC3BuS046t7p9pps\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.856Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":475}}786{"id":"doc-list_all_certificate_signing_requests-a9e0c516","source":"documentation","title":"List all certificate signing requests","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/listcsrsforapplication","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/csrs\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2017-03-28T01:11:10.000Z\",\n    \"csr\": \"MIIC4DCCAcgCAQAwcTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xEzARBgNVBAoMCk9rdGEsIEluYy4xDDAKBgNVBAsMA0RldjESMBAGA1UEAwwJU1AgSXNzdWVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6m8jHVCr9/tKvvbFN59T4raoCs/78KRm4fSefHQOv1TKLXo4wTLbsqYWRWc5u0sd5orUMQgPQOyj3i6qh13mALY4BzrT057EG1BUNjGg29QgYlnOk2iX890e5BIDMQQEIKFrvOi2V8cLUkLvE2ydRn0VO1Q1frbUkYeStJYC5Api2JQsYRwa+1ZeDH1ITnIzUaugWhW2WB2lSnwZkenne5KtffxMPYVu+IhNRHoKaRA6Z51YNhMJIx17JM2hs/H4Ka3drk6kzDf7ofk/yBpb9yBWyU7CTSQhdoHidxqFprMDaT66W928t3AeOENHBuwn8c2K9WeGG+bELNyQRJVmawIDAQABoCowKAYJKoZIhvcNAQkOMRswGTAXBgNVHREEEDAOggxkZXYub2t0YS5jb20wDQYJKoZIhvcNAQELBQADggEBAA2hsVJRVM+A83X9MekjTnIbt19UNT8wX7wlE9jUKirWsxceLiZBpVGn9qfKhhVIpvdaIRSeoFYS2Kg/m1G6bCvjmZLcrQ5FcEBjZH2NKfNppGVnfC2ugtUkBtCB+UUzOhKhRKJtGugenKbP33zRWWIqnd2waF6Cy8TIuqQVPbwEDN9bCbAs7ND6CFYNguY7KYjWzQOeAR716eqpEEXuPYAS4nx/ty4ylonR8cv+gpq51rvq80A4k/36aoeM0Y6I4w64vhTfuvWW2UYFUD+/+y2FA2CSP4JfctySrf1s525v6fzTFZ3qZbB5OZQtP2b8xYWktMzywsxGKDoVDB4wkH4=\",\n    \"id\": \"h9zkutaSe7fZX0SwN1GqDApofgD1OW8g2B5l2azha50\",\n    \"kty\": \"RSA\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.856Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":327}}787{"id":"doc-generate_a_key_credential-e16fa2c2","source":"documentation","title":"Generate a key credential","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/generateapplicationkey","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/keys/generate?validityYears=5'\n```\n\nExample:\n```text\n{\n  \"created\": \"2015-12-10T18:56:23.000Z\",\n  \"lastUpdated\": \"2024-08-13T18:26:57.000Z\",\n  \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n  \"x5c\": [\n    \"MIIDqDCCApCgAwIBAgIGAVGNQFX5MA0GCSqGSIb3DQEBBQUAMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTAeFw0xNTEyMTAxODU1MjJaFw0xNzEyMTAxODU2MjJaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJJjrcnI6cXBiXNq9YDgfYrQe2O5qEHG4MXP8Ue0sMeefFkFEHYHnHUeZCq6WTAGqR+1LFgOl+Eq9We5V+qNlGIfkFkQ3iHGBrIALKqLCd0Et76HicDiegz7j9DtN+lo0hG/gfcw5783L5g5xeQ7zVmCQMkFwoUA0uA3bsfUSrmfORHJL+EMNQT8XIXD8NkG4g6u7ylHVRTLgXbe+W/p04m3EP6l41xl+MhIpBaPxDsyUvcKCNwkZN3aZIin1O9Y4YJuDHxrM64/VtLLp0sC05iawAmfsLunF7rdJAkWUpPn+xkviyNQ3UpvwAYuDr+jKLUdh2reRnm1PezxMIXzBVMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEARnFIjyitrCGbleFr3KeAwdOyeHiRmgeKupX5ZopgXtcseJoToUIinX5DVw2fVZPahqs0Q7/a0wcVnTRpw6946qZC…\" Show more\n  ],\n  \"e\": \"AQAB\",\n  \"n\": \"mkC6yAJVvFwUlmM9gKjb2d-YK5qHFt-mXSsbjWKKs4EfNm-BoQeeovBZtSACyaqLc8IYFTPEURFcbDQ9DkAL04uUIRD2gaHYY7uK0jsluEaXGq2RAIsmzAwNTzkiDw4q9pDL_q7n0f_SDt1TsMaMQayB6bU5jWsmqcWJ8MCRJ1aJMjZ16un5UVx51IIeCbe4QRDxEXGAvYNczsBoZxspDt28esSpq5W0dBFxcyGVudyl54Er3FzAguhgfMVjH-bUec9j2Tl40qDTktrYgYfxz9pfjm01Hl4WYP1YQxeETpSL7cQ5Ihz4jGDtHUEOcZ4GfJrPzrGpUrak8Qp5xcwCqQ\",\n  \"kid\": \"SIMcCQNY3uwXoW3y0vf6VxiBb5n9pf8L2fK8d-FIbm4\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5t#S256\"\": \"5GOpy9CQVtfvBmu2T8BHvpKE4OGtC3BuS046t7p9pps\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.856Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":466}}788{"id":"doc-list_all_key_credentials-f5b16eb7","source":"documentation","title":"List all key credentials","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/listapplicationkeys","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/keys\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2015-12-10T18:56:23.000Z\",\n    \"lastUpdated\": \"2024-08-13T18:26:57.000Z\",\n    \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n    \"x5c\": [ … ],\n    \"e\": \"AQAB\",\n    \"n\": \"mkC6yAJVvFwUlmM9gKjb2d-YK5qHFt-mXSsbjWKKs4EfNm-BoQeeovBZtSACyaqLc8IYFTPEURFcbDQ9DkAL04uUIRD2gaHYY7uK0jsluEaXGq2RAIsmzAwNTzkiDw4q9pDL_q7n0f_SDt1TsMaMQayB6bU5jWsmqcWJ8MCRJ1aJMjZ16un5UVx51IIeCbe4QRDxEXGAvYNczsBoZxspDt28esSpq5W0dBFxcyGVudyl54Er3FzAguhgfMVjH-bUec9j2Tl40qDTktrYgYfxz9pfjm01Hl4WYP1YQxeETpSL7cQ5Ihz4jGDtHUEOcZ4GfJrPzrGpUrak8Qp5xcwCqQ\",\n    \"kid\": \"SIMcCQNY3uwXoW3y0vf6VxiBb5n9pf8L2fK8d-FIbm4\",\n    \"kty\": \"RSA\",\n    \"use\": \"sig\",\n    \"x5t#S256\"\": \"5GOpy9CQVtfvBmu2T8BHvpKE4OGtC3BuS046t7p9pps\"\n  },\n  {\n    \"created\": \"2015-12-10T18:55:35.000Z\",\n    \"lastUpdated\": \"2024-08-13T18:26:57.000Z\",\n    \"expiresAt\": \"2045-01-23T02:15:23.000Z\",\n    \"x5c\": [ … ],\n    \"e\": \"AQAB\",\n    \"n\": \"htbi5H5MN_oYaKcZ8vlWRZn2oTrPY0v8_2Br_VZPJgJ57dCgguq5dDk1Me_ax-B3kjBPdXcW8wEoUFaU30spyVeQjZrdqsSvF0nMW4OzrMOIqrGLwCrAoDBS8tutfk5Y7qc-5xABzxgu4BjgSK5nWXbCt_UR0DzVTknotmMGeT8tAej8F6GAphLa0YhIxWT7Jy-y_pdANsiUPRiZBoLueGI0rrCqgYHIQVjNoj4-si105KCXbQuyYM9_Cd-dyyu5KJ4Ic0cOW61gpx4pnecMgSy8OX57FEd06W2hExBd49ah6jra2KFMeOGe3rkIXirdkofl1mBgeQ77ruKO1wW9Qw\",\n    \"kid\": \"mXtzOtml09Dg1ZCeKxTRBo3KrQuBWFkJ5oxhVagjTzo\",\n    \"kty\": \"RSA\",\n    \"use\": \"sig\",\n    \"x5t#S256\"\": \"7CCyXWwKzH4P6PoBP91B1S_iIZVzuGffVnUXu-BTYQQ\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.856Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":385}}789{"id":"doc-deactivate_an_oauth_2_0_client_secret-cb86a814","source":"documentation","title":"Deactivate an OAuth 2.0 client secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/deactivateoauth2clientsecret","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/secrets/ocs2f4zrZbs8nUa7p0g4/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"ocs2f4zrZbs8nUa7p0g4\",\n  \"status\": \"INACTIVE\",\n  \"client_secret\": \"DRUFXGF9XbLn......a3x3POBiIxDreBCdZuFs5B\",\n  \"secret_hash\": \"yk4SVx4sUWVJVbHt6M-UPA\",\n  \"created\": \"2023-02-21T20:08:24.000Z\",\n  \"lastUpdated\": \"2023-02-21T20:08:24.000Z\",\n  \"_links\": {\n    \"activate\": { … },\n    \"delete\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.856Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":128}}790{"id":"doc-retrieve_a_key_credential-919757ae","source":"documentation","title":"Retrieve a key credential","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/getapplicationkey","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/keys/sjP9eiETijYz110VkhHN\n```\n\nExample:\n```text\n{\n  \"created\": \"2015-12-10T18:56:23.000Z\",\n  \"lastUpdated\": \"2024-08-13T18:26:57.000Z\",\n  \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n  \"x5c\": [\n    \"MIIDqDCCApCgAwIBAgIGAVGNQFX5MA0GCSqGSIb3DQEBBQUAMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTAeFw0xNTEyMTAxODU1MjJaFw0xNzEyMTAxODU2MjJaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJJjrcnI6cXBiXNq9YDgfYrQe2O5qEHG4MXP8Ue0sMeefFkFEHYHnHUeZCq6WTAGqR+1LFgOl+Eq9We5V+qNlGIfkFkQ3iHGBrIALKqLCd0Et76HicDiegz7j9DtN+lo0hG/gfcw5783L5g5xeQ7zVmCQMkFwoUA0uA3bsfUSrmfORHJL+EMNQT8XIXD8NkG4g6u7ylHVRTLgXbe+W/p04m3EP6l41xl+MhIpBaPxDsyUvcKCNwkZN3aZIin1O9Y4YJuDHxrM64/VtLLp0sC05iawAmfsLunF7rdJAkWUpPn+xkviyNQ3UpvwAYuDr+jKLUdh2reRnm1PezxMIXzBVMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEARnFIjyitrCGbleFr3KeAwdOyeHiRmgeKupX5ZopgXtcseJoToUIinX5DVw2fVZPahqs0Q7/a0wcVnTRpw6946qZC…\" Show more\n  ],\n  \"e\": \"AQAB\",\n  \"n\": \"mkC6yAJVvFwUlmM9gKjb2d-YK5qHFt-mXSsbjWKKs4EfNm-BoQeeovBZtSACyaqLc8IYFTPEURFcbDQ9DkAL04uUIRD2gaHYY7uK0jsluEaXGq2RAIsmzAwNTzkiDw4q9pDL_q7n0f_SDt1TsMaMQayB6bU5jWsmqcWJ8MCRJ1aJMjZ16un5UVx51IIeCbe4QRDxEXGAvYNczsBoZxspDt28esSpq5W0dBFxcyGVudyl54Er3FzAguhgfMVjH-bUec9j2Tl40qDTktrYgYfxz9pfjm01Hl4WYP1YQxeETpSL7cQ5Ihz4jGDtHUEOcZ4GfJrPzrGpUrak8Qp5xcwCqQ\",\n  \"kid\": \"SIMcCQNY3uwXoW3y0vf6VxiBb5n9pf8L2fK8d-FIbm4\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5t#S256\"\": \"5GOpy9CQVtfvBmu2T8BHvpKE4OGtC3BuS046t7p9pps\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.857Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":465}}791{"id":"doc-generate_a_certificate_signing_request-ebec6931","source":"documentation","title":"Generate a certificate signing request","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/generatecsrforapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/csrs \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"subject\": {\n      \"commonName\": \"SP Issuer\",\n      \"countryName\": \"US\",\n      \"localityName\": \"San Francisco\",\n      \"organizationalUnitName\": \"Dev\",\n      \"organizationName\": \"Okta, Inc.\",\n      \"stateOrProvinceName\": \"California\"\n    },\n    \"subjectAltNames\": {\n      \"dnsNames\": [\n        \"dev.okta.com\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\nMIIC4DCCAcgCAQAwcTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xEzARBgNVBAoMCk9rdGEsIEluYy4xDDAKBgNVBAsMA0RldjESMBAGA1UEAwwJU1AgSXNzdWVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6m8jHVCr9\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.857Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":189}}792{"id":"doc-publish_a_certificate_signing_request-bf83bb32","source":"documentation","title":"Publish a certificate signing request","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssocredentialkey/other/publishcsrfromapplication","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/csrs/fd7x1h7uTcZFx22rU1f7/lifecycle/publish \\\n  -H 'Content-Type: application/x-x509-ca-cert' \\\n  -d @certificate.pem\n```\n\nExample:\n```text\n{\n  \"created\": \"2015-12-10T18:56:23.000Z\",\n  \"lastUpdated\": \"2024-08-13T18:26:57.000Z\",\n  \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n  \"x5c\": [\n    \"MIIDqDCCApCgAwIBAgIGAVGNQFX5MA0GCSqGSIb3DQEBBQUAMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTAeFw0xNTEyMTAxODU1MjJaFw0xNzEyMTAxODU2MjJaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxFTATBgNVBAMMDGJhbGFjb21wdGVzdDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJJjrcnI6cXBiXNq9YDgfYrQe2O5qEHG4MXP8Ue0sMeefFkFEHYHnHUeZCq6WTAGqR+1LFgOl+Eq9We5V+qNlGIfkFkQ3iHGBrIALKqLCd0Et76HicDiegz7j9DtN+lo0hG/gfcw5783L5g5xeQ7zVmCQMkFwoUA0uA3bsfUSrmfORHJL+EMNQT8XIXD8NkG4g6u7ylHVRTLgXbe+W/p04m3EP6l41xl+MhIpBaPxDsyUvcKCNwkZN3aZIin1O9Y4YJuDHxrM64/VtLLp0sC05iawAmfsLunF7rdJAkWUpPn+xkviyNQ3UpvwAYuDr+jKLUdh2reRnm1PezxMIXzBVMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEARnFIjyitrCGbleFr3KeAwdOyeHiRmgeKupX5ZopgXtcseJoToUIinX5DVw2fVZPahqs0Q7/a0wcVnTRpw6946qZC…\" Show more\n  ],\n  \"e\": \"AQAB\",\n  \"n\": \"mkC6yAJVvFwUlmM9gKjb2d-YK5qHFt-mXSsbjWKKs4EfNm-BoQeeovBZtSACyaqLc8IYFTPEURFcbDQ9DkAL04uUIRD2gaHYY7uK0jsluEaXGq2RAIsmzAwNTzkiDw4q9pDL_q7n0f_SDt1TsMaMQayB6bU5jWsmqcWJ8MCRJ1aJMjZ16un5UVx51IIeCbe4QRDxEXGAvYNczsBoZxspDt28esSpq5W0dBFxcyGVudyl54Er3FzAguhgfMVjH-bUec9j2Tl40qDTktrYgYfxz9pfjm01Hl4WYP1YQxeETpSL7cQ5Ihz4jGDtHUEOcZ4GfJrPzrGpUrak8Qp5xcwCqQ\",\n  \"kid\": \"SIMcCQNY3uwXoW3y0vf6VxiBb5n9pf8L2fK8d-FIbm4\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5t#S256\"\": \"5GOpy9CQVtfvBmu2T8BHvpKE4OGtC3BuS046t7p9pps\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.857Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":488}}793{"id":"doc-retrieve_an_oauth_2_0_client_secret-831d3951","source":"documentation","title":"Retrieve an OAuth 2.0 client secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/getoauth2clientsecret","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/secrets/ocs2f4zrZbs8nUa7p0g4\n```\n\nExample:\n```text\n{\n  \"id\": \"ocs2f50kZB0cITmYU0g4\",\n  \"status\": \"ACTIVE\",\n  \"client_secret\": \"DRUFXGF9XbLn......a3x3POBiIxDreBCdZuFs5B\",\n  \"secret_hash\": \"FpCwXwSjTRQNtEI11I00-g\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.857Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":117}}794{"id":"doc-upload_the_data_to_be_deleted_in_okta-0da2f618","source":"documentation","title":"Upload the data to be deleted in Okta","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/uploadidentitysourcedatafordelete","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/bulk-delete \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"entityType\": \"USERS\",\n    \"profiles\": [\n      {\n        \"externalId\": \"EXT123456784C2IF\"\n      },\n      {\n        \"externalId\": \"EXT123456784C3IF\"\n      },\n      {\n        \"externalId\": \"EXT123456784C4IF\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.858Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":120}}795{"id":"doc-unassign_a_client_role-fb7e7fc0","source":"documentation","title":"Unassign a client role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentclient/other/deleterolefromclient","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.858Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}796{"id":"doc-upload_the_group_memberships_to_be_deleted_in_ok-551eb868","source":"documentation","title":"Upload the group memberships to be deleted in Okta","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/uploadidentitysourcegroupmembershipsfordelete","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/bulk-group-memberships-delete \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"memberships\": [\n      {\n        \"groupExternalId\": \"GROUPEXT123456784C2IFA\",\n        \"memberExternalIds\": [\n          \"USEREXT123456784C2IFA\",\n          \"USEREXT123456784C3IFB\",\n          \"USEREXT123456784C4IFC\"\n        ]\n      },\n      {\n        \"groupExternalId\": \"GROUPEXT123456784C2IFB\",\n        \"memberExternalIds\": [\n          \"USEREXT123456784C2IFA\",\n          \"USEREXT123456784C3IFB\",\n          \"USEREXT123456784C4IFC\"\n        ]\n      }\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.858Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":183}}797{"id":"doc-unlink_a_user_from_idp-aa7fcb52","source":"documentation","title":"Unlink a user from IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderusers/other/unlinkuserfromidentityprovider","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/users/00ub0oNGTSWTBKOLGLNR\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.858Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}798{"id":"doc-retrieve_a_user_for_idp-e9129b8b","source":"documentation","title":"Retrieve a user for IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderusers/other/getidentityproviderapplicationuser","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/users/00ub0oNGTSWTBKOLGLNR\n```\n\nExample:\n```text\n{\n  \"lastName\": \"Jackson\",\n  \"subjectNameQualifier\": \"example.com\",\n  \"subjectSpNameQualifier\": \"urn:federation:example\",\n  \"authnContextClassRef\": null,\n  \"subjectNameId\": \"saml.jackson@example.com\",\n  \"subjectConfirmationAddress\": null,\n  \"displayName\": \"Saml Jackson\",\n  \"mobilePhone\": \"+1-415-555-5141\",\n  \"email\": \"saml.jackson@example.com\",\n  \"subjectNameFormat\": \"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress\",\n  \"firstName\": \"Saml\",\n  \"subjectSpProvidedId\": null,\n  \"subjectConfirmationMethod\": null\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"00u5t60iloOHN9pBi0h7\",\n  \"externalId\": \"externalId\",\n  \"created\": \"2017-12-19T17:30:16.000Z\",\n  \"lastUpdated\": \"2017-12-19T17:30:16.000Z\",\n  \"profile\": {\n    \"profileUrl\": null,\n    \"firstName\": null,\n    \"lastName\": null,\n    \"honorificSuffix\": null,\n    \"displayName\": null,\n    \"honorificPrefix\": null,\n    \"middleName\": null,\n    \"email\": null\n  },\n  \"_links\": {\n    \"idp\": { … },\n    \"self\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.858Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":51,"estimatedTokens":286}}799{"id":"doc-create_an_identity_source_user-770f6293","source":"documentation","title":"Create an identity source user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/createidentitysourceuser","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/users \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"externalId\": \"EXT987654321Z9Y7X\",\n    \"profile\": {\n      \"userName\": \"emily.jones@example.com\",\n      \"firstName\": \"Emily\",\n      \"lastName\": \"Jones\",\n      \"email\": \"emily.jones@example.com\",\n      \"secondEmail\": \"emily.secondary@example.com\",\n      \"mobilePhone\": \"987-654-3210\",\n      \"homeAddress\": \"10800 NE 8th St #600, Bellevue, WA 98004\"\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.859Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":145}}800{"id":"doc-list_all_tokens_from_oidc_idp-6900dfff","source":"documentation","title":"List all tokens from OIDC IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderusers/other/listsocialauthtokens","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/users/00ub0oNGTSWTBKOLGLNR/credentials/tokens\n```\n\nExample:\n```text\n[\n  \"openid\",\n  \"foo\"\n]\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"<unique token identifier>\",\n    \"token\": \"JBTWGV22G4ZGKV3N\",\n    \"tokenType\": \"urn:ietf:params:oauth:token-type:access_token\",\n    \"tokenAuthScheme\": \"Bearer\",\n    \"expiresAt\": \"2014-08-06T16:56:31.000Z\",\n    \"scopes\": [ … ]\n  },\n  {\n    \"id\": \"<unique token identifier>\",\n    \"token\": \"JBTWGV22G4ZJBRXJ\",\n    \"tokenType\": \"urn:ietf:params:oauth:token-type:id_token\",\n    \"tokenAuthScheme\": null\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.859Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":35,"estimatedTokens":162}}801{"id":"doc-replace_an_existing_identity_source_user-87ae1d06","source":"documentation","title":"Replace an existing identity source user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/replaceexistingidentitysourceuser","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/users/00u7m9p9ZT8k2S2EX1f7 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"profile\": {\n      \"firstName\": \"Emily\",\n      \"lastName\": \"Brock\",\n      \"email\": \"brockly@email.com\",\n      \"userName\": \"brockly@email.com\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"profile\": {\n    \"firstName\": \"Emily\",\n    \"lastName\": \"Brock\",\n    \"email\": \"brockly@email.com\",\n    \"userName\": \"brockly@email.com\",\n    \"secondEmail\": null,\n    \"mobilePhone\": null,\n    \"homeAddress\": null\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.859Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":150}}802{"id":"doc-retrieve_an_identity_source_user-cf72a59f","source":"documentation","title":"Retrieve an identity source user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/getidentitysourceuser","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/users/00u7m9p9ZT8k2S2EX1f7\n```\n\nExample:\n```text\n{\n  \"id\": \"00u7m9p9ZT8k2S2EX1f7\",\n  \"externalId\": \"EXT987654321Z9Y7X\",\n  \"created\": \"2025-07-24T12:06:05.000Z\",\n  \"lastUpdated\": \"2025-08-05T16:15:44.000Z\",\n  \"profile\": {\n    \"userName\": \"emily.jones@example.com\",\n    \"firstName\": \"Emily\",\n    \"lastName\": \"Jones\",\n    \"email\": \"emily.jones@example.com\",\n    \"secondEmail\": \"emily.secondary@example.com\",\n    \"mobilePhone\": \"987-654-3210\",\n    \"homeAddress\": \"10800 NE 8th St #600, Bellevue, WA 98004\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.859Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":159}}803{"id":"doc-list_all_idps_for_user-155c457d","source":"documentation","title":"List all IdPs for user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderusers/other/listuseridentityproviders","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/{id}/idps'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0oa62b57p7c8PaGpU0h7\",\n    \"type\": \"FACEBOOK\",\n    \"name\": \"Facebook\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2016-03-24T23:18:27.000Z\",\n    \"lastUpdated\": \"2016-03-24T23:18:27.000Z\",\n    \"protocol\": { … },\n    \"policy\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"0oa62bc8wppPw0UGr0h7\",\n    \"type\": \"SAML2\",\n    \"name\": \"Example SAML IdP\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2016-03-24T23:14:54.000Z\",\n    \"lastUpdated\": \"2016-03-24T23:14:54.000Z\",\n    \"protocol\": { … },\n    \"policy\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"0oa62bfdiumsUndnZ0h7\",\n    \"type\": \"GOOGLE\",\n    \"name\": \"Google\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2016-03-24T23:21:49.000Z\",\n    \"lastUpdated\": \"2016-03-24T23:21:49.000Z\",\n    \"protocol\": { … },\n    \"policy\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"0oa62bfdjnK55Z5x80h7\",\n    \"type\": \"LINKEDIN\",\n    \"name\": \"LinkedIn\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2016-03-24T23:23:59.000Z\",\n    \"lastUpdated\": \"2016-03-24T23:23:59.000Z\",\n    \"protocol\": { … },\n    \"policy\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"0oajmvdFawBih4gey0g3\",\n    \"type\": \"MICROSOFT\",\n    \"name\": \"Microsoft\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2016-03-29T16:47:36.000Z\",\n    \"lastUpdated\": \"2016-03-29T16:47:36.000Z\",\n    \"protocol\": { … },\n    \"policy\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"0oaulob4BFVa4zQvt0g3\",\n    \"type\": \"OIDC\",\n    \"name\": \"Example OpenID Connect IdP\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2019-02-07T20:07:47.000Z\",\n    \"lastUpdated\": \"2019-02-07T20:07:47.000Z\",\n    \"protocol\": { … },\n    \"policy\": { … },\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"0oa6jxasyhwM2ZHJh0g4\",\n    \"type\": \"X509\",\n    \"name\": \"Smart Card IDP Name\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2020-01-07T00:19:27.000Z\",\n    \"lastUpdated\": \"2020-01-07T00:19:27.000Z\",\n    \"properties\": { … },\n    \"protocol\": { … },\n    \"policy\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.859Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":91,"estimatedTokens":516}}804{"id":"doc-delete_an_identity_source_user-8d0763e4","source":"documentation","title":"Delete an identity source user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/deleteidentitysourceuser","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/users/00u7m9p9ZT8k2S2EX1f7\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.860Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}805{"id":"doc-start_the_import_from_the_identity_source-9caf58e0","source":"documentation","title":"Start the import from the identity source","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/startimportfromidentitysource","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/start-import\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"aps1qqonvr2SZv6o70h8\",\n    \"identitySourceId\": \"0oa3l6l6WK6h0R0QW0g4\",\n    \"status\": \"TRIGGERED\",\n    \"importType\": \"INCREMENTAL\",\n    \"created\": \"2022-04-04T15:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T18:15:44.000Z\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.860Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":109}}806{"id":"doc-update_an_identity_source_user-32fbb894","source":"documentation","title":"Update an identity source user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/updateidentitysourceusers","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/users/00u7m9p9ZT8k2S2EX1f7 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"profile\": {\n      \"firstName\": \"Emily\",\n      \"lastName\": \"Brock\",\n      \"email\": \"emily.brock@update.com\",\n      \"userName\": \"emily.brock@update.com\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"profile\": {\n    \"firstName\": \"Emily\",\n    \"lastName\": \"Brock\",\n    \"email\": \"emily.brock@update.com\",\n    \"userName\": \"emily.brock@update.com\",\n    \"secondEmail\": \"emily.secondary@example.com\",\n    \"mobilePhone\": \"987-654-3210\",\n    \"homeAddress\": \"10800 NE 8th St #600, Bellevue, WA 98004\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.860Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":174}}807{"id":"doc-link_a_user_to_idp-860b009a","source":"documentation","title":"Link a user to IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderusers/other/linkusertoidentityprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/users/00ub0oNGTSWTBKOLGLNR \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"externalId\": \"121749775026145\"\n  }'\n```\n\nExample:\n```text\n{\n  \"lastName\": \"Jackson\",\n  \"subjectNameQualifier\": \"example.com\",\n  \"subjectSpNameQualifier\": \"urn:federation:example\",\n  \"authnContextClassRef\": null,\n  \"subjectNameId\": \"saml.jackson@example.com\",\n  \"subjectConfirmationAddress\": null,\n  \"displayName\": \"Saml Jackson\",\n  \"mobilePhone\": \"+1-415-555-5141\",\n  \"email\": \"saml.jackson@example.com\",\n  \"subjectNameFormat\": \"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress\",\n  \"firstName\": \"Saml\",\n  \"subjectSpProvidedId\": null,\n  \"subjectConfirmationMethod\": null\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"externalId\": \"121749775026145\",\n  \"created\": \"2017-03-30T02:19:51.000Z\",\n  \"lastUpdated\": \"2017-03-30T02:19:51.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"idp\": { … },\n    \"user\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.860Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":45,"estimatedTokens":257}}808{"id":"doc-unassign_a_group_role-8ef12a53","source":"documentation","title":"Unassign a group role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentbgroup/other/unassignrolefromgroup","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.861Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}809{"id":"doc-retrieve_a_group_role_assignment-3cb9c089","source":"documentation","title":"Retrieve a group role assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentbgroup/other/getgroupassignedrole","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO\n```\n\nExample:\n```text\n{\n  \"id\": \"grasraHPx7i79ajaJ0g3\",\n  \"label\": \"Organization Administrator\",\n  \"type\": \"ORG_ADMIN\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2019-02-27T14:56:55.000Z\",\n  \"lastUpdated\": \"2019-02-27T14:56:55.000Z\",\n  \"assignmentType\": \"GROUP\",\n  \"_links\": {\n    \"assignee\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.861Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":112}}810{"id":"doc-list_all_group_role_assignments-254d78bb","source":"documentation","title":"List all group role assignments","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentbgroup/other/listgroupassignedroles","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles?expand=targets%2Fgroups'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"IFIFAX2BIRGUSTQ\",\n    \"label\": \"Application Administrator\",\n    \"type\": \"APP_ADMIN\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2019-02-06T16:17:40.000Z\",\n    \"lastUpdated\": \"2019-02-06T16:17:40.000Z\",\n    \"assignmentType\": \"GROUP\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.861Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":111}}811{"id":"doc-delete_a_custom_role-9fb35210","source":"documentation","title":"Delete a custom role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustom/other/deleterole","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/iam/roles/cr0Yq6IJxGIr0ouum0g3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.861Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}812{"id":"doc-assign_a_role_to_a_group-7073cd7b","source":"documentation","title":"Assign a role to a group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentbgroup/other/assignroletogroup","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles?disableNotifications=false' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"API_ACCESS_MANAGEMENT_ADMIN\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"grasraHPx7i79ajaJ0g3\",\n  \"label\": \"Organization Administrator\",\n  \"type\": \"ORG_ADMIN\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2019-02-27T14:56:55.000Z\",\n  \"lastUpdated\": \"2019-02-27T14:56:55.000Z\",\n  \"assignmentType\": \"GROUP\",\n  \"_links\": {\n    \"assignee\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.862Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":137}}813{"id":"doc-retrieve_a_role_resource_set_binding-034c97a2","source":"documentation","title":"Retrieve a role resource set binding","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roledresourcesetbinding/other/getbinding","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/bindings/cr0Yq6IJxGIr0ouum0g3\n```\n\nExample:\n```text\n{\n  \"id\": \"cr0Yq6IJxGIr0ouum0g3\",\n  \"_links\": {\n    \"self\": { … },\n    \"members\": { … },\n    \"resource-set\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.862Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":75}}814{"id":"doc-replace_a_custom_role-ba71d13e","source":"documentation","title":"Replace a custom role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustom/other/replacerole","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/iam/roles/cr0Yq6IJxGIr0ouum0g3 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"label\": \"UserCreator\",\n    \"description\": \"Create users\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"cr0Yq6IJxGIr0ouum0g3\",\n  \"label\": \"UserCreator\",\n  \"description\": \"Create users\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"permissions\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.862Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":125}}815{"id":"doc-delete_a_role_resource_set_binding-9baa3b4f","source":"documentation","title":"Delete a role resource set binding","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roledresourcesetbinding/other/deletebinding","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/bindings/cr0Yq6IJxGIr0ouum0g3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.862Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":49}}816{"id":"doc-retrieve_a_client_role-3b3bf1de","source":"documentation","title":"Retrieve a client role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentclient/other/retrieveclientrole","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO\n```\n\nExample:\n```text\n{\n  \"id\": \"JBCUYUC7IRCVGS27IFCE2SKO\",\n  \"label\": \"Help Desk Administrator\",\n  \"type\": \"HELP_DESK_ADMIN\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-05-01T14:24:54.000Z\",\n  \"lastUpdated\": \"2023-05-01T14:24:54.000Z\",\n  \"assignmentType\": \"CLIENT\",\n  \"_links\": {\n    \"assignee\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.862Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":117}}817{"id":"doc-upload_the_group_external_ids_to_be_deleted_in_o-403f399c","source":"documentation","title":"Upload the group external IDs to be deleted in Okta","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/uploadidentitysourcegroupsdatafordelete","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/bulk-groups-delete \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"externalIds\": [\n      \"GROUPEXT123456784C2IF\",\n      \"GROUPEXT123456784C3IF\",\n      \"GROUPEXT123456784C4IF\"\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.865Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":96}}818{"id":"doc-list_all_certificate_signing_requests-dd6c07db","source":"documentation","title":"List all certificate signing requests","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/listcsrsforidentityprovider","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/csrs\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"h9zkutaSe7fZX0SwN1GqDApofgD1OW8g2B5l2azha50\",\n    \"created\": \"2017-03-28T01:11:10.000Z\",\n    \"csr\": \"MIIC4DCCAcgCAQAwcTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xEzARBgNVBAoMCk9rdGEsIEluYy4xDDAKBgNVBAsMA0RldjESMBAGA1UEAwwJU1AgSXNzdWVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6m8jHVCr9/tKvvbFN59T4raoCs/78KRm4fSefHQOv1TKLXo4wTLbsqYWRWc5u0sd5orUMQgPQOyj3i6qh13mALY4BzrT057EG1BUNjGg29QgYlnOk2iX890e5BIDMQQEIKFrvOi2V8cLUkLvE2ydRn0VO1Q1frbUkYeStJYC5Api2JQsYRwa+1ZeDH1ITnIzUaugWhW2WB2lSnwZkenne5KtffxMPYVu+IhNRHoKaRA6Z51YNhMJIx17JM2hs/H4Ka3drk6kzDf7ofk/yBpb9yBWyU7CTSQhdoHidxqFprMDaT66W928t3AeOENHBuwn8c2K9WeGG+bELNyQRJVmawIDAQABoCowKAYJKoZIhvcNAQkOMRswGTAXBgNVHREEEDAOggxkZXYub2t0YS5jb20wDQYJKoZIhvcNAQELBQADggEBAA2hsVJRVM+A83X9MekjTnIbt19UNT8wX7wlE9jUKirWsxceLiZBpVGn9qfKhhVIpvdaIRSeoFYS2Kg/m1G6bCvjmZLcrQ5FcEBjZH2NKfNppGVnfC2ugtUkBtCB+UUzOhKhRKJtGugenKbP33zRWWIqnd2waF6Cy8TIuqQVPbwEDN9bCbAs7ND6CFYNguY7KYjWzQOeAR716eqpEEXuPYAS4nx/ty4ylonR8cv+gpq51rvq80A4k/36aoeM0Y6I4w64vhTfuvWW2UYFUD+/+y2FA2CSP4JfctySrf1s525v6fzTFZ3qZbB5OZQtP2b8xYWktMzywsxGKDoVDB4wkH4=\",\n    \"kty\": \"RSA\",\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"-_-BFwAGoUYN-DDvsSKQFdx7OXaPZqrEPpFDO1hu-rg\",\n    \"created\": \"2017-03-28T01:21:10.000Z\",\n    \"csr\": \"MIIC4DCCAcgCAQAwcTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xEzARBgNVBAoMCk9rdGEsIEluYy4xDDAKBgNVBAsMA0RldjESMBAGA1UEAwwJU1AgSXNzdWVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6m8jHVCr9/tKvvbFN59T4raoCs/78KRm4fSefHQOv1TKLXo4wTLbsqYWRWc5u0sd5orUMQgPQOyj3i6qh13mALY4BzrT057EG1BUNjGg29QgYlnOk2iX890e5BIDMQQEIKFrvOi2V8cLUkLvE2ydRn0VO1Q1frbUkYeStJYC5Api2JQsYRwa+1ZeDH1ITnIzUaugWhW2WB2lSnwZkenne5KtffxMPYVu+IhNRHoKaRA6Z51YNhMJIx17JM2hs/H4Ka3drk6kzDf7ofk/yBpb9yBWyU7CTSQhdoHidxqFprMDaT66W928t3AeOENHBuwn8c2K9WeGG+bELNyQRJVmawIDAQABoCowKAYJKoZIhvcNAQkOMRswGTAXBgNVHREEEDAOggxkZXYub2t0YS5jb20wDQYJKoZIhvcNAQELBQADggEBAA2hsVJRVM+A83X9MekjTnIbt19UNT8wX7wlE9jUKirWsxceLiZBpVGn9qfKhhVIpvdaIRSeoFYS2Kg/m1G6bCvjmZLcrQ5FcEBjZH2NKfNppGVnfC2ugtUkBtCB+UUzOhKhRKJtGugenKbP33zRWWIqnd2waF6Cy8TIuqQVPbwEDN9bCbAs7ND6CFYNguY7KYjWzQOeAR716eqpEEXuPYAS4nx/ty4ylonR8cv+gpq51rvq80A4k/36aoeM0Y6I4w64vhTfuvWW2UYFUD+/+y2FA2CSP4JfctySrf1s525v6fzTFZ3qZbB5OZQtP2b8xYWktMzywsxGKDoVDB4wkH4=\",\n    \"kty\": \"RSA\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":614}}819{"id":"doc-create_an_oauth_2_0_client_secret-0fdafc93","source":"documentation","title":"Create an OAuth 2.0 client secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/createoauth2clientsecret","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/secrets \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'\n```\n\nExample:\n```text\n{\n  \"id\": \"ocs2f50kZB0cITmYU0g4\",\n  \"status\": \"ACTIVE\",\n  \"client_secret\": \"DRUFXGF9XbLn......a3x3POBiIxDreBCdZuFs5B\",\n  \"secret_hash\": \"FpCwXwSjTRQNtEI11I00-g\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":125}}820{"id":"doc-retrieve_the_org_metadata-918d9ebc","source":"documentation","title":"Retrieve the Org metadata","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/orgsettingmetadata/other/getwellknownorgmetadata","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/.well-known/okta-organization\n```\n\nExample:\n```text\n{\n  \"id\": \"00o47wwoytgsDqEtz0g7\",\n  \"_links\": {\n    \"organization\": { … },\n    \"alternate\": { … }\n  },\n  \"pipeline\": \"idx\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":65}}821{"id":"doc-delete_an_api_service_integration_instance-ea05cbe8","source":"documentation","title":"Delete an API service integration instance","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/apiserviceintegrations/other/deleteapiserviceintegrationinstance","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/integrations/api/v1/api-services/000lr2rLjZ6NsGn1P0g3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":43}}822{"id":"doc-activate_an_oauth_2_0_client_secret-930410c0","source":"documentation","title":"Activate an OAuth 2.0 client secret","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/applicationssopublickeys/other/activateoauth2clientsecret","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/credentials/secrets/ocs2f4zrZbs8nUa7p0g4/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"ocs2f50kZB0cITmYU0g4\",\n  \"status\": \"ACTIVE\",\n  \"client_secret\": \"DRUFXGF9XbLn......a3x3POBiIxDreBCdZuFs5B\",\n  \"secret_hash\": \"0WOOvBSzV9clc4Nr7Rbaug\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":122}}823{"id":"doc-delete_a_device-607be8b8","source":"documentation","title":"Delete a device","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/deletedevice","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":38}}824{"id":"doc-suspend_a_device-bdacdd0d","source":"documentation","title":"Suspend a Device","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/suspenddevice","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/lifecycle/suspend\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.867Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}825{"id":"doc-create_an_idp_key_credential-51375d44","source":"documentation","title":"Create an IdP key credential","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderkeys/other/createidentityproviderkey","text":"Example:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/idps/credentials/keys \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"x5c\": [\n      \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"kid\": \"your-key-id\",\n  \"created\": \"2016-01-03T18:15:47.000Z\",\n  \"lastUpdated\": \"2016-01-03T18:15:47.000Z\",\n  \"e\": \"65537\",\n  \"n\": \"101438407598598116085679865987760095721749307901605456708912786847324207000576780508113360584555007890315805735307890113536927352312915634368993759211767770602174860126854831344273970871509573365292777620005537635317282520456901584213746937262823585533063042033441296629204165064680610660631365266976782082747\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5c\": [\n    \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5…\" Show more\n  ],\n  \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.867Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":37,"estimatedTokens":1076}}826{"id":"doc-list_all_enrollment_authenticators_for_a_device-782d64b5","source":"documentation","title":"List all enrollment authenticators for a device","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/listdeviceenrollmentauthenticators","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/authenticator-enrollments\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"pfd2abc4XyzBNkjh10g6\",\n    \"type\": \"app\",\n    \"key\": \"okta_verify\",\n    \"name\": \"Okta Verify\",\n    \"status\": \"ACTIVE\",\n    \"profile\": { … },\n    \"created\": \"2026-04-10T10:15:00.000Z\",\n    \"lastUpdated\": \"2026-04-10T10:15:00.000Z\",\n    \"nickname\": \"\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.867Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":115}}827{"id":"doc-list_all_os_accounts_for_a_device-98860595","source":"documentation","title":"List all OS accounts for a device","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/listdeviceosaccounts","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/os-accounts?expand=users%2Caccount_linked_enrollments'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"dao3qgkIEKjhNZudR0g4\",\n    \"deviceId\": \"guo4a5u7JHHhjXrMK0g4\",\n    \"created\": \"2026-01-19T17:22:30.000Z\",\n    \"lastUpdated\": \"2026-01-19T17:22:30.000Z\",\n    \"platform\": \"WINDOWS\",\n    \"profile\": { … },\n    \"status\": \"ACTIVE\",\n    \"lastSeenAt\": \"2026-04-09T17:22:56.000Z\",\n    \"resourceAlternateId\": null,\n    \"resourceDisplayName\": { … },\n    \"resourceId\": \"dao3qgkIEKjhNZudR0g4\",\n    \"resourceType\": \"DOSAccount\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.867Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":169}}828{"id":"doc-activate_a_device-e1cd9b19","source":"documentation","title":"Activate a device","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/activatedevice","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.867Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":43}}829{"id":"doc-retrieve_an_os_account-6c598a5d","source":"documentation","title":"Retrieve an OS account","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/getdeviceosaccount","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/os-accounts/dao3qgkIEKjhNZudR0g4?expand=users%2Caccount_linked_enrollments'\n```\n\nExample:\n```text\n{\n  \"id\": \"dao3qgkIEKjhNZudR0g4\",\n  \"deviceId\": \"guo4a5u7JHHhjXrMK0g4\",\n  \"created\": \"2026-01-19T17:22:30.000Z\",\n  \"lastUpdated\": \"2026-01-19T17:22:30.000Z\",\n  \"platform\": \"WINDOWS\",\n  \"profile\": {\n    \"type\": \"WINDOWS\",\n    \"securityId\": \"S-1-5-21-1004336348-1177238915-682003330-512\",\n    \"GUID\": \"4ac29c85-d847-4492-96cb-46e337170c33\",\n    \"directoryJoinStatus\": \"AD\",\n    \"fullName\": \"Carmel Sonne\",\n    \"downLevelUsername\": \"okta\\\\carmel.sonne\",\n    \"upn\": \"carmel.sonne@okta.com\",\n    \"qualifiedUsername\": \"okta\\\\carmel.sonne\"\n  },\n  \"status\": \"ACTIVE\",\n  \"lastSeenAt\": \"2026-04-09T17:22:56.000Z\",\n  \"resourceAlternateId\": null,\n  \"resourceDisplayName\": {\n    \"value\": \"Carmel Sonne\",\n    \"sensitive\": false\n  },\n  \"resourceId\": \"dao3qgkIEKjhNZudR0g4\",\n  \"resourceType\": \"DOSAccount\",\n  \"_embedded\": {\n    \"users\": [ … ],\n    \"accountLinkedEnrollments\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"device\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.867Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":45,"estimatedTokens":287}}830{"id":"doc-unsuspend_a_device-e0fc2639","source":"documentation","title":"Unsuspend a Device","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/device/other/unsuspenddevice","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/lifecycle/unsuspend\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.867Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":43}}831{"id":"doc-delete_an_idp_key_credential-02d4d5bb","source":"documentation","title":"Delete an IdP key credential","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderkeys/other/deleteidentityproviderkey","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/idps/credentials/keys/KmMo85SSsU7TZzOShcGb\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}832{"id":"doc-list_all_idp_key_credentials-81621a9b","source":"documentation","title":"List all IdP key credentials","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderkeys/other/listidentityproviderkeys","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/idps/credentials/keys?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\n[\n  {\n    \"kid\": \"your-key-id\",\n    \"created\": \"2016-01-03T18:15:47.000Z\",\n    \"lastUpdated\": \"2016-01-03T18:15:47.000Z\",\n    \"e\": \"65537\",\n    \"n\": \"101438407598598116085679865987760095721749307901605456708912786847324207000576780508113360584555007890315805735307890113536927352312915634368993759211767770602174860126854831344273970871509573365292777620005537635317282520456901584213746937262823585533063042033441296629204165064680610660631365266976782082747\",\n    \"kty\": \"RSA\",\n    \"use\": \"sig\",\n    \"x5c\": [ … ],\n    \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n  },\n  {\n    \"kty\": \"EC\",\n    \"created\": \"2020-04-24T20:51:20.000Z\",\n    \"lastUpdated\": \"2020-04-24T20:51:20.000Z\",\n    \"expiresAt\": \"2040-03-01T20:22:29.000Z\",\n    \"alg\": \"EC\",\n    \"x5c\": [ … ],\n    \"x\": \"Vv5Rh5de5ig7Qg-A-4HDGGDloMlkxp6PDE3nwzgAQPD3XXrLE7G364LhePRpYupQs62WgCoYb4CDXN0erf3WJXg\",\n    \"y\": \"ATeVjosChw6gt73EOR6CBc1xK4_l8NzXHlH0YdNeXji8ugk4tIuwxs5dUxcheips8PNNJhTLbhoV2_hbgtnFbpqT\",\n    \"crv\": \"P-521\",\n    \"kid\": \"your-kid\",\n    \"use\": \"sig\",\n    \"x5t#S256\": \"TUx-AIwypm2pZURHNqafk7ZDxqQP_ypzIyUwDDnPOlw\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":45,"estimatedTokens":633}}833{"id":"doc-list_all_signing_key_credentials_for_idp-4dd59b05","source":"documentation","title":"List all signing key credentials for IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/listidentityprovidersigningkeys","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/keys\n```\n\nExample:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2015-12-10T18:56:23.000Z\",\n    \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n    \"x5c\": [ … ],\n    \"kid\": \"akm5hvbbevE341ovl0h7\",\n    \"kty\": \"RSA\",\n    \"use\": \"sig\",\n    \"x5t#S256\": \"5GOpy9CQVtfvBmu2T8BHvpKE4OGtC3BuS046t7p9pps\"\n  },\n  {\n    \"created\": \"2015-12-10T18:55:35.000Z\",\n    \"expiresAt\": \"2045-01-23T02:15:23.000Z\",\n    \"x5c\": [ … ],\n    \"kid\": \"akm5hvbn1vojA9Fsa0h7\",\n    \"kty\": \"RSA\",\n    \"use\": \"sig\",\n    \"x5t#S256\": \"7CCyXWwKzH4P6PoBP91B1S_iIZVzuGffVnUXu-BTYQQ\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":38,"estimatedTokens":481}}834{"id":"doc-revoke_a_certificate_signing_request-97e4ce85","source":"documentation","title":"Revoke a certificate signing request","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/revokecsrforidentityprovider","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/csrs/1uEhyE65oV3H6KM9gYcN\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}835{"id":"doc-retrieve_an_idp_key_credential-541b417d","source":"documentation","title":"Retrieve an IdP key credential","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderkeys/other/getidentityproviderkey","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/credentials/keys/KmMo85SSsU7TZzOShcGb\n```\n\nExample:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\n{\n  \"kid\": \"your-key-id\",\n  \"created\": \"2016-01-03T18:15:47.000Z\",\n  \"lastUpdated\": \"2016-01-03T18:15:47.000Z\",\n  \"e\": \"65537\",\n  \"n\": \"101438407598598116085679865987760095721749307901605456708912786847324207000576780508113360584555007890315805735307890113536927352312915634368993759211767770602174860126854831344273970871509573365292777620005537635317282520456901584213746937262823585533063042033441296629204165064680610660631365266976782082747\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5c\": [\n    \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5…\" Show more\n  ],\n  \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":31,"estimatedTokens":750}}836{"id":"doc-replace_an_idp_key_credential-794a75b6","source":"documentation","title":"Replace an IdP key credential","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityproviderkeys/other/replaceidentityproviderkey","text":"Example:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/idps/credentials/keys/KmMo85SSsU7TZzOShcGb \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"e\": \"65537\",\n    \"n\": \"101438407598598116085679865987760095721749307901605456708912786847324207000576780508113360584555007890315805735307890113536927352312915634368993759211767770602174860126854831344273970871509573365292777620005537635317282520456901584213746937262823585533063042033441296629204165064680610660631365266976782082747\",\n    \"x5c\": [\n      \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n    ],\n    \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"kid\": \"your-key-id\",\n  \"created\": \"2016-01-03T18:15:47.000Z\",\n  \"lastUpdated\": \"2016-01-03T18:15:47.000Z\",\n  \"e\": \"65537\",\n  \"n\": \"101438407598598116085679865987760095721749307901605456708912786847324207000576780508113360584555007890315805735307890113536927352312915634368993759211767770602174860126854831344273970871509573365292777620005537635317282520456901584213746937262823585533063042033441296629204165064680610660631365266976782082747\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5c\": [\n    \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5…\" Show more\n  ],\n  \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":40,"estimatedTokens":1182}}837{"id":"doc-retrieve_a_signing_key_credential_for_idp-ff3d221f","source":"documentation","title":"Retrieve a signing key credential for IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/getidentityprovidersigningkey","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/keys/KmMo85SSsU7TZzOShcGb\n```\n\nExample:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\n{\n  \"created\": \"2015-12-10T18:56:23.000Z\",\n  \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n  \"kid\": \"akm5hvbbevE341ovl0h7\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5c\": [\n    \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5…\" Show more\n  ],\n  \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":29,"estimatedTokens":673}}838{"id":"doc-list_the_active_signing_key_credential_for_idp-0adf0a4d","source":"documentation","title":"List the active signing key credential for IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/listactiveidentityprovidersigningkey","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/keys/active\n```\n\nExample:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\n[\n  {\n    \"kty\": \"RSA\",\n    \"created\": \"2025-04-14T16:29:59.000Z\",\n    \"lastUpdated\": \"2025-04-14T16:29:59.000Z\",\n    \"expiresAt\": \"2035-04-14T16:29:59.000Z\",\n    \"kid\": \"your-key-id\",\n    \"use\": \"sig\",\n    \"x5c\": [ … ],\n    \"x5t#S256\": \"pX0kpGWPotMaEqqtIoOH9L-sFBa-htNFu0MZiJz1Hi4\",\n    \"e\": \"AQAB\",\n    \"n\": \"wdmW7pNqxzmlrsWbHq6rQJDiMu4T344AKEzQ1jGffyCLCU-HKk5WqIVtQ4EJ5FU3Rk6kNeoTdkQbxn7t2QFj37ScHZkxXDbNEhFbZpvGh7-rYBG7TCnk8jO9ct_bpT-PCLCgC9L_67H2eCXXN-_gFVZAx7KEibb4NgUET2p34b5scGI2LwEefS-z8UBGlNkg9+SmI9PvjMXplFKazb6qlb27fp0PSfC4S5g8kOCqEGC9oNOCBHO5jyzlzcFq04AIaAX9N1X13UULrj-262O1-RCnQNTadbdrO6FXwfQ6lsLmvWCFBVzLTqxYxCGNY85lhAH1zjoEvXnInKYgnvmcuw\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":32,"estimatedTokens":523}}839{"id":"doc-create_an_identity_source_group-515e2551","source":"documentation","title":"Create an identity source group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/createidentitysourcegroups","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/groups \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"externalId\": \"GROUPEXT123456784C2IF\",\n    \"profile\": {\n      \"displayName\": \"West Coast users\",\n      \"description\": \"All users West of The Rockies\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00gsl4xM9ys8TdnbZ0g4\",\n  \"externalId\": \"GROUPEXT123456784C2IF\",\n  \"profile\": {\n    \"displayName\": \"West Coast users\",\n    \"description\": \"All users West of The Rockies\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":139}}840{"id":"doc-retrieve_a_certificate_signing_request-7e52e4fb","source":"documentation","title":"Retrieve a certificate signing request","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/getcsrforidentityprovider","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/csrs/1uEhyE65oV3H6KM9gYcN\n```\n\nExample:\n```text\n{\n  \"id\": \"h9zkutaSe7fZX0SwN1GqDApofgD1OW8g2B5l2azha50\",\n  \"created\": \"2017-03-28T01:11:10.000Z\",\n  \"csr\": \"MIIC4DCCAcgCAQAwcTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xEzARBgNVBAoMCk9rdGEsIEluYy4xDDAKBgNVBAsMA0RldjESMBAGA1UEAwwJU1AgSXNzdWVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6m8jHVCr9/tKvvbFN59T4raoCs/78KRm4fSefHQOv1TKLXo4wTLbsqYWRWc5u0sd5orUMQgPQOyj3i6qh13mALY4BzrT057EG1BUNjGg29QgYlnOk2iX890e5BIDMQQEIKFrvOi2V8cLUkLvE2ydRn0VO1Q1frbUkYeStJYC5Api2JQsYRwa+1ZeDH1ITnIzUaugWhW2WB2lSnwZkenne5KtffxMPYVu+IhNRHoKaRA6Z51YNhMJIx17JM2hs/H4Ka3drk6kzDf7ofk/yBpb9yBWyU7CTSQhdoHidxqFprMDaT66W928t3AeOENHBuwn8c2K9WeGG+bELNyQRJVmawIDAQABoCowKAYJKoZIhvcNAQkOMRswGTAXBgNVHREEEDAOggxkZXYub2t0YS5jb20wDQYJKoZIhvcNAQELBQADggEBAA2hsVJRVM+A83X9MekjTnIbt19UNT8wX7wlE9jUKirWsxceLiZBpVGn9qfKhhVIpvdaIRSeoFYS2Kg/m1G6bCvjmZLcrQ5FcEBjZH2NKfNppGVnfC2ugtUkBtCB+UUzOhKhRKJtGugenKbP33zRWWIqnd2waF6Cy8TIuqQVPbwEDN9bCbAs7ND6CFYNguY7KYjWzQOeAR716eqpEEXuPYAS4nx/ty4ylonR8cv+gpq51rvq80A4k/36aoeM0Y6I4w64vhTfuvWW2UYFUD+/+y2FA2CSP4JfctySrf1s525v6fzTFZ3qZbB5OZQtP2b8xYWktMzywsxGKDoVDB4wkH4=\",\n  \"kty\": \"RSA\",\n  \"_links\": {\n    \"self\": { … },\n    \"publish\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":337}}841{"id":"doc-clone_a_signing_key_credential_for_idp-ea2c0919","source":"documentation","title":"Clone a signing key credential for IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/cloneidentityproviderkey","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/keys/KmMo85SSsU7TZzOShcGb/clone?targetIdpId=string'\n```\n\nExample:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\n{\n  \"created\": \"2015-12-10T18:56:23.000Z\",\n  \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n  \"kid\": \"akm5hvbbevE341ovl0h7\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5c\": [\n    \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5…\" Show more\n  ],\n  \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":29,"estimatedTokens":680}}842{"id":"doc-delete_the_memberships_for_the_specified_identit-0000674a","source":"documentation","title":"Delete the memberships for the specified identity source group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/deleteidentitysourcegroupmemberships","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/groups/00gsl4xM9ys8TdnbZ0g4 or GROUPEXT123456784C2IF/membership/USEREXT123456784C2IFA'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":63}}843{"id":"doc-publish_a_certificate_signing_request-e5d2b58f","source":"documentation","title":"Publish a certificate signing request","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/publishcsrforidentityprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/csrs/1uEhyE65oV3H6KM9gYcN/lifecycle/publish \\\n  -H 'Content-Type: application/pkix-cert' \\\n  -d 'MIIFgjCCA2qgAwIBAgICEAcwDQYJKoZIhvcNAQELBQAwXjELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMRYwFAYDVQQHDA1TYW4gRnJhbmNpc2NvMQ0wCwYDVQQKDARPa3RhMQwwCgYDVQQLDANFbmcxDTALBgNVBAMMBFJvb3QwHhcNMTcwMzI3MjEyMDQ3WhcNMTgwNDA2MjEyMDQ3WjB4MQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzETMBEGA1UECgwKT2t0YSwgSW5jLjEQMA4GA1UECwwHSmFua3lDbzEVMBMGA1UEAwwMSWRQIElzc3VlciA3MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmkC6yAJVvFwUlmM9gKjb2d+YK5qHFt+mXSsbjWKKs4EfNm+BoQeeovBZtSACyaqLc8IYFTPEURFcbDQ9DkAL04uUIRD2gaHYY7uK0jsluEaXGq2RAIsmzAwNTzkiDw4q9pDL/q7n0f/SDt1TsMaMQayB6bU5jWsmqcWJ8MCRJ1aJMjZ16un5UVx51IIeCbe4QRDxEXGAvYNczsBoZxspDt28esSpq5W0dBFxcyGVudyl54Er3FzAguhgfMVjH+bUec9j2Tl40qDTktrYgYfxz9pfjm01Hl4WYP1YQxeETpSL7cQ5Ihz4jGDtHUEOcZ4GfJrPzrGpUrak8Qp5xcwCqQIDAQABo4IBLjCCASowCQYDVR0TBAIwADARBglghkgBhvhCAQEEBAMCBkAwMwYJYIZIAYb4QgENBCYWJE9wZW5TU0wgR2VuZXJhdGVkIFNlcnZlciBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUVqJukDmyENw/2pTApbxc/HRKbngwgZAGA1UdIwSBiDCBhYAUFx245ZZXqWTTbARfMlFWN77L9EahYqRgMF4xCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEMMAoGA1UECwwDRW5nMQ0wCwYDVQQDDARSb290ggkAlIfpwZjO5o8wDgYDVR0PAQH/BAQDAgWgMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqGSIb3DQEBCwUAA4ICAQCcoBSRtY+9cJY00hLvq6AloYZcdn/kUQupfmyz4n3lKE3wV2FB0swKnK0QDi8iNuQJFdag/19vDHC4/LhoSuv1Q+KXM61pPZVRXXPyC1+e7Y6hj93tEI5HcqLPcDRH1AIG2l8tE7LBn+MQB5Vh6oxjG2IdoWxg6abMfISU+MauPWql4vMDUWo9iNShAo44Z5fd+nuz+hlAinU9Xn9Jf2QsfKvcbMRq7iuqgkabgdmObmWb9KK0Vm7TDkxCH0pB0onPr6epVUP8Obg/pT1Oj/1hOLbfR8CHHWdAWzUBGGvp2TIy2A8LUaEoFnwkxZfdL7Bnd0RH/ClBtAjzLOxmUo7NbZmEnYCcD5pZz7BdZI0db/eBXFqfOlA88rEe+9Sv+NndIq0/WNIIsJi2RgjJnxsxvB5MjhhzmItpFIUl5yqoO3C9jcCp6HDBJxtCGbvAr5ALPn5RCJeBIr67WpAiTd7L3Ebu9SQZlXnoHX8kP04EA6ylR3W0EFbh7KUtq8M2H2vo0wjMj7ysl/3tT7cEZ97s1ygO5iJx3GfMDyrDhtLXSBJ20uSxTJeptRw8SDiwTqunIh1WyKlcQz1WGauSbW4eXdj/r9KYMJ3qMMkdP/9THQUtTcOYx51r8RV9pdzqF2HPnZZNziBa+wXJZHEWp70NyoakNthgYwtypqiDHs2f3Q=='\n```\n\nExample:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\n{\n  \"created\": \"2016-01-03T18:15:47.000Z\",\n  \"e\": \"AQAB\",\n  \"expiresAt\": \"2016-01-03T18:15:47.000Z\",\n  \"kid\": \"your-key-id\",\n  \"kty\": \"RSA\",\n  \"lastUpdated\": \"2016-01-03T18:15:47.000Z\",\n  \"n\": \"101438407598598116085679865987760095721749307901605456708912786847324207000576780508113360584555007890315805735307890113536927352312915634368993759211767770602174860126854831344273970871509573365292777620005537635317282520456901584213746937262823585533063042033441296629204165064680610660631365266976782082747\",\n  \"use\": \"sig\",\n  \"x5c\": [\n    \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5…\" Show more\n  ],\n  \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":1256}}844{"id":"doc-generate_a_certificate_signing_request-4b9dcddb","source":"documentation","title":"Generate a certificate signing request","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/generatecsrforidentityprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/csrs \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"subject\": {\n      \"commonName\": \"SP Issuer\",\n      \"countryName\": \"US\",\n      \"localityName\": \"San Francisco\",\n      \"organizationalUnitName\": \"Dev\",\n      \"organizationName\": \"Okta, Inc.\",\n      \"stateOrProvinceName\": \"California\"\n    },\n    \"subjectAltNames\": {\n      \"dnsNames\": [\n        \"dev.okta.com\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"h9zkutaSe7fZX0SwN1GqDApofgD1OW8g2B5l2azha50\",\n  \"created\": \"2017-03-28T01:11:10.000Z\",\n  \"csr\": \"MIIC4DCCAcgCAQAwcTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xEzARBgNVBAoMCk9rdGEsIEluYy4xDDAKBgNVBAsMA0RldjESMBAGA1UEAwwJU1AgSXNzdWVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6m8jHVCr9/tKvvbFN59T4raoCs/78KRm4fSefHQOv1TKLXo4wTLbsqYWRWc5u0sd5orUMQgPQOyj3i6qh13mALY4BzrT057EG1BUNjGg29QgYlnOk2iX890e5BIDMQQEIKFrvOi2V8cLUkLvE2ydRn0VO1Q1frbUkYeStJYC5Api2JQsYRwa+1ZeDH1ITnIzUaugWhW2WB2lSnwZkenne5KtffxMPYVu+IhNRHoKaRA6Z51YNhMJIx17JM2hs/H4Ka3drk6kzDf7ofk/yBpb9yBWyU7CTSQhdoHidxqFprMDaT66W928t3AeOENHBuwn8c2K9WeGG+bELNyQRJVmawIDAQABoCowKAYJKoZIhvcNAQkOMRswGTAXBgNVHREEEDAOggxkZXYub2t0YS5jb20wDQYJKoZIhvcNAQELBQADggEBAA2hsVJRVM+A83X9MekjTnIbt19UNT8wX7wlE9jUKirWsxceLiZBpVGn9qfKhhVIpvdaIRSeoFYS2Kg/m1G6bCvjmZLcrQ5FcEBjZH2NKfNppGVnfC2ugtUkBtCB+UUzOhKhRKJtGugenKbP33zRWWIqnd2waF6Cy8TIuqQVPbwEDN9bCbAs7ND6CFYNguY7KYjWzQOeAR716eqpEEXuPYAS4nx/ty4ylonR8cv+gpq51rvq80A4k/36aoeM0Y6I4w64vhTfuvWW2UYFUD+/+y2FA2CSP4JfctySrf1s525v6fzTFZ3qZbB5OZQtP2b8xYWktMzywsxGKDoVDB4wkH4=\",\n  \"kty\": \"RSA\",\n  \"_links\": {\n    \"self\": { … },\n    \"publish\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":428}}845{"id":"doc-generate_a_new_signing_key_credential_for_idp-d7fbc1eb","source":"documentation","title":"Generate a new signing key credential for IdP","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identityprovidersigningkeys/other/generateidentityprovidersigningkey","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/idps/0oa62bfdjnK55Z5x80h7/credentials/keys/generate?validityYears=2'\n```\n\nExample:\n```text\n[\n  \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93sDt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9\"\n]\n```\n\nExample:\n```text\n{\n  \"created\": \"2015-12-10T18:56:23.000Z\",\n  \"expiresAt\": \"2017-12-10T18:56:22.000Z\",\n  \"kid\": \"akm5hvbbevE341ovl0h7\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5c\": [\n    \"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMMB2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCBjzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTfn6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8sDQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/IYR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5…\" Show more\n  ],\n  \"x5t#S256\": \"wzPVobIrveR1x-PCbjsFGNV-6zn7Rm9KuOWOG4Rk6jE\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":29,"estimatedTokens":675}}846{"id":"doc-upload_the_group_profiles_without_memberships_to-bc741db3","source":"documentation","title":"Upload the group profiles without memberships to be upserted in Okta","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/uploadidentitysourcegroupsforupsert","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/bulk-groups-upsert \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"profiles\": [\n      {\n        \"externalId\": \"GROUPEXT123456784C2IF\",\n        \"profile\": {\n          \"displayName\": \"group1\",\n          \"description\": \"group1 description\"\n        }\n      },\n      {\n        \"externalId\": \"GROUPEXT123456784C3IF\",\n        \"profile\": {\n          \"displayName\": \"group2\",\n          \"description\": \"group2 description\"\n        }\n      }\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.871Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":160}}847{"id":"doc-retrieve_an_identity_source_group-22af981f","source":"documentation","title":"Retrieve an identity source group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/getidentitysourcegroup","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/groups/00gsl4xM9ys8TdnbZ0g4 or GROUPEXT123456784C2IF'\n```\n\nExample:\n```text\n{\n  \"id\": \"00gsl4xM9ys8TdnbZ0g4\",\n  \"externalId\": \"GROUPEXT123456784C2IF\",\n  \"profile\": {\n    \"displayName\": \"West Coast users\",\n    \"description\": \"All users West of The Rockies\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.871Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":97}}848{"id":"doc-delete_an_identity_source_session-cb6f1c75","source":"documentation","title":"Delete an identity source session","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/deleteidentitysourcesession","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.871Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":48}}849{"id":"doc-create_the_memberships_for_the_given_identity_so-fcbdd229","source":"documentation","title":"Create the memberships for the given identity source group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/createidentitysourcegroupsmemberships","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/groups/00gsl4xM9ys8TdnbZ0g4 or GROUPEXT123456784C2IF/membership' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"memberExternalId\": \"USEREXT123456784C2IFA\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.871Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":82}}850{"id":"doc-upload_the_data_to_be_upserted_in_okta-731ae517","source":"documentation","title":"Upload the data to be upserted in Okta","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/uploadidentitysourcedataforupsert","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/bulk-upsert \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"entityType\": \"USERS\",\n    \"profiles\": [\n      {\n        \"externalId\": \"EXT123456784C2IF\",\n        \"profile\": {\n          \"userName\": \"isaac.brock@example.com\",\n          \"firstName\": \"Isaac\",\n          \"lastName\": \"Brock\",\n          \"email\": \"isaac.brock@example.com\",\n          \"secondEmail\": \"isaac2.brock@example.com\",\n          \"mobilePhone\": \"123-456-7890\",\n          \"homeAddress\": \"10800 NE 8th St #600, Bellevue, WA 98004\"\n        }\n      },\n      {\n        \"externalId\": \"EXT123456784C3IF\",\n        \"profile\": {\n          \"userName\": \"jane.smith@example.com\",\n          \"firstName\": \"Jane\",\n          \"lastName\": \"Smith\",\n          \"email\": \"jane.smith@example.com\",\n          \"secondEmail\": \"jane2.smith@example.com\",\n          \"mobilePhone\": \"555-123-4567\",\n          \"homeAddress\": \"Seattle, WA 98101\"\n        }\n      }\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.871Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":42,"estimatedTokens":275}}851{"id":"doc-upload_the_group_memberships_to_be_upserted_in_o-e142bf7a","source":"documentation","title":"Upload the group memberships to be upserted in Okta","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/uploadidentitysourcegroupmembershipsforupsert","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8/bulk-group-memberships-upsert \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"memberships\": [\n      {\n        \"groupExternalId\": \"GROUPEXT123456784C2IFA\",\n        \"memberExternalIds\": [\n          \"USEREXT123456784C2IFA\",\n          \"USEREXT123456784C3IFB\",\n          \"USEREXT123456784C4IFC\"\n        ]\n      },\n      {\n        \"groupExternalId\": \"GROUPEXT123456784C2IFB\",\n        \"memberExternalIds\": [\n          \"USEREXT123456784C2IFA\",\n          \"USEREXT123456784C3IFB\",\n          \"USEREXT123456784C4IFC\"\n        ]\n      }\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.871Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":183}}852{"id":"doc-retrieve_the_memberships_for_the_given_identity_-7b9f1613","source":"documentation","title":"Retrieve the memberships for the given identity source group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/getidentitysourcegroupmemberships","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/groups/00gsl4xM9ys8TdnbZ0g4 or GROUPEXT123456784C2IF/membership?after=string&limit=1000'\n```\n\nExample:\n```text\n{\n  \"memberExternalIds\": [\n    \"USEREXT123456784C2IFA\",\n    \"USEREXT123456784C3IFB\",\n    \"USEREXT123456784C4IFC\"\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":89}}853{"id":"doc-delete_an_identity_source_group-3fd28c76","source":"documentation","title":"Delete an identity source group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/deleteidentitysourcegroup","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/groups/00gsl4xM9ys8TdnbZ0g4 or GROUPEXT123456784C2IF'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":54}}854{"id":"doc-retrieve_an_identity_source_session-e12d6fd6","source":"documentation","title":"Retrieve an identity source session","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/getidentitysourcesession","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions/aps1qqonvr2SZv6o70h8\n```\n\nExample:\n```text\n{\n  \"id\": \"aps1qqonvr2SZv6o70h8\",\n  \"identitySourceId\": \"0oa3l6l6WK6h0R0QW0g4\",\n  \"status\": \"CREATED\",\n  \"importType\": \"INCREMENTAL\",\n  \"created\": \"2022-04-04T15:56:05.000Z\",\n  \"lastUpdated\": \"2022-05-05T16:15:44.000Z\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":100}}855{"id":"doc-list_all_identity_source_sessions-8880d97f","source":"documentation","title":"List all identity source sessions","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/listidentitysourcesessions","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/sessions\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"aps1qqonvr2SZv6o70h8\",\n    \"identitySourceId\": \"0oa3l6l6WK6h0R0QW0g4\",\n    \"status\": \"CREATED\",\n    \"importType\": \"INCREMENTAL\",\n    \"created\": \"2022-04-04T15:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T16:15:44.000Z\"\n  },\n  {\n    \"id\": \"aps1quck606ngubVq0h8\",\n    \"identitySourceId\": \"0oa3l6l6WK6h0R0QW0g4\",\n    \"status\": \"TRIGGERED\",\n    \"importType\": \"INCREMENTAL\",\n    \"created\": \"2022-04-04T16:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T17:15:44.000Z\"\n  },\n  {\n    \"id\": \"aps1qzy2acb5jDlUc0h8\",\n    \"identitySourceId\": \"0oa3l6l6WK6h0R0QW0g4\",\n    \"status\": \"IN_PROGRESS\",\n    \"importType\": \"INCREMENTAL\",\n    \"created\": \"2022-04-04T17:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T18:15:44.000Z\"\n  },\n  {\n    \"id\": \"aps1qqne8c1JHkMdF0h8\",\n    \"identitySourceId\": \"0oa3l6l6WK6h0R0QW0g4\",\n    \"status\": \"EXPIRED\",\n    \"importType\": \"INCREMENTAL\",\n    \"created\": \"2022-04-04T18:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T19:15:44.000Z\"\n  },\n  {\n    \"id\": \"aps1qqonvr2SZv6o70h8\",\n    \"identitySourceId\": \"0oa3l6l6WK6h0R0QW0g4\",\n    \"status\": \"CLOSED\",\n    \"importType\": \"INCREMENTAL\",\n    \"created\": \"2022-04-04T19:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T20:15:44.000Z\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":53,"estimatedTokens":339}}856{"id":"doc-update_an_identity_source_group-975ba11b","source":"documentation","title":"Update an identity source group","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/identitysource/other/updateidentitysourcegroups","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/identity-sources/0oa3l6l6WK6h0R0QW0g4/groups/00gsl4xM9ys8TdnbZ0g4 or GROUPEXT123456784C2IF' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"externalId\": \"GROUPEXT123456784C2IF\",\n    \"profile\": {\n      \"displayName\": \"West Coast users\",\n      \"description\": \"All users West of The Rockies\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"00gsl4xM9ys8TdnbZ0g4\",\n  \"externalId\": \"GROUPEXT123456784C2IF\",\n  \"profile\": {\n    \"displayName\": \"West Coast users\",\n    \"description\": \"All users West of The Rockies\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":151}}857{"id":"doc-retrieve_a_role-f073b02d","source":"documentation","title":"Retrieve a role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustom/other/getrole","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/roles/cr0Yq6IJxGIr0ouum0g3\n```\n\nExample:\n```text\n{\n  \"id\": \"cr0Yq6IJxGIr0ouum0g3\",\n  \"label\": \"UserCreator\",\n  \"description\": \"Create users\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"permissions\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":96}}858{"id":"doc-list_all_users_with_role_assignments-39c4408c","source":"documentation","title":"List all users with role assignments","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentauser/other/listuserswithroleassignments","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/iam/assignees/users?after=string&limit=100'\n```\n\nExample:\n```text\n{\n  \"value\": [\n    { … }\n  ],\n  \"_links\": {\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":56}}859{"id":"doc-assign_a_client_role-67c6cd37","source":"documentation","title":"Assign a client role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentclient/other/assignroletoclient","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"HELP_DESK_ADMIN\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"JBCUYUC7IRCVGS27IFCE2SKO\",\n  \"label\": \"Help Desk Administrator\",\n  \"type\": \"HELP_DESK_ADMIN\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-05-01T14:24:54.000Z\",\n  \"lastUpdated\": \"2023-05-01T14:24:54.000Z\",\n  \"assignmentType\": \"CLIENT\",\n  \"_links\": {\n    \"assignee\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.873Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":133}}860{"id":"doc-custom_password_recovery_okta_developer-d982a4f0","source":"documentation","title":"Custom password recovery | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-custom-pwd-recovery-mfa/java/main/","text":"Example:\n```java\n@GetMapping(\"/magic-link/callback\")\npublic ModelAndView handleMagicLinkCallback(\n   HttpServletRequest request,\n   @RequestParam(name = \"state\") String state,\n   @RequestParam(name = \"otp\") String otp,\n   HttpSession session) throws MalformedURLException\n{\n  if (session.getAttribute(IDX_CLIENT_CONTEXT) == null) {\n      try {\n         idxClientContext = idxAuthenticationWrapper.getClientContext();\n      }\n      catch (ProcessingException e) {\n         // return error details\n      }\n      session.setAttribute(IDX_CLIENT_CONTEXT, idxClientContext);\n  }\n\n  if (idxClientContext == null) {\n     // return error details\n  }\n\n  if (state == null) {\n      return new ModelAndView(\"redirect:\" + oktaOAuth2Properties.getRedirectUri());\n  }\n\n  String issuer = oktaOAuth2Properties.getIssuer();\n  // the widget needs the base url, just grab the root of the issuer\n  String orgUrl = new URL(new URL(issuer), \"/\").toString();\n\n  ModelAndView mav = new ModelAndView(\"login\");\n  mav.addObject(STATE, state);\n  mav.addObject(OTP, otp);\n  mav.addObject(SCOPES, oktaOAuth2Properties.getScopes());\n  mav.addObject(OKTA_BASE_URL, orgUrl);\n  mav.addObject(OKTA_CLIENT_ID, oktaOAuth2Properties.getClientId());\n  mav.addObject(INTERACTION_HANDLE, idxClientContext.getInteractionHandle());\n  mav.addObject(CODE_VERIFIER, idxClientContext.getCodeVerifier());\n  mav.addObject(CODE_CHALLENGE, idxClientContext.getCodeChallenge());\n  mav.addObject(CODE_CHALLENGE_METHOD, CODE_CHALLENGE_METHOD_VALUE);\n  mav.addObject(REDIRECT_URI,\n    request.getScheme() + \"://\" + request.getServerName() + \":\" +\n    request.getServerPort() + request.getContextPath() +\n    \"/authorization-code/callback\");\n  mav.addObject(ISSUER_URI, issuer);\n  session.setAttribute(CODE_VERIFIER, idxClientContext.getCodeVerifier());\n  return mav;\n}\n```\n\nExample:\n```html\n<div id=\"sign-in-widget\"></div>\n\n  <script th:inline=\"javascript\">\n      /*<![CDATA[*/\n\n      var config = {};\n      config.baseUrl = /*[[{oktaBaseUrl}]]*/ 'https://{yourOktaDomain}';\n      config.clientId = /*[[{oktaClientId}]]*/ '{clientId}';\n      config.otp = /*[[{otp}]]*/ '{otp}';\n      config.redirectUri = /*[[{redirectUri}]]*/ '{redirectUri}';\n      config.interactionHandle = /*[[{interactionHandle}]]*/ '{interactionHandle}';\n      config.codeChallenge = /*[[{codeChallenge}]]*/ '{codeChallenge}';\n      config.codeChallengeMethod = /*[[{codeChallengeMethod}]]*/ '{codeChallengeMethod}';\n      config.redirect = 'always';\n      config.authParams = {\n          issuer: /*[[{issuerUri}]]*/ '{issuerUri}',\n          pkce: true,\n          state: /*[[{state}]]*/ '{state}' || false,\n          nonce: /*[[{nonce}]]*/ '{nonce}',\n          scopes: /*[[{scopes}]]*/ '[scopes]',\n      };\n\n      new OktaSignIn(config).showSignInAndRedirect(\n          { el: '#sign-in-widget' },\n          function (res) {}\n      );\n      /*]]>*/\n  </script>\n```\n\nExample:\n```java\n@RequestMapping(value = {\"magic-link/callback\"}, method = RequestMethod.GET)\npublic ModelAndView displayIndexOrHomePage(\n    final @RequestParam(name = \"state\", required = false) String state,\n    final @RequestParam(name = \"otp\", required = false) String otp,\n    final HttpSession session) \n{\n    ProceedContext proceedContext = \n        (ProceedContext)session.getAttribute(\"proceedContext\");\n\n    // correlate received state with the client context\n    if (Strings.hasText(otp) && proceedContext != null &&\n        (Strings.isEmpty(state) || \n         !state.equals(proceedContext.getClientContext().getState())))\n    {\n        ModelAndView mav = new ModelAndView(\"error\");\n        mav.addObject(\"errors\", \n            \"Could not correlate client context with the received state value \" +\n            state + \" in callback\");\n        return mav;\n    }\n```\n\nExample:\n```java\nAuthenticationResponse authenticationResponse;\n\n    if (Strings.hasText(otp))\n    {\n        if (proceedContext == null)\n        {\n            // user has clicked magic link in a different browser\n            ModelAndView mav = new ModelAndView(\"info\");\n            mav.addObject(\"message\", \"Please enter OTP \" + otp +\n                \" in the original browser tab to finish the flow.\");\n            return mav;\n        }\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions =\n            new VerifyAuthenticatorOptions(otp);\n        authenticationResponse = authenticationWrapper\n            .verifyAuthenticator(proceedContext, verifyAuthenticatorOptions);\n        return responseHandler\n            .handleKnownTransitions(authenticationResponse, session);\n    }\n\n    // In unhandled case, return to index\n    return new ModelAndView(\"index\");\n}\n```\n\nExample:\n```java\npublic ModelAndView handleKnownTransitions(\n    AuthenticationResponse response, HttpSession session)\n{\n    ModelAndView terminalModelAndView = handleTerminalTransitions(response, session);\n    if (terminalModelAndView != null) {\n        return terminalModelAndView;\n    }\n\n    switch (response.getAuthenticationStatus()) {\n        case AWAITING_PASSWORD_RESET:\n            return registerPasswordForm(\"Reset Password\");\n\n        // other case statements\n    }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":158,"estimatedTokens":1288}}861{"id":"doc-list_all_custom_roles-af02e793","source":"documentation","title":"List all custom roles","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustom/other/listroles","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/iam/roles?after=string'\n```\n\nExample:\n```text\n{\n  \"roles\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":54}}862{"id":"doc-retrieve_a_user_role_assignment-b199c215","source":"documentation","title":"Retrieve a user role assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentauser/other/getuserassignedrole","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO\n```\n\nExample:\n```text\n{\n  \"id\": \"ra1b8anIk7rx7em7L0g4\",\n  \"label\": \"Super Organization administrator\",\n  \"type\": \"SUPER_ADMIN\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2015-09-06T15:28:47.000Z\",\n  \"lastUpdated\": \"2015-09-06T15:28:47.000Z\",\n  \"assignmentType\": \"USER\",\n  \"_links\": {\n    \"assignee\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":113}}863{"id":"doc-retrieve_all_user_role_governance_sources-83ceead7","source":"documentation","title":"Retrieve all user role governance sources","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentauser/other/getuserassignedrolegovernance","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/governance\n```\n\nExample:\n```text\n{\n  \"grants\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"assignee\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.874Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":71}}864{"id":"doc-delete_a_resource_set-0bacc9ba","source":"documentation","title":"Delete a resource set","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourceset/other/deleteresourceset","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}865{"id":"doc-unassign_a_user_role-1f78e88a","source":"documentation","title":"Unassign a user role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentauser/other/unassignrolefromuser","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}866{"id":"doc-list_the_anomalies_for_an_access_item-7e1cf1ac","source":"documentation","title":"List the anomalies for an access item","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/listmysecurityaccessreviewaccessesanomalies","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/accesses/{securityAccessReviewTargetId}/anomalies'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":69}}867{"id":"doc-retrieve_an_org-99c5b6d3","source":"documentation","title":"Retrieve an org","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs/getorg","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n{\n  \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n  \"name\": \"My Org 1\",\n  \"cell\": \"ok1\",\n  \"domain\": \"my-org-1.okta.com\",\n  \"status\": \"ACTIVE\",\n  \"aerialOrg\": false,\n  \"createdDate\": \"2023-12-08T20:15:18.000Z\",\n  \"id\": \"00o16fjDHCgFqob8n0g4\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":108}}868{"id":"doc-list_all_associated_orgs-3843d915","source":"documentation","title":"List all associated orgs","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs/getassociatedorgs","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/reports/associatedOrgs?after=string&before=string&limit=25&filter=subdomain%20eq%20%22customer-subdomain%22' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n[\n  {\n    \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n    \"name\": \"My Org 1\",\n    \"cell\": \"okta.com:1\",\n    \"domain\": \"my-org-1.okta.com\",\n    \"status\": \"ACTIVE\",\n    \"id\": \"00o16fjDHCgFqob8n0g4\"\n  },\n  {\n    \"name\": \"My Org 2\",\n    \"cell\": \"oktapreview.com:3\",\n    \"domain\": \"my-org-2.oktapreview.com\",\n    \"status\": \"INACTIVE\",\n    \"id\": \"00o16xupGJbokZXPO0g4\"\n  },\n  {\n    \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n    \"name\": \"My Org 3\",\n    \"cell\": \"okta.com:16\",\n    \"domain\": \"my-org-3.okta.com\",\n    \"status\": \"ACTIVE\",\n    \"id\": \"00o1cqcx8XNArUxjH0g4\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":213}}869{"id":"doc-list_all_enabled_products_for_an_org-59d31f05","source":"documentation","title":"List all enabled products for an org","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs/getenabledproducts","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}/products' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"P000052\",\n    \"name\": \"IT Products - SSO\"\n  },\n  {\n    \"id\": \"P000131\",\n    \"name\": \"IT Products - MFA\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":81}}870{"id":"doc-update_enabled_products_for_an_org-06c1078a","source":"documentation","title":"Update enabled products for an org","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs/updateenabledproducts","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}/products' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/json' \\\n  -d '[\n    {\n      \"id\": \"P000052\"\n    }\n  ]'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"P000052\",\n    \"name\": \"IT Products - SSO\"\n  },\n  {\n    \"id\": \"P000131\",\n    \"name\": \"IT Products - MFA\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":103}}871{"id":"doc-list_all_default_device_posture_checks-ff6db90a","source":"documentation","title":"List all default device posture checks","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceposturecheck/other/listdefaultdeviceposturechecks","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/device-posture-checks/default\n```\n\nExample:\n```text\n[\n  {\n    \"createdBy\": \"00u217pyf72CdUrBt1c5\",\n    \"createdDate\": \"2019-10-02T18:03:07.000Z\",\n    \"description\": \"Query macOS devices to check if firewall is enabled\",\n    \"id\": \"dch3m8o4rWhwReDeM1c5\",\n    \"lastUpdate\": \"2019-10-02T18:03:07.000Z\",\n    \"lastUpdatedBy\": \"00u217pyf72CdUrBt1c5\",\n    \"mappingType\": \"CHECKBOX\",\n    \"name\": \"Device posture check macOS\",\n    \"platform\": \"MACOS\",\n    \"query\": \"SELECT CASE WHEN global_state = 0 THEN 0 ELSE 1 END AS firewall_enabled FROM  alf;\",\n    \"remediationSettings\": { … },\n    \"type\": \"BUILTIN\",\n    \"variableName\": \"macOSFirewall\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.876Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":188}}872{"id":"doc-email_magic_links_overview_okta_developer-2a195808","source":"documentation","title":"Email Magic Links overview | Okta Developer","url":"https://developer.okta.com/docs/guides/email-magic-links-overview/aspnet/main/","text":"Example:\n```javascript\nvar searchParams = new URL(window.location.href).searchParams;\nvar signIn = new OktaSignIn({\n   baseUrl: '{yourOktaDomain}',\n   baseUrl: '{yourOktaDomain}',\n   clientId: '{yourClientId}',\n   redirectUri: '{yourSignInRedirectUrl}',\n   otp: searchParams.get('otp'),\n   state: searchParams.get('state')\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.876Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":14,"estimatedTokens":86}}873{"id":"doc-sign_up_for_new_account_with_email_only_okta_dev-f5e943b4","source":"documentation","title":"Sign up for new account with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-new-sign-up-email/nodeexpress/main/","text":"Example:\n```json\n{\n  firstName: \"John\",\n  lastName: \"Doe\",\n  email: \"johndoe@email.com\",\n}\n```\n\nExample:\n```javascript\nconst authClient = getAuthClient(req);\n  const transaction = await authClient.idx.register(req.body);\n  handleTransaction({ req, res, next, authClient, transaction });\n```\n\nExample:\n```json\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"enroll-authenticator\",\n    type: \"email\",\n    authenticator: {\n      type: \"email\",\n      key: \"okta_email\",\n      displayName: \"Email\",\n    },\n  },\n}\n```\n\nExample:\n```json\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"select-authenticator-enroll\",\n    options: [\n      {\n        label: \"Okta Verify\",\n        value: \"okta_verify\",\n      },\n      {\n        label: \"Password\",\n        value: \"okta_password\",\n      },\n    ],\n    canSkip: true,\n  },\n}\n```\n\nExample:\n```javascript\nconst authClient = getAuthClient(req);\n  const transaction = await authClient.idx.proceed({ skip: true });\n  handleTransaction({ req, res, next, authClient, transaction });\n```\n\nExample:\n```json\n{\n  status: \"SUCCESS\",\n  tokens: {\n    accessToken: {\n      accessToken: \"eyJraWQiOiJLSWdvVHlt...\",\n      expiresAt: 1656106249,\n      tokenType: \"Bearer\",\n    },\n    idToken: {\n      idToken: \"eyJraWQiOiJLSWdvVHltSGlL...\",\n      expiresAt: 1656106249,\n    },\n  },\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":79,"estimatedTokens":329}}874{"id":"doc-basic_sign_in_with_the_password_factor_okta_deve-801a0886","source":"documentation","title":"Basic sign in with the password factor | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-basic-sign-in/java/main/","text":"Example:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin();\nProceedContext proceedContext = beginResponse.getProceedContext();\n```\n\nExample:\n```java\nAuthenticationResponse authenticationResponse =\n   idxAuthenticationWrapper.authenticate(\n      new AuthenticationOptions(username, password),\n      beginResponse.getProceedContext()\n   );\n```\n\nExample:\n```java\npublic ModelAndView handleTerminalTransitions(AuthenticationResponse response, HttpSession session) {\n   Util.updateSession(session, response.getProceedContext());\n   if (response.getTokenResponse() != null) {\n      return homeHelper.proceedToHome(response.getTokenResponse(), session);\n   }\n\n   if (response.getAuthenticators() == null && response.getErrors().size() > 0) {\n      ModelAndView modelAndView = new ModelAndView(\"error\");\n      modelAndView.addObject(\"errors\", response.getErrors());\n      return modelAndView;\n   }\n\n   if (response.getAuthenticationStatus() == SKIP_COMPLETE) {\n      ModelAndView modelAndView = homeHelper.proceedToHome(response.getTokenResponse(), session);\n      modelAndView.addObject(\"info\", response.getErrors());\n      return modelAndView;\n   }\n   return null;\n}\n```\n\nExample:\n```java\n...\n        switch (response.getAuthenticationStatus()) {\n            case AWAITING_PASSWORD_RESET:\n                return registerPasswordForm(\"Reset Password\");\n            case PASSWORD_EXPIRED:\n                return registerPasswordForm(\"Password Expired\");\n            case AWAITING_AUTHENTICATOR_SELECTION:\n            case AWAITING_AUTHENTICATOR_VERIFICATION_DATA:\n                return selectAuthenticatorForm(response, \"Select Authenticator\", session);\n            case AWAITING_AUTHENTICATOR_VERIFICATION:\n                return verifyForm();\n            case AWAITING_AUTHENTICATOR_ENROLLMENT_SELECTION:\n                return selectAuthenticatorForm(response, \"Enroll Authenticator\", session);\n            default:\n                return unsupportedPolicy();\n        }\n    ...\n```\n\nExample:\n```java\nif (responseHandler.needsToShowErrors(authenticationResponse)) {\n    ModelAndView modelAndView = new ModelAndView(\"redirect:/login\");\n    modelAndView.addObject(\"errors\", authenticationResponse.getErrors());\n    return modelAndView;\n}\n```\n\nExample:\n```java\ntry {\n   String userInfoUrl = getNormalizedUri(issuer, \"/v1/userinfo\");\n\n   HttpHeaders httpHeaders = new HttpHeaders();\n   httpHeaders.setBearerAuth(tokenResponse.getAccessToken());\n\n   HttpEntity<String> requestEntity = new HttpEntity<>(null, httpHeaders);\n\n   ParameterizedTypeReference<Map<String, String>> responseType =\n           new ParameterizedTypeReference<Map<String, String>>() { };\n   ResponseEntity<Map<String, String>> responseEntity =\n           restTemplate.exchange(userInfoUrl, HttpMethod.GET, requestEntity, responseType);\n\n   claims = responseEntity.getBody();\n   Assert.notNull(claims, \"claims cannot be null\");\n   user = claims.get(\"preferred_username\");\n}\ncatch (Exception e) {\n   logger.error(\"Error retrieving profile from user info endpoint\", e);\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":93,"estimatedTokens":770}}875{"id":"doc-list_all_grants-9f2615dd","source":"documentation","title":"List all grants","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/grants/listgrants","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/grants?after=string&limit=20&filter=target.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20target.type%20eq%20%22APPLICATION%22%20AND%20targetPrincipal.externalId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20AND%20targetPrincipal.type%20eq%20%22OKTA_USER%22&include=full_entitlements'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":120}}876{"id":"doc-update_the_entitlement_settings_for_the_resource-d2b4a0e2","source":"documentation","title":"Update the entitlement settings for the resource","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-settings/updateentitlementsettings","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceOrn}/entitlement-settings' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"status\": \"OPTED_IN\"\n  }'\n```\n\nExample:\n```text\n{\n  \"status\": \"OPTING_IN\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":70}}877{"id":"doc-sign_in_to_your_spa_with_auth_js_okta_developer-a542a0a1","source":"documentation","title":"Sign in to your SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-authjs/react/main","text":"Example:\n```bash\ngit clone https://github.com/okta/okta-auth-js.git\ncd okta-auth-js\n```\n\nExample:\n```bash\nyarn install\n```\n\nExample:\n```txt\nISSUER=https://{yourOktaDomain}/oauth2/default\nCLIENT_ID={clientId}\n```\n\nExample:\n```bash\ncd samples/generated/react-embedded-auth-with-sdk\n  yarn start\n```\n\nExample:\n```bash\nnpm create vite@latest okta-app -- --template react\n```\n\nExample:\n```bash\ncd okta-app\nnpm install\n```\n\nExample:\n```bash\nnpm install @okta/okta-auth-js@latest\nnpm install @okta/okta-react@latest\nnpm install react-router-dom@5\n```\n\nExample:\n```txt\nVITE_ISSUER=https://{yourOktaDomain}/oauth2/default\nVITE_CLIENT_ID={clientId}\n```\n\nExample:\n```javascript\nimport React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport App from './App';\n\nconst root = createRoot(document.getElementById('root'));\nroot.render(\n  <React.StrictMode>\n    <Router>\n      <App />\n    </Router>\n  </React.StrictMode>\n);\n```\n\nExample:\n```javascript\nconst inputTransformer = nextStep => form => {\n  // only process UI inputs\n  const inputs = nextStep.inputs?.filter(input => !!input.label);\n\n  if (!inputs?.length) {\n    return form;\n  }\n\n  return {\n    ...form,\n    inputs: inputs.map(({ label, name, type, secret, required }) => {\n      if (secret) {\n        type = 'password';\n      } else if (type === 'string') {\n        type = 'text';\n      } else if (type === 'boolean') {\n        type = 'checkbox'\n      }\n      return { label, name, type, required };\n    })\n  };\n};\n```\n\nExample:\n```javascript\nconst CLIENT_ID = import.meta.env.VITE_CLIENT_ID || '{clientId}';\nconst ISSUER = import.meta.env.VITE_ISSUER || 'https://{yourOktaDomain}/oauth2/default';\nconst REDIRECT_URI = `${window.location.origin}/login/callback`;\n\nexport default {\n  clientId: CLIENT_ID,\n  issuer: ISSUER,\n  redirectUri: REDIRECT_URI,\n  scopes: ['openid', 'offline_access', 'profile', 'email'],\n  pkce: true\n};\n```\n\nExample:\n```javascript\nimport { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { OktaAuth, IdxStatus, toRelativeUrl } from '@okta/okta-auth-js';\nimport { Security } from '@okta/okta-react';\nimport { formTransformer } from './formTransformer';\nimport oidcConfig from './config';\nimport './App.css';\n\nconst oktaAuth = new OktaAuth(oidcConfig);\n\n...\n\nfunction App() {\n  const history = useHistory();\n  const restoreOriginalUri = async (_oktaAuth, originalUri) => {\n    history.replace(toRelativeUrl(originalUri || '/', window.location.origin));\n  };\n\n  return (\n    <Security oktaAuth={oktaAuth} restoreOriginalUri={restoreOriginalUri}>\n      ...\n    </Security>\n  );\n}\n```\n\nExample:\n```javascript\nconst [transaction, setTransaction] = useState(null);\n\nuseEffect(() => {\n  const startTransaction = async () => {\n    await oktaAuth.idx.start();\n    const newTransaction = await oktaAuth.idx.proceed({ step: 'identify' });\n    setTransaction(newTransaction);\n  };\n  startTransaction();\n}, []);\n```\n\nExample:\n```javascript\nconst handleSubmit = async e => {\n  e.preventDefault();\n\n  const submittedTransaction = await oktaAuth.idx.proceed({ step: transaction.nextStep.name, ...inputValues });\n  console.log('Transaction:', submittedTransaction);\n  setInputValues({});\n\n  if (submittedTransaction.status === IdxStatus.SUCCESS) {\n    oktaAuth.tokenManager.setTokens(submittedTransaction.tokens);\n    return;\n  }\n\n  const newTransaction = await oktaAuth.idx.proceed({ step: submittedTransaction.nextStep.name });\n  setTransaction(newTransaction);\n};\n```\n\nExample:\n```javascript\nimport { useEffect, useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { OktaAuth, IdxStatus, toRelativeUrl } from '@okta/okta-auth-js';\nimport { Security } from '@okta/okta-react';\nimport { formTransformer } from './formTransformer';\nimport oidcConfig from './config';\nimport './App.css';\n\nconst oktaAuth = new OktaAuth(oidcConfig);\n\nfunction SignInForm() {\n  const [transaction, setTransaction] = useState(null);\n  const [inputValues, setInputValues] = useState({});\n\n  useEffect(() => {\n    const startTransaction = async () => {\n      await oktaAuth.idx.start();\n      const newTransaction = await oktaAuth.idx.proceed({ step: 'identify' });\n      setTransaction(newTransaction);\n    };\n    startTransaction();\n  }, []);\n\n  const handleChange = ({ target: { name, value } }) => {\n    setInputValues({ ...inputValues, [name]: value });\n  };\n\n  const handleSubmit = async e => {\n    e.preventDefault();\n\n    const submittedTransaction = await oktaAuth.idx.proceed({ step: transaction.nextStep.name, ...inputValues });\n    console.log('Transaction:', submittedTransaction);\n    setInputValues({});\n\n    if (submittedTransaction.status === IdxStatus.SUCCESS) {\n      oktaAuth.tokenManager.setTokens(submittedTransaction.tokens);\n      return;\n    }\n\n    const newTransaction = await oktaAuth.idx.proceed({ step: submittedTransaction.nextStep.name });\n    setTransaction(newTransaction);\n  };\n\n  if (!transaction?.nextStep) {\n    return null;\n  }\n\n  const { inputs } = formTransformer(transaction.nextStep)({});\n\n  return (\n    <form onSubmit={handleSubmit}>\n      {inputs.map(({ label, name, type, required }) => (\n        <label key={name}>\n          {label}\n          <input\n            name={name}\n            type={type}\n            required={required}\n            value={inputValues[name] || ''}\n            onChange={handleChange}\n          />\n        </label>\n      ))}\n      <button type=\"submit\">Sign in</button>\n    </form>\n  );\n}\n\nfunction App() {\n  const history = useHistory();\n  const restoreOriginalUri = async (_oktaAuth, originalUri) => {\n    history.replace(toRelativeUrl(originalUri || '/', window.location.origin));\n  };\n\n  return (\n    <Security oktaAuth={oktaAuth} restoreOriginalUri={restoreOriginalUri}>\n      <SignInForm />\n    </Security>\n  );\n}\n\nexport default App;\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.878Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":253,"estimatedTokens":1476}}878{"id":"doc-retrieve_a_grant-7698f91a","source":"documentation","title":"Retrieve a grant","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/grants/getgrant","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/grants/{grantId}?include=full_entitlements'\n```\n\nExample:\n```text\n{\n  \"id\": \"0ggb0oNGTSWTBKOLGLNR\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"grantType\": \"ENTITLEMENT-BUNDLE\",\n  \"entitlementBundleId\": \"enbfxqCAJWWGELFTYCCC\",\n  \"action\": \"ALLOW\",\n  \"actor\": \"ACCESS_REQUEST\",\n  \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"target\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"targetPrincipalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n  \"targetPrincipal\": {\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"type\": \"OKTA_USER\"\n  },\n  \"status\": \"ACTIVE\",\n  \"_links\": {\n    \"entitlementBundle\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.878Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":240}}879{"id":"doc-update_a_resource_owner-682eee71","source":"documentation","title":"Update a resource owner","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/resource-owners/updateresourceowners","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/governance/api/v1/resource-owners \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"resourceOrn\": \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6\",\n    \"data\": [\n      {\n        \"op\": \"REMOVE\",\n        \"path\": \"/principalOrn\",\n        \"value\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u20sfroCwbHQO4a0g\"\n      },\n      {\n        \"op\": \"REMOVE\",\n        \"path\": \"/principalOrn\",\n        \"value\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.878Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":162}}880{"id":"doc-update_a_grant-46a277d4","source":"documentation","title":"Update a grant","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/grants/updategrant","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v1/grants/{grantId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"0ggb0oNGTSWTBKOLGLNR\",\n    \"scheduleSettings\": {\n      \"expirationDate\": \"2022-11-24T14:15:22Z\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0ggb0oNGTSWTBKOLGLNR\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"grantType\": \"ENTITLEMENT-BUNDLE\",\n  \"entitlementBundleId\": \"enbfxqCAJWWGELFTYCCC\",\n  \"action\": \"ALLOW\",\n  \"actor\": \"API\",\n  \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"target\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"targetPrincipalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n  \"targetPrincipal\": {\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"type\": \"OKTA_USER\"\n  },\n  \"status\": \"ACTIVE\",\n  \"scheduleSettings\": {\n    \"expirationDate\": \"2022-11-24T14:15:22Z\",\n    \"timeZone\": \"America/Toronto\"\n  },\n  \"_links\": {\n    \"entitlementBundle\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.879Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":48,"estimatedTokens":301}}881{"id":"doc-create_a_grant-b36a8e8f","source":"documentation","title":"Create a grant","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/grants/creategrant","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/grants \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"grantType\": \"ENTITLEMENT-BUNDLE\",\n    \"entitlementBundleId\": \"enbfxqCAJWWGELFTYCCC\",\n    \"actor\": \"ACCESS_REQUEST\",\n    \"targetPrincipal\": {\n      \"externalId\": \"00ufxqCAJWWGELFTYCCC\",\n      \"type\": \"OKTA_USER\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0ggb0oNGTSWTBKOLGLNR\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"grantType\": \"ENTITLEMENT-BUNDLE\",\n  \"entitlementBundleId\": \"enbfxqCAJWWGELFTYCCC\",\n  \"action\": \"ALLOW\",\n  \"actor\": \"ACCESS_REQUEST\",\n  \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"target\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"targetPrincipalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n  \"targetPrincipal\": {\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"type\": \"OKTA_USER\"\n  },\n  \"status\": \"ACTIVE\",\n  \"_links\": {\n    \"entitlementBundle\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.879Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":47,"estimatedTokens":300}}882{"id":"doc-replace_a_grant-d27c97ad","source":"documentation","title":"Replace a grant","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/grants/replacegrant","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/governance/api/v1/grants/{grantId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"0ggb0oNGTSWTBKOLGLNR\",\n    \"created\": \"2022-05-24T14:15:22Z\",\n    \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n    \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"grantType\": \"CUSTOM\",\n    \"action\": \"ALLOW\",\n    \"actor\": \"API\",\n    \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n    \"target\": {\n      \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n      \"type\": \"APPLICATION\"\n    },\n    \"targetPrincipalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n    \"targetPrincipal\": {\n      \"externalId\": \"00ub0oNGTSWTBKOLGLNR\",\n      \"type\": \"OKTA_USER\"\n    },\n    \"entitlements\": [\n      {\n        \"id\": \"espo3v6xlwdtEX2il1d6\",\n        \"values\": [\n          {\n            \"id\": \"ento3v6xmkviXCltm1d6\"\n          },\n          {\n            \"id\": \"ento3v6xk6nOq7lm51d6\"\n          }\n        ]\n      },\n      {\n        \"id\": \"esp4rg7fkom0c3AsX8g6\",\n        \"values\": [\n          {\n            \"id\": \"ent4rg7fltWSgrlDT8g6\"\n          }\n        ]\n      }\n    ],\n    \"status\": \"ACTIVE\",\n    \"_links\": {\n      \"self\": {\n        \"href\": \"https://myorg.okta.com/governance/api/v1/grants/0ggb0oNGTSWTBKOLGLNR\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0ggb0oNGTSWTBKOLGLNR\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"grantType\": \"CUSTOM\",\n  \"action\": \"ALLOW\",\n  \"actor\": \"API\",\n  \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"target\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"targetPrincipalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n  \"targetPrincipal\": {\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"type\": \"OKTA_USER\"\n  },\n  \"entitlements\": [\n    { … },\n    { … }\n  ],\n  \"status\": \"ACTIVE\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.879Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":87,"estimatedTokens":537}}883{"id":"doc-retrieve_the_principal_s_effective_entitlements_-403b6eff","source":"documentation","title":"Retrieve the principal's effective entitlements for a resource","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-entitlements/getprincipalentitlements","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/principal-entitlements?filter=parent.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20parent.type%20eq%20%22APPLICATION%22%20AND%20targetPrincipal.externalId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20AND%20targetPrincipal.type%20eq%20%22OKTA_USER%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.879Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":103}}884{"id":"doc-configure_the_resource_owners-3d29ed54","source":"documentation","title":"Configure the resource owners","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/resource-owners/configureresourceowners","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/resource-owners \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"principalOrns\": [\n      \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g\",\n      \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u6yl0Q065H4BCPR0g4\"\n    ],\n    \"resourceOrns\": [\n      \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.879Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":130}}885{"id":"doc-delete_a_label-b97e0897","source":"documentation","title":"Delete a label","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels/deletelabel","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/governance/api/v1/labels/{labelId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.879Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}886{"id":"doc-retrieve_the_entitlement_settings_for_the_resour-44ea5db9","source":"documentation","title":"Retrieve the entitlement settings for the resource","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-settings/getentitlementsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceOrn}/entitlement-settings'\n```\n\nExample:\n```text\n{\n  \"status\": \"OPTED_OUT\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.880Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":49}}887{"id":"doc-retrieve_a_label-dd7c8fd1","source":"documentation","title":"Retrieve a label","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels/getlabel","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/labels/{labelId}'\n```\n\nExample:\n```text\n{\n  \"labelId\": \"lbco3v6xlwdtEX2il1d6\",\n  \"name\": \"Compliance\",\n  \"values\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.880Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":70}}888{"id":"doc-list_all_unowned_resources-d08630fc","source":"documentation","title":"List all unowned resources","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/resource-owners/listresourceownercatalogresources","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/resource-owners/catalog/resources?filter=parentResourceOrn%20eq%20%22orn%3Aokta%3Aidp%3A00o11edPwGqbUrsDm0g4%3Aapps%3Asalesforce%3A0oafxqCAJWWGELFTYASJ%22%20AND%20resource.type%20eq%20%22entitlement-bundles%22&limit=20&after=00u68w6vzKLultXS97g6'\n```\n\nExample:\n```text\n{\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.880Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":136}}889{"id":"doc-list_all_resources_with_owners-bb20f97b","source":"documentation","title":"List all resources with owners","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/resource-owners/listresourceowners","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/resource-owners?filter=parentResourceOrn%20eq%20%22orn%3Aokta%3Aidp%3A00o11edPwGqbUrsDm0g4%3Aapps%3Asalesforce%3A0oafxqCAJWWGELFTYASJ%22&limit=20&after=00u68w6vzKLultXS97g6&include=parent_resource_owner'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  },\n  \"metadata\": {\n    \"total\": 10\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.880Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":113}}890{"id":"doc-retrieve_the_principal_entitlement_changes-180c7f4b","source":"documentation","title":"Retrieve the principal entitlement changes","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-entitlements/getprincipalentitlementschanges","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v1/principal-entitlements-changes/governance/api/v1/principal-entitlements-changes/cmVwMWtOQ2NmQnhhRWVEbXcwZzI6cmVwOHBCVVRWVG9na2lYNWUwZzI\n```\n\nExample:\n```text\n{\n  \"entitlementsChanged\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ],\n  \"resourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"resource\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"principalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n  \"principal\": {\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"type\": \"OKTA_USER\"\n  },\n  \"_links\": {\n    \"principal-entitlements\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.880Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":187}}891{"id":"doc-retrieve_an_entitlement_history-beb1502a","source":"documentation","title":"Retrieve an entitlement history","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-entitlements/getprincipalentitlementshistory","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/principal-entitlements/history?filter=resource.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20resource.type%20eq%20%22APPLICATION%22%20AND%20principal.externalId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20AND%20principal.type%20eq%20%22OKTA_USER%22&limit=20&after=00u68w6vzKLultXS97g6&include=counts'\n```\n\nExample:\n```text\n{\n  \"resourceOrn\": \"orn:okta:idp:00o1kq5LLpmbGnOtz0g4:apps:oidc_client:0oacvetsS5uY0gCzk0g4\",\n  \"resource\": {\n    \"externalId\": \"0oacvetsS5uY0gCzk0g4\",\n    \"type\": \"APPLICATION\"\n  },\n  \"principalOrn\": \"orn:okta:directory:00o1kq5LLpmbGnOtz0g4:users:00u1rvrLNphg0QAmP0g4\",\n  \"principal\": {\n    \"externalId\": \"00u1rvrLNphg0QAmP0g4\",\n    \"type\": \"OKTA_USER\"\n  },\n  \"entitlementHistory\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  },\n  \"metadata\": {\n    \"total\": 4\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.880Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":234}}892{"id":"doc-remove_the_labels_from_resources-1f942b1f","source":"documentation","title":"Remove the labels from resources","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels/removeresourcelabels","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/resource-labels/unassign \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"resourceOrns\": [\n      \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ\",\n      \"orn:okta:directory:00o11edPwGqbUrsDm0g4:groups:00g10ctakVI6XlTdk0g4\",\n      \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6\",\n      \"orn:okta:governance:00o11edPwGqbUrsDm0g4:collections:cologpaj3XUzcM62u1d6\",\n      \"orn:okta:governance:00o11rndFqmZ5rNfs0g4:entitlement-values:ent63C22YQoNMWOJf0g2\"\n    ],\n    \"labelValueIds\": [\n      \"lblo3v6xlwdtEX2il1d2\"\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":179}}893{"id":"doc-revoke_a_principal_s_access-107e95cd","source":"documentation","title":"Revoke a principal's access","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-access-v2/revokeprincipalaccess","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v2/revoke-principal-access \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"principalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n    \"actor\": \"ADMIN\",\n    \"revokeOrns\": [\n      \"orn:okta:idp:00o11rndFqmZ5rNfs0g4:apps:oidc_client:0oa251e7jQHXVgg5r0g4\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":115}}894{"id":"doc-list_all_labels-4d7ae7d9","source":"documentation","title":"List all labels","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels/listlabels","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/labels?filter=values.name%20sw%20%22SOD%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":61}}895{"id":"doc-create_a_label-c9082235","source":"documentation","title":"Create a label","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels/createlabel","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/labels \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Compliance\",\n    \"values\": [\n      {\n        \"name\": \"SOX\",\n        \"metadata\": {\n          \"additionalProperties\": {\n            \"backgroundColor\": \"blue\"\n          }\n        }\n      },\n      {\n        \"name\": \"PII\",\n        \"metadata\": {\n          \"additionalProperties\": {\n            \"backgroundColor\": \"yellow\"\n          }\n        }\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"labelId\": \"lbco3v6xlwdtEX2il1d6\",\n  \"name\": \"Compliance\",\n  \"values\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":44,"estimatedTokens":173}}896{"id":"doc-assign_the_labels_to_resources-96a973bd","source":"documentation","title":"Assign the labels to resources","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels/assignresourcelabels","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/resource-labels/assign \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"resourceOrns\": [\n      \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ\",\n      \"orn:okta:directory:00o11edPwGqbUrsDm0g4:groups:00g10ctakVI6XlTdk0g4\",\n      \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6\",\n      \"orn:okta:governance:00o11edPwGqbUrsDm0g4:collections:cologpaj3XUzcM62u1d6\",\n      \"orn:okta:governance:00o11rndFqmZ5rNfs0g4:entitlement-values:ent63C22YQoNMWOJf0g2\"\n    ],\n    \"labelValueIds\": [\n      \"lblo3v6xlwdtEX2il1d1\",\n      \"lblo3v6xlwdtEX2il1d2\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":199}}897{"id":"doc-list_all_labeled_resources-54ae1f4f","source":"documentation","title":"List all labeled resources","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels/listlabelresources","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/resource-labels?filter=orn%20eq%20%22orn%3Aokta%3Aidp%3A00o11edPwGqbUrsDm0g4%3Aapps%3Aoidc%3A0oafxqCAJWWGELFTYASJ%22&limit=20&after=00u68w6vzKLultXS97g6'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":86}}898{"id":"doc-update_the_principal_settings-6f85b64e","source":"documentation","title":"Update the principal settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-settings/updateprincipalsettings","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v1/principal-settings/{targetPrincipalId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"delegates\": {\n      \"appointments\": [\n        {\n          \"delegate\": {\n            \"type\": \"OKTA_USER\",\n            \"externalId\": \"00u2lxfQaw8WRlkQt0g4\"\n          },\n          \"note\": \"Johnny Appleseed is on parental leave\"\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"appointments\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":131}}899{"id":"doc-update_a_label-f5185f33","source":"documentation","title":"Update a label","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/labels/updatelabel","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v1/labels/{labelId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '[\n    {\n      \"op\": \"REPLACE\",\n      \"path\": \"/name\",\n      \"value\": \"Compliance\",\n      \"refType\": \"LABEL-CATEGORY\"\n    }\n  ]'\n```\n\nExample:\n```text\n{\n  \"labelId\": \"lbco3v6xlwdtEX2il1d6\",\n  \"name\": \"Compliance\",\n  \"values\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":115}}900{"id":"doc-retrieve_the_principal_access_for_a_resource-d27b556a","source":"documentation","title":"Retrieve the principal access for a resource","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/principal-access/getprincipalaccess","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/principal-access?filter=parent.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20parent.type%20eq%20%22APPLICATION%22%20AND%20targetPrincipal.externalId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20AND%20targetPrincipal.type%20eq%20%22OKTA_USER%22'\n```\n\nExample:\n```text\n{\n  \"targetPrincipalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n  \"targetPrincipal\": {\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"type\": \"OKTA_USER\"\n  },\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"parent\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"expirationTime\": \"2024-05-31T23:59:59Z\",\n  \"timeZone\": \"America/Toronto\",\n  \"base\": {\n    \"grantType\": \"POLICY\",\n    \"grantMethod\": \"POLICY\",\n    \"expirationTime\": \"2024-05-31T23:59:59Z\",\n    \"grant\": { … },\n    \"entitlements\": [ … ]\n  },\n  \"additional\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":254}}901{"id":"doc-delete_an_org_integration-f8e103ac","source":"documentation","title":"Delete an org integration","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/org-governance-settings/deleteorgintegration","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/governance/api/v1/settings/integrations/{integrationId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}902{"id":"doc-generate_a_risk_assessment-6e445366","source":"documentation","title":"Generate a risk assessment","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/risk-rules/generatepotentialriskassessments","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/risk-rule-assessments \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"principalOrn\": \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR\",\n    \"resourceOrn\": \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6\"\n  }'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/risk-rule-assessments?limit=20\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":135}}903{"id":"doc-list_all_org_integrations-35a7874c","source":"documentation","title":"List all org integrations","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/org-governance-settings/listorgintegrations","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v1/settings/integrations\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":43}}904{"id":"doc-retrieve_the_org_settings-f7935bae","source":"documentation","title":"Retrieve the org settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/org-governance-settings/getorgsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v1/settings\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"enduser\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":44}}905{"id":"doc-delete_a_risk_rule-f698a2b1","source":"documentation","title":"Delete a risk rule","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/risk-rules/deleteriskrule","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/governance/api/v1/risk-rules/{ruleId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":39}}906{"id":"doc-create_a_risk_rule-dcbbe1fe","source":"documentation","title":"Create a risk rule","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/risk-rules/createriskrule","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/risk-rules \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Process and Approve Payment\",\n    \"description\": \"Process and Approve Payment\",\n    \"type\": \"SEPARATION_OF_DUTIES\",\n    \"resources\": [\n      {\n        \"resourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\"\n      }\n    ],\n    \"conflictCriteria\": {\n      \"and\": [\n        {\n          \"name\": \"list1\",\n          \"attribute\": \"principal.effective_grants\",\n          \"operation\": \"CONTAINS_ONE\",\n          \"value\": {\n            \"type\": \"ENTITLEMENTS\",\n            \"value\": [\n              {\n                \"id\": \"espo3v6xlwdtEX2il1d6\",\n                \"values\": [\n                  {\n                    \"id\": \"ento3v6xmkviXCltm1d6\"\n                  }\n                ]\n              }\n            ]\n          }\n        },\n        {\n          \"name\": \"list2\",\n          \"attribute\": \"principal.effective_grants\",\n          \"operation\": \"CONTAINS_ALL\",\n          \"value\": {\n            \"type\": \"ENTITLEMENTS\",\n            \"value\": [\n              {\n                \"id\": \"espxf36xlwdtEX2il23e\",\n                \"values\": [\n                  {\n                    \"id\": \"ento3v6xk6nOq7lm51d6\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rulb0oNGTSWTBKOLGLNR\",\n  \"name\": \"Process and Approve Payment\",\n  \"description\": \"Process and Approve Payment\",\n  \"type\": \"SEPARATION_OF_DUTIES\",\n  \"status\": \"ACTIVE\",\n  \"resources\": [\n    { … }\n  ],\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"conflictCriteria\": {\n    \"and\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":82,"estimatedTokens":471}}907{"id":"doc-list_all_risk_rules-10004f30","source":"documentation","title":"List all risk rules","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/risk-rules/listriskrules","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/risk-rules?limit=20&after=00u68w6vzKLultXS97g6&filter=name%20sw%20%22Process%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  },\n  \"metadata\": {\n    \"total\": 10\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":82}}908{"id":"doc-retrieve_a_risk_rule-25272169","source":"documentation","title":"Retrieve a risk rule","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/risk-rules/getriskrule","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/risk-rules/{ruleId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"rulb0oNGTSWTBKOLGLNR\",\n  \"name\": \"Process and Approve Payment\",\n  \"description\": \"Process and Approve Payment\",\n  \"type\": \"SEPARATION_OF_DUTIES\",\n  \"status\": \"ACTIVE\",\n  \"resources\": [\n    { … }\n  ],\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"conflictCriteria\": {\n    \"and\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":150}}909{"id":"doc-create_an_org_integration-71e329c6","source":"documentation","title":"Create an org integration","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/org-governance-settings/createorgintegration","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/settings/integrations \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"SLACK\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"goi5a4b3c2d1e9f8g7h5\",\n  \"type\": \"SLACK\",\n  \"status\": \"IN_PROGRESS\",\n  \"_links\": {\n    \"authUrl\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":85}}910{"id":"doc-update_the_org_settings-99cede71","source":"documentation","title":"Update the org settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/org-governance-settings/updateorgsettings","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/governance/api/v1/settings \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"delegates\": {\n      \"enduser\": {\n        \"permissions\": [\n          \"WRITE\"\n        ]\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"enduser\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":85}}911{"id":"doc-replace_a_risk_rule-fc7bc733","source":"documentation","title":"Replace a risk rule","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/risk-rules/replaceriskrule","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/governance/api/v1/risk-rules/{ruleId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"rulb0oNGTSWTBKOLGLNR\",\n    \"name\": \"Process and Approve Payment\",\n    \"notes\": \"Process and Approve Payment note\",\n    \"description\": \"Process and Approve Payment\",\n    \"conflictCriteria\": {\n      \"and\": [\n        {\n          \"name\": \"list1\",\n          \"attribute\": \"principal.effective_grants\",\n          \"operation\": \"CONTAINS_ONE\",\n          \"value\": {\n            \"type\": \"ENTITLEMENTS\",\n            \"value\": [\n              {\n                \"id\": \"espo3v6xlwdtEX2il1d6\",\n                \"values\": [\n                  {\n                    \"id\": \"ento3v6xmkviXCltm1d6\"\n                  }\n                ]\n              }\n            ]\n          }\n        },\n        {\n          \"name\": \"list2\",\n          \"attribute\": \"principal.effective_grants\",\n          \"operation\": \"CONTAINS_ALL\",\n          \"value\": {\n            \"type\": \"ENTITLEMENTS\",\n            \"value\": [\n              {\n                \"id\": \"espxf36xlwdtEX2il23e\",\n                \"values\": [\n                  {\n                    \"id\": \"ento3v6xk6nOq7lm51d6\"\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rulb0oNGTSWTBKOLGLNR\",\n  \"name\": \"Process and Approve Payment\",\n  \"description\": \"Process and Approve Payment\",\n  \"type\": \"SEPARATION_OF_DUTIES\",\n  \"status\": \"ACTIVE\",\n  \"resources\": [\n    { … }\n  ],\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"conflictCriteria\": {\n    \"and\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":78,"estimatedTokens":450}}912{"id":"doc-retrieve_an_operation-1ca3358a","source":"documentation","title":"Retrieve an operation","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/operations/getoperation","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/operations/{operationId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"cpa4r1gtPOqBal07j0g5\",\n  \"type\": \"collection:principal:assignment\",\n  \"status\": \"RUNNING\",\n  \"created\": \"2026-01-09T01:25:04.000Z\",\n  \"started\": \"2026-01-09T01:25:05.208Z\",\n  \"completed\": null,\n  \"timeElapsedInSeconds\": 1,\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":105}}913{"id":"doc-update_the_org_certification_settings-85af6fe3","source":"documentation","title":"Update the org certification settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/org-governance-settings/updateorgcertificationsettings","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/governance/api/v1/settings/certification \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"integrations\": {\n      \"settings\": [\n        {\n          \"integrationId\": \"goi5a4b3c2d1e9f8g7h5\",\n          \"type\": \"SLACK\",\n          \"notifications\": {\n            \"enabled\": true\n          }\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"integrations\": {\n    \"settings\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":119}}914{"id":"doc-list_all_delegate_appointments-60201732","source":"documentation","title":"List all delegate appointments","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/delegates/listdelegateappointments","text":"Example:\n```text\n/governance/api/v1/delegates?limit=20\n```\n\nExample:\n```text\n/governance/api/v1/delegates?limit=10&after=gda123ABCXYZ456DEF\n```\n\nExample:\n```text\n/governance/api/v1/delegates?filter=(delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20OR%20delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNS%22)&limit=2\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/delegates?filter=delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20OR%20delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNS%22&limit=20&after=00u68w6vzKLultXS97g6'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":35,"estimatedTokens":166}}915{"id":"doc-retrieve_the_org_certification_settings-1997c980","source":"documentation","title":"Retrieve the org certification settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/org-governance-settings/getorgcertificationsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v1/settings/certification\n```\n\nExample:\n```text\n{\n  \"integrations\": {\n    \"settings\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":49}}916{"id":"doc-list_all_requests-9e3c41a7","source":"documentation","title":"List all requests","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/listallrequests","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/requests?filter=requestStatus%20eq%20%22RESOLVED%22&after=stringstringstringstring&limit=20&orderBy=created%20desc'\n```\n\nExample:\n```text\n[\n  {\n    \"subject\": \"request-from-service-now-xsd23432\",\n    \"requestTypeId\": \"61eb2db568c7c300079fefd0\",\n    \"requesterUserIds\": [ … ],\n    \"id\": \"61eb06a3c462d20007f0235c\",\n    \"lastUpdated\": \"2022-05-05T14:15:22Z\",\n    \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"resolved\": \"2022-05-05T14:15:22Z'\",\n    \"requestStatus\": \"RESOLVED\",\n    \"type\": \"ACCESS_REQUEST\",\n    \"permalinkId\": 1,\n    \"_links\": { … }\n  }\n]\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.884Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":40,"estimatedTokens":193}}917{"id":"doc-retrieve_a_request-09ac4aeb","source":"documentation","title":"Retrieve a request","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/getrequest","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/requests/{requestId}'\n```\n\nExample:\n```text\n[\n  \"00ub0oNGTSWTBKOLGLNR\"\n]\n```\n\nExample:\n```text\n{\n  \"id\": \"61eb06a3c462d20007f0235c\",\n  \"subject\": \"request-from-service-now-xsd23432\",\n  \"requestTypeId\": \"61eb2db568c7c300079fefd0\",\n  \"created\": \"2022-05-05T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-05T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"permalinkId\": 1,\n  \"resolved\": \"2022-05-05T14:15:22Z\",\n  \"requestStatus\": \"RESOLVED\",\n  \"requesterUserIds\": [\n    \"00ub0oNGTSWTBKOLGLNR\"\n  ],\n  \"requesterFieldValues\": [\n    { … }\n  ],\n  \"approvals\": [\n    { … }\n  ],\n  \"actions\": [\n    { … }\n  ],\n  \"type\": \"ACCESS_REQUEST\",\n  \"_links\": {\n    \"requestType\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.884Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":47,"estimatedTokens":208}}918{"id":"doc-create_a_message_for_a_request-856dddee","source":"documentation","title":"Create a Message for a Request","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/requests/createrequestmessage","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v1/requests/{requestId}/messages' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"message\": \"Contact admin@atko.com for any additional assistance needed with this request.\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.884Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":79}}919{"id":"doc-list_all_request_types-2a2411ae","source":"documentation","title":"List all request types","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/request-types/listallrequesttypes","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/request-types?filter=status%20eq%20%22ACTIVE%22&after=stringstringstringstring&limit=20&orderBy=created%20desc'\n```\n\nExample:\n```text\n[\n  {\n    \"name\": \"salesforce-01\",\n    \"description\": \"How users can request access to Salesforce 01\",\n    \"id\": \"61eb2db568c7c300079fefd0\",\n    \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n    \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"created\": \"2022-05-24T14:15:22Z\",\n    \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"status\": \"ACTIVE\",\n    \"lastUpdateSource\": \"API\",\n    \"_links\": { … }\n  }\n]\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … },\n    { … },\n    { … },\n    { … },\n    { … },\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.884Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":46,"estimatedTokens":203}}920{"id":"doc-delete_a_request_sequence-4547ab90","source":"documentation","title":"Delete a request sequence","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-sequences/deleterequestsequencev2","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/governance/api/v2/request-sequences/673b6e662088ea0006d10ff3\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.884Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}921{"id":"doc-list_all_resource_request_sequences-c9142743","source":"documentation","title":"List all resource request sequences","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-sequences/listresourcerequestsequencesv2","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-sequences'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"newSequence\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.884Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":67}}922{"id":"doc-retrieve_my_task-7d4fc6b2","source":"documentation","title":"Retrieve my task","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-tasks/getmytaskv2","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/my/tasks/68b0a1576dd8db837f5ee55d\n```\n\nExample:\n```text\n{\n  \"id\": \"68b0ed9802df442e8b601807\",\n  \"assignees\": [\n    { … },\n    { … }\n  ],\n  \"status\": \"OPEN\",\n  \"label\": \"This is an approval task\",\n  \"requestId\": \"req42kjDgk1EubTwo0g4\",\n  \"createdAt\": \"2019-08-24T14:15:22Z\",\n  \"updatedAt\": \"2019-08-24T14:15:22Z\",\n  \"type\": \"APPROVAL\",\n  \"isEscalated\": false,\n  \"isDelegated\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.884Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":121}}923{"id":"doc-catalogs-834bda87","source":"documentation","title":"Catalogs","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/catalogs","text":"Example:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20&after=cen33e47frfMB93gQ8g6\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&match=figma&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&match=edit&limit=8\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&after=cenp2rjyxK1Js2Fc41d5&match=figma&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"atspoke\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":46,"estimatedTokens":230}}924{"id":"doc-requests-b042d13a","source":"documentation","title":"Requests","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/requests","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/requests?filter=status%20eq%20%22APPROVED%22&after=reqp1pmpjhVdGEcVK1d5&limit=20&orderBy=created%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":84}}925{"id":"doc-retrieve_a_request_type-36387797","source":"documentation","title":"Retrieve a request type","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v1-reference/request-types/getrequesttype","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/request-types/{requestTypeId}'\n```\n\nExample:\n```text\n{\n  \"createRequest\": {\n    \"href\": \"https://my-org.at.okta.com/next/new?q=Request%20access%20to%20Salesforce&request_type=0oa1gjh63g214q0Hq0g4\",\n    \"type\": \"text/html\"\n  },\n  \"requests\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests?filter=requestTypeId%20eq%20%2261eb2db568c7c300079fefd0%22\",\n    \"type\": \"application/json\"\n  },\n  \"self\": {\n    \"href\": \"https://myorg.okta.com/governance/api/v1/requests/61eb2db568c7c300079fefd0\",\n    \"type\": \"application/json\"\n  }\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"GROUPS\",\n  \"targetResources\": [\n    \"00g1emaKYZTWRYYRRTSK\"\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"EVERYONE\",\n  \"requesterFields\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"type\": \"SERIAL\",\n  \"approvals\": [\n    { … }\n  ]\n}\n```\n\nExample:\n```text\n{\n  \"id\": \"61eb2db568c7c300079fefd0\",\n  \"name\": \"salesforce-01\",\n  \"description\": \"How users can request access to Salesforce 01\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"ownerId\": \"61eb0f06c462d20007f051ac\",\n  \"resourceSettings\": {\n    \"type\": \"GROUPS\",\n    \"targetResources\": [ … ]\n  },\n  \"requestSettings\": {\n    \"type\": \"EVERYONE\",\n    \"requesterFields\": [ … ]\n  },\n  \"approvalSettings\": {\n    \"type\": \"SERIAL\",\n    \"approvals\": [ … ]\n  },\n  \"lastUpdateSource\": \"API\",\n  \"accessDuration\": null,\n  \"_links\": {\n    \"createRequest\": { … },\n    \"requests\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":89,"estimatedTokens":415}}926{"id":"doc-add_a_comment_for_a_security_access_review-63c07a55","source":"documentation","title":"Add a comment for a security access review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/addmysecurityaccessreviewcomment","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/comment' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"comment\": \"string\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":69}}927{"id":"doc-retrieve_a_resource_request_sequence-9e396197","source":"documentation","title":"Retrieve a resource request sequence","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-sequences/getresourcerequestsequencev2","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-sequences/673b6e662088ea0006d10ff3'\n```\n\nExample:\n```text\n{\n  \"id\": \"61eb0f06c462d20007f051ac\",\n  \"name\": \"No approver sequence\",\n  \"description\": \"No approvers needed\",\n  \"compatibleResourceTypes\": [\n    \"APP\",\n    \"GROUP\"\n  ],\n  \"link\": \"https://subdomain.okta.at.com/next/sequences/61eb0f06c462d20007f051ac\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":111}}928{"id":"doc-list_all_my_tasks-97ad21b6","source":"documentation","title":"List all my tasks","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-tasks/listallmytasksv2","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/tasks?filter=status%20eq%20%22OPEN%22&limit=20&after=68b0a1576dd8db837f5ee55d&orderBy=createdAt%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.886Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":79}}929{"id":"doc-create_a_request_condition-1fc80988","source":"documentation","title":"Create a request condition","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-conditions/createresourcerequestconditionv2","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-conditions' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Application | Permanent | Everyone\",\n    \"description\": \"A request condition allowing everyone to request permanent access to an application\",\n    \"approvalSequenceId\": \"61eb0f06c462d20007f051ac\",\n    \"requesterSettings\": {\n      \"type\": \"EVERYONE\"\n    },\n    \"accessScopeSettings\": {\n      \"type\": \"RESOURCE_DEFAULT\"\n    },\n    \"priority\": 0\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rcob0oNGTSWTBKOLGLNR\",\n  \"name\": \"Application | Permanent | Everyone\",\n  \"description\": \"A request condition allowing everyone to request permanent access to an application\",\n  \"approvalSequenceId\": \"61eb0f06c462d20007f051ac\",\n  \"requesterSettings\": {\n    \"type\": \"EVERYONE\"\n  },\n  \"accessScopeSettings\": {\n    \"type\": \"RESOURCE_DEFAULT\"\n  },\n  \"priority\": 0,\n  \"status\": \"INACTIVE\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":45,"estimatedTokens":293}}930{"id":"doc-tasks-2723e454","source":"documentation","title":"Tasks","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/tasks","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/tasks?filter=status%20eq%20%22OPEN%22&limit=20&after=68b0a1576dd8db837f5ee55d&orderBy=createdAt%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":78}}931{"id":"doc-resolve_my_task-bec4883a","source":"documentation","title":"Resolve my task","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-tasks/resolvemytaskv2","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v2/my/tasks/68b0a1576dd8db837f5ee55d/resolve \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"value\": \"APPROVED\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"68b0ed9802df442e8b601807\",\n  \"assignees\": [\n    { … },\n    { … }\n  ],\n  \"status\": \"COMPLETED\",\n  \"label\": \"This is an approval task\",\n  \"requestId\": \"req42kjDgk1EubTwo0g4\",\n  \"createdAt\": \"2019-08-24T14:15:22Z\",\n  \"updatedAt\": \"2019-08-24T14:15:22Z\",\n  \"type\": \"APPROVAL\",\n  \"value\": \"APPROVED\",\n  \"completedBy\": {\n    \"externalId\": \"00u1a2b3c4d5e6f7g8h9\",\n    \"type\": \"OKTA_USER\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":160}}932{"id":"doc-execute_an_action_on_a_security_access_review-20ec1527","source":"documentation","title":"Execute an action on a security access review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/executemysecurityaccessreviewaction","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/actions' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"actionType\": \"CLOSE_REVIEW\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":71}}933{"id":"doc-list_the_sub_access_items_for_an_access_item-a6e29134","source":"documentation","title":"List the sub-access items for an access item","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/listmysecurityaccessreviewsubaccesses","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/accesses/{securityAccessReviewAccessId}/sub-accesses?filter=name%20co%20%22Git%22&orderBy=priority%20desc&after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.887Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":102}}934{"id":"doc-list_the_access_items_for_a_security_access_revi-ee7af907","source":"documentation","title":"List the access items for a security access review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/listmysecurityaccessreviewaccesses","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/accesses?filter=name%20co%20%22Git%22&orderBy=priority%20desc&after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":91}}935{"id":"doc-list_the_security_access_reviews-42138d5b","source":"documentation","title":"List the security access reviews","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/listmysecurityaccessreviews","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews?filter=name%20co%20%22Git%22&orderBy=name%20desc&after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":76}}936{"id":"doc-generate_a_summary_for_a_security_access_review-2d8ab957","source":"documentation","title":"Generate a summary for a security access review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/generatemysecurityaccessreviewsummary","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/summary'\n```\n\nExample:\n```text\n{\n  \"message\": \"This app's overall priority is: High\\nThe reasons why this app was assigned priority of High include:\\n1. Usage history (HIGH): The user has not accessed this application in the last 90 days.\\n2. Assignment method (HIGH): This user's assignment method differs from 75% of other users who have access to this application.\\n\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":132}}937{"id":"doc-retrieve_the_principal_for_a_security_access_rev-8f0bf6f0","source":"documentation","title":"Retrieve the principal for a security access review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/getmysecurityaccessreviewprincipaldetails","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/principal'\n```\n\nExample:\n```text\n{\n  \"id\": \"00ucpjbi6JMmDvdN40g4\",\n  \"email\": \"john.doe@okta.com\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"login\": \"john.doe@okta.com\",\n  \"status\": \"ACTIVE\",\n  \"department\": \"Engineering\",\n  \"manager\": \"Jane Smith\",\n  \"role\": \"Software Engineer\",\n  \"homeLocation\": {\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"country\": \"USA\"\n  },\n  \"lastLoginInfo\": {\n    \"date\": \"2025-06-12T15:30:00Z\",\n    \"location\": { … },\n    \"device\": \"MacBook Pro\",\n    \"ipAddress\": \"127.0.0.1\"\n  },\n  \"oktaAdminRoles\": [\n    { … }\n  ],\n  \"createdBy\": \"00ucfd4IQoH6YBZgA0g4\",\n  \"created\": \"2025-06-13T00:40:57Z\",\n  \"lastUpdated\": \"2025-06-13T00:40:57Z\",\n  \"lastUpdatedBy\": \"00ucfd4IQoH6YBZgA0g4\",\n  \"_links\": {\n    \"securityAccessReviewDetails\": { … },\n    \"history\": { … },\n    \"userDetails\": { … },\n    \"accesses\": { … },\n    \"actions\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":47,"estimatedTokens":257}}938{"id":"doc-list_all_actions_for_a_security_access_review-8de2d916","source":"documentation","title":"List all actions for a security access review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/listmysecurityaccessreviewactions","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/actions'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":56}}939{"id":"doc-retrieve_the_statistics_for_security_access_revi-2ff8f3ad","source":"documentation","title":"Retrieve the statistics for security access reviews","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/getmysecurityaccessreviewsstats","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/stats\n```\n\nExample:\n```text\n{\n  \"activeCount\": 1,\n  \"pendingCount\": 0,\n  \"errorCount\": 0,\n  \"closedCount\": 0\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":59}}940{"id":"doc-execute_an_action_on_an_access_item-22c68d61","source":"documentation","title":"Execute an action on an access item","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/executemysecurityaccessreviewaccessesaction","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/accesses/{securityAccessReviewTargetId}/actions' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"REVOKE_ACCESS\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.888Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":80}}941{"id":"doc-list_all_resource_request_conditions-f3ba30df","source":"documentation","title":"List all resource request conditions","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-conditions/listresourcerequestconditionsv2","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-conditions'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":64}}942{"id":"doc-delete_a_request_condition-41995051","source":"documentation","title":"Delete a request condition","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-conditions/deleteresourcerequestconditionv2","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-conditions/rcord7d69lUIn7u5D1d5'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}943{"id":"doc-retrieve_a_security_access_review-7a31e136","source":"documentation","title":"Retrieve a security access review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/getmysecurityaccessreview","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"sar1lo5X9wmNTFX7x0g4\",\n  \"status\": \"PENDING\",\n  \"name\": \"Test SAR\",\n  \"reviewerSettings\": {\n    \"type\": \"USER\",\n    \"userSettings\": { … }\n  },\n  \"createdBy\": \"00ucfd4IQoH6YBZgA0g4\",\n  \"created\": \"2025-06-13T00:40:57Z\",\n  \"lastUpdated\": \"2025-06-13T00:40:57Z\",\n  \"lastUpdatedBy\": \"00ucfd4IQoH6YBZgA0g4\",\n  \"_links\": {\n    \"securityAccessReviewDetails\": { … },\n    \"history\": { … },\n    \"userDetails\": { … },\n    \"accesses\": { … },\n    \"actions\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":161}}944{"id":"doc-list_the_history_of_a_security_access_review-f274d859","source":"documentation","title":"List the history of a security access review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/listmysecurityaccessreviewhistory","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/history?after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":72}}945{"id":"doc-retrieve_a_resource_request_condition-8d37a170","source":"documentation","title":"Retrieve a resource request condition","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-conditions/getresourcerequestconditionv2","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-conditions/rcord7d69lUIn7u5D1d5'\n```\n\nExample:\n```text\n{\n  \"id\": \"rcob0oNGTSWTBKOLGLNR\",\n  \"name\": \"Default resource access\",\n  \"description\": \"This is a condition for requesting default resource access\",\n  \"approvalSequenceId\": \"61eb0f06c462d20007f051ac\",\n  \"requesterSettings\": {\n    \"type\": \"EVERYONE\"\n  },\n  \"accessScopeSettings\": {\n    \"type\": \"RESOURCE_DEFAULT\"\n  },\n  \"accessDurationSettings\": {\n    \"type\": \"ADMIN_FIXED_DURATION\",\n    \"duration\": \"P2W\"\n  },\n  \"priority\": 0,\n  \"status\": \"ACTIVE\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":209}}946{"id":"doc-generate_a_summary_for_an_access_item-57f4629b","source":"documentation","title":"Generate a summary for an access item","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-security-access-reviews/generatemysecurityaccessreviewaccessessummary","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v2/my/security-access-reviews/{securityAccessReviewId}/accesses/{securityAccessReviewTargetId}/summary'\n```\n\nExample:\n```text\n{\n  \"message\": \"This app's overall priority is: High\\nThe reasons why this app was assigned priority of High include:\\n1. Usage history (HIGH): The user has not accessed this application in the last 90 days.\\n2. Assignment method (HIGH): This user's assignment method differs from 75% of other users who have access to this application.\\n\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":142}}947{"id":"doc-activate_the_request_condition-42021d95","source":"documentation","title":"Activate the request condition","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-conditions/activateresourcerequestconditionv2","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-conditions/rcord7d69lUIn7u5D1d5/activate'\n```\n\nExample:\n```text\n{\n  \"id\": \"rcob0oNGTSWTBKOLGLNR\",\n  \"name\": \"Default resource access\",\n  \"description\": \"This is a condition for requesting default resource access\",\n  \"approvalSequenceId\": \"61eb0f06c462d20007f051ac\",\n  \"requesterSettings\": {\n    \"type\": \"EVERYONE\"\n  },\n  \"accessScopeSettings\": {\n    \"type\": \"RESOURCE_DEFAULT\"\n  },\n  \"accessDurationSettings\": {\n    \"type\": \"ADMIN_FIXED_DURATION\",\n    \"duration\": \"P2W\"\n  },\n  \"priority\": 0,\n  \"status\": \"ACTIVE\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":211}}948{"id":"doc-catalogs-c10da44d","source":"documentation","title":"Catalogs","url":"https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Catalogs/","text":"Example:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20&after=cen33e47frfMB93gQ8g6\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&match=figma&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&match=edit&limit=8\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&after=cenp2rjyxK1Js2Fc41d5&match=figma&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"atspoke\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":46,"estimatedTokens":230}}949{"id":"doc-update_the_request_condition-66dfa646","source":"documentation","title":"Update the request condition","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-conditions/updateresourcerequestconditionv2","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-conditions/rcord7d69lUIn7u5D1d5' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Application | Permanent | Everyone\",\n    \"description\": \"A request condition allowing everyone to request permanent access to an application\",\n    \"approvalSequenceId\": \"61eb0f06c462d20007f051ac\",\n    \"requesterSettings\": {\n      \"type\": \"EVERYONE\"\n    },\n    \"accessScopeSettings\": {\n      \"type\": \"RESOURCE_DEFAULT\"\n    },\n    \"priority\": 0\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rcob0oNGTSWTBKOLGLNR\",\n  \"name\": \"Default resource access\",\n  \"description\": \"This is a condition for requesting default resource access\",\n  \"approvalSequenceId\": \"61eb0f06c462d20007f051ac\",\n  \"requesterSettings\": {\n    \"type\": \"EVERYONE\"\n  },\n  \"accessScopeSettings\": {\n    \"type\": \"RESOURCE_DEFAULT\"\n  },\n  \"accessDurationSettings\": {\n    \"type\": \"ADMIN_FIXED_DURATION\",\n    \"duration\": \"P2W\"\n  },\n  \"priority\": 0,\n  \"status\": \"ACTIVE\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":49,"estimatedTokens":312}}950{"id":"doc-list_my_entries_for_the_default_access_request_c-07325600","source":"documentation","title":"List my entries for the default access request catalog","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-catalogs/listmydefaultentriesv2","text":"Example:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20&after=cen33e47frfMB93gQ8g6\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&match=figma&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&match=edit&limit=8\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries?filter=not(parent%20pr)&after=cenp2rjyxK1Js2Fc41d5&match=figma&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"atspoke\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":47,"estimatedTokens":233}}951{"id":"doc-request_settings-9c2d7e70","source":"documentation","title":"Request Settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-settings'\n```\n\nExample:\n```text\n{\n  \"validAccessScopeSettings\": [\n    { … },\n    { … }\n  ],\n  \"validRequesterSettings\": [\n    { … },\n    { … }\n  ],\n  \"validAccessDurationSettings\": {\n    \"required\": true,\n    \"maximumDays\": 365,\n    \"maximumHours\": 72,\n    \"maximumWeeks\": 52,\n    \"supportedTypes\": [ … ]\n  },\n  \"validRiskSettings\": {\n    \"supportedTypes\": []\n  },\n  \"validRequestOnBehalfOfSettings\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":140}}952{"id":"doc-retrieve_my_catalog_entry-6482c1df","source":"documentation","title":"Retrieve my catalog entry","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-catalogs/getmyentryv2","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5\n```\n\nExample:\n```text\n{\n  \"id\": \"cen33e47frfMB93gQ8g6\",\n  \"name\": \"Figma\",\n  \"description\": \"The Figma App\",\n  \"label\": \"Application\",\n  \"requestable\": false,\n  \"_links\": {\n    \"self\": { … },\n    \"logo\": [ … ],\n    \"submittedRequest\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":99}}953{"id":"doc-retrieve_my_settings-6b75d2fc","source":"documentation","title":"Retrieve my settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-settings/getmysettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v1/my/settings\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"appointments\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":46}}954{"id":"doc-list_all_resource_connections_for_my_review-532cc4f8","source":"documentation","title":"List all resource connections for my review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-access-certification-reviews/listmyresourceconnections","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/my/campaigns/{campaignId}/reviews/{reviewId}/agent-resource-connections/wlpkhjm0jnDp8RrUu0g4?after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":85}}955{"id":"doc-list_my_eligible_delegates-06e7051a","source":"documentation","title":"List my eligible delegates","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-settings/listmydelegateusers","text":"Example:\n```text\n/governance/api/v1/my/settings/delegates/users\n```\n\nExample:\n```text\n/governance/api/v1/my/settings/delegates/users?filter=lastName%20sw%20%22Smi%22\n```\n\nExample:\n```text\n/governance/api/v1/my/settings/delegates/users?filter=firstName%20sw%20%22John%22\n```\n\nExample:\n```text\n/governance/api/v1/my/settings/delegates/users?filter=firstName%20sw%20%22John%22%20OR%20lastName%20sw%20%22John%22\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/my/settings/delegate/users?filter=firstName%20sw%20%22John%22%20OR%20lastName%20sw%20%22John%22&after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … },\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":44,"estimatedTokens":198}}956{"id":"doc-retrieve_the_request_fields_for_my_catalog_entry-a53cb4bb","source":"documentation","title":"Retrieve the request fields for my catalog entry","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-catalogs/getmycatalogentryrequestfieldsv2","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5/request-fields\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":54}}957{"id":"doc-retrieve_the_entry_request_fields_for_a_user-098d6d46","source":"documentation","title":"Retrieve the entry request fields for a user","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-catalogs/getmycatalogentryuserrequestfieldsv2","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5/users/00ucvnr9rbONeZdRp1d7/request-fields\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.891Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":61}}958{"id":"doc-list_my_catalog_entry_users-49e73bc2","source":"documentation","title":"List my catalog entry users","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-catalogs/listmyentryusersv2","text":"Example:\n```text\n/governance/api/v2/my/catalogs/default/entries/{entryId}/users?filter=lastName%20sw%20%22Smi%22\n```\n\nExample:\n```text\n/governance/api/v2/my/catalogs/default/entries/{entryId}/users?filter=firstName%20sw%20%22John%22\n```\n\nExample:\n```text\n/governance/api/v2/my/catalogs/default/entries/{entryId}/users?filter=firstName%20sw%20%22John%22%20OR%20lastName%20sw%20%22John%22\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5/users?filter=firstName%20sw%20%22John%22%20OR%20lastName%20sw%20%22John%22&after=00u68w6vzKLultXS97g6&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … },\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":39,"estimatedTokens":199}}959{"id":"doc-update_my_settings-0519f7ba","source":"documentation","title":"Update my settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-settings/updatemysettings","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/governance/api/v1/my/settings \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"delegates\": {\n      \"appointments\": [\n        {\n          \"id\": \"gda123ABCXYZ456DEF\",\n          \"delegate\": {\n            \"type\": \"OKTA_USER\",\n            \"externalId\": \"00ub0oNGTSWTBKOLGLNR\"\n          },\n          \"note\": \"I am on parental leave\"\n        }\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"appointments\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":130}}960{"id":"doc-create_a_request-d55d8bbd","source":"documentation","title":"Create a request","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-requests/createmyrequestv2","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5/requests \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'\n```\n\nExample:\n```text\n{\n  \"id\": \"req42kjDgk1EubTwo0g4\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-05T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"SUBMITTED\",\n  \"requestedBy\": {\n    \"type\": \"OKTA_USER\",\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\"\n  },\n  \"requestedFor\": {\n    \"type\": \"OKTA_USER\",\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\"\n  },\n  \"requested\": {\n    \"entryId\": \"cenb0oADRXTBKOLGLNR\",\n    \"resourceId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"resourceType\": \"APPLICATION\",\n    \"accessScopeType\": \"APPLICATION\",\n    \"accessScopeId\": \"0oafxqCAJWWGELFTYASJ\"\n  },\n  \"_links\": {\n    \"catalogEntry\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":40,"estimatedTokens":229}}961{"id":"doc-retrieve_the_status_of_a_bulk_review_submission-4a81410e","source":"documentation","title":"Retrieve the status of a bulk-review submission","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-access-certification-reviews/getcampaignbulkdecisionsjobstatus","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/my/campaigns/{campaignId}/reviews/bulk-decisions/jobs/{jobId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"aae3l2XZ300xRq1rV0g3\",\n  \"status\": \"COMPLETED\",\n  \"eligibleReviewRecordCount\": 100,\n  \"_links\": {\n    \"self\": { … },\n    \"reviewRecordsProcessed\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":89}}962{"id":"doc-retrieve_my_request-0cf09c5b","source":"documentation","title":"Retrieve my request","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-requests/getmyrequestv2","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5/requests/reqp1pmpjhVdGEcVK1d5\n```\n\nExample:\n```text\n{\n  \"id\": \"req42kjDgk1EubTwo0g4\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-05T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"SUBMITTED\",\n  \"requestedBy\": {\n    \"type\": \"OKTA_USER\",\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\"\n  },\n  \"requestedFor\": {\n    \"type\": \"OKTA_USER\",\n    \"externalId\": \"00ub0oNGTSWTBKOLGLNR\"\n  },\n  \"requesterFieldValues\": [\n    { … }\n  ],\n  \"requested\": {\n    \"entryId\": \"cenb0oADRXTBKOLGLNR\",\n    \"resourceId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"resourceType\": \"APPLICATION\",\n    \"accessScopeId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"accessScopeType\": \"APPLICATION\"\n  },\n  \"requestApproval\": {\n    \"type\": \"OKTA\",\n    \"providerName\": \"Okta Access Requests\",\n    \"providerDescription\": \"Okta Access Requests\",\n    \"permalinkId\": 1\n  },\n  \"_links\": {\n    \"catalogEntry\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":47,"estimatedTokens":273}}963{"id":"doc-update_the_org_request_settings-b26d9aca","source":"documentation","title":"Update the org request settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-settings/updateorgrequestsettingsv2","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/governance/api/v2/request-settings \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"subprocessorsAcknowledged\": true\n  }'\n```\n\nExample:\n```text\n{\n  \"subprocessorsAcknowledged\": true\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.893Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":68}}964{"id":"doc-submit_a_bulk_review_decision-2b1de849","source":"documentation","title":"Submit a bulk-review decision","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-access-certification-reviews/submitcampaignbulkdecisions","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v1/my/campaigns/{campaignId}/reviews/bulk-decisions' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"criteria\": {\n      \"type\": \"GOVERNANCE_ANALYZER\",\n      \"govAnalyzerCriteria\": {\n        \"recommendedActionDecision\": \"APPROVE\"\n      }\n    },\n    \"reviewDecision\": \"APPROVE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"status\": \"ACCEPTED\",\n  \"eligibleReviewRecordCount\": 100,\n  \"jobId\": \"aae3l2XZ300xRq1rV0g3\",\n  \"_links\": {\n    \"self\": { … },\n    \"bulkReviewDecisionStatus\": { … },\n    \"reviewRecordsProcessed\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.893Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":155}}965{"id":"doc-my_catalogs-4f699439","source":"documentation","title":"My Catalogs","url":"https://developer.okta.com/docs/api/iga/openapi/governance.requests.enduser.v2/tag/My-Catalogs/","text":"Example:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20&after=cen33e47frfMB93gQ8g6\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&match=figma&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&match=edit&limit=8\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/my/catalogs/default/entries?filter=not(parent%20pr)&after=cenp2rjyxK1Js2Fc41d5&match=figma&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"atspoke\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.893Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":47,"estimatedTokens":233}}966{"id":"doc-update_the_resource_request_settings-5f749cf4","source":"documentation","title":"Update the resource request settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-settings/updateresourcerequestsettingsv2","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-settings' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"requestOnBehalfOfSettings\": {\n      \"allowed\": true\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"validAccessScopeSettings\": [\n    { … },\n    { … }\n  ],\n  \"validRequesterSettings\": [\n    { … },\n    { … }\n  ],\n  \"validAccessDurationSettings\": {\n    \"required\": true,\n    \"maximumDays\": 365,\n    \"maximumHours\": 72,\n    \"maximumWeeks\": 52,\n    \"supportedTypes\": [ … ]\n  },\n  \"validRiskSettings\": {\n    \"supportedTypes\": []\n  },\n  \"validRequestOnBehalfOfSettings\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.893Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":41,"estimatedTokens":170}}967{"id":"doc-social_login_okta_developer-6a1d2c2b","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/github/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```text\nappuser.email == null ? appuser.externalId + '@github.example.com' : appuser.email\n```\n\nExample:\n```text\nidpuser.email == null ? idpuser.externalId + '@github.example.com' : idpuser.email\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'GITHUB', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":24,"estimatedTokens":150}}968{"id":"doc-submit_my_review_actions-d1cfc91d","source":"documentation","title":"Submit my review actions","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-access-certification-reviews/submitmycampaignreviewactions","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v1/my/campaigns/{campaignId}/reviews/actions' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"reviews\": [\n      {\n        \"reviewId\": \"icraveS4pQxfJrPRa0g3\",\n        \"action\": \"REVOKE\",\n        \"note\": \"Reviewed during Q1 access certification\"\n      },\n      {\n        \"reviewId\": \"icran1tBlqTx9Qdvz0g3\",\n        \"action\": \"REVOKE\",\n        \"note\": \"Reviewed during Q1 access certification\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":154}}969{"id":"doc-social_login_okta_developer-b6826e57","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/amazon/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'AMAZON', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}970{"id":"doc-list_my_reviews_for_a_campaign-ab813c36","source":"documentation","title":"List my reviews for a campaign","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-enduser-reference/my-access-certification-reviews/listcampaignreviews","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/my/campaigns/{campaignId}/reviews?filter=decision%20eq%20%22UNREVIEWED%22&after=00u68w6vzKLultXS97g6&limit=20&orderBy=decided%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.895Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":86}}971{"id":"doc-social_login_okta_developer-0733820f","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/xero/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'XERO', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.895Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}972{"id":"doc-social_login_okta_developer-598f333a","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/spotify/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'SPOTIFY', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.895Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}973{"id":"doc-social_login_okta_developer-f059d9de","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/yahoo/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'YAHOO', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}974{"id":"doc-retrieve_the_org_request_settings-b99817e4","source":"documentation","title":"Retrieve the org request settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-settings/getorgrequestsettingsv2","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/request-settings\n```\n\nExample:\n```text\n{\n  \"subprocessorsAcknowledged\": false,\n  \"provisioningStatus\": \"NOT_PROVISIONED\",\n  \"requestExperiences\": [],\n  \"longTimePastProvisioned\": false\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":72}}975{"id":"doc-social_login_okta_developer-0c05edab","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/salesforce/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'SALESFORCE', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}976{"id":"doc-social_login_okta_developer-0cba78ca","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/gitlab/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'GITLAB', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":97}}977{"id":"doc-retrieve_the_resource_request_settings-76fe852d","source":"documentation","title":"Retrieve the resource request settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/request-settings/getrequestsettingsv2","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/resources/{resourceId}/request-settings'\n```\n\nExample:\n```text\n{\n  \"validAccessScopeSettings\": [\n    { … },\n    { … }\n  ],\n  \"validRequesterSettings\": [\n    { … },\n    { … }\n  ],\n  \"validAccessDurationSettings\": {\n    \"required\": true,\n    \"maximumDays\": 365,\n    \"maximumHours\": 72,\n    \"maximumWeeks\": 52,\n    \"supportedTypes\": [ … ]\n  },\n  \"validRiskSettings\": {\n    \"supportedTypes\": []\n  },\n  \"validRequestOnBehalfOfSettings\": [\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.897Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":140}}978{"id":"doc-social_login_okta_developer-45836478","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/yahoojp/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'YAHOOJP', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.897Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":98}}979{"id":"doc-social_login_okta_developer-abd1c7a5","source":"documentation","title":"Social Login | Okta Developer","url":"https://developer.okta.com/docs/guides/social-login/paypal/main/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/authorize?idp={idp_id}&client_id={client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'PAYPAL', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\nExample:\n```javascript\nconfig.idps= [\n        { type: 'PAYPAL_SANDBOX', id: 'Your_IDP_ID' }\n    ];\n    config.idpDisplay = \"SECONDARY\";\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":22,"estimatedTokens":133}}980{"id":"doc-delete_a_device_assurance_policy-3ee1d1fb","source":"documentation","title":"Delete a device assurance policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceassurance/other/deletedeviceassurancepolicy","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/device-assurances/{deviceAssuranceId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}981{"id":"doc-list_all_device_assurance_policies-58e3795e","source":"documentation","title":"List all device assurance policies","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceassurance/other/listdeviceassurancepolicies","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/device-assurances\n```\n\nExample:\n```text\n[\n  {\n    \"createdBy\": \"string\",\n    \"createdDate\": \"string\",\n    \"displayRemediationMode\": \"SHOW\",\n    \"gracePeriod\": { … },\n    \"id\": \"string\",\n    \"lastUpdate\": \"string\",\n    \"lastUpdatedBy\": \"string\",\n    \"name\": \"string\",\n    \"platform\": \"WINDOWS\",\n    \"_links\": { … },\n    \"diskEncryptionType\": { … },\n    \"osVersion\": { … },\n    \"osVersionConstraints\": [ … ],\n    \"screenLockType\": { … },\n    \"secureHardwarePresent\": true,\n    \"thirdPartySignalProviders\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":151}}982{"id":"doc-retrieve_a_device_assurance_policy-727a8735","source":"documentation","title":"Retrieve a device assurance policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceassurance/other/getdeviceassurancepolicy","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/device-assurances/{deviceAssuranceId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"dae3m8o4rWhwReDeM1c5\",\n  \"name\": \"Device assurance Android\",\n  \"lastUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"createdDate\": \"2022-01-01T00:00:00.000Z\",\n  \"lastUpdatedBy\": \"00u217pyf72CdUrBt1c5\",\n  \"createdBy\": \"00u217pyf72CdUrBt1c5\",\n  \"osVersion\": {\n    \"minimum\": \"12.4.5\"\n  },\n  \"diskEncryptionType\": {\n    \"include\": [ … ]\n  },\n  \"jailbreak\": false,\n  \"platform\": \"ANDROID\",\n  \"screenLockType\": {\n    \"include\": [ … ]\n  },\n  \"secureHardwarePresent\": true,\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":34,"estimatedTokens":164}}983{"id":"doc-retrieve_an_ai_agent_connection-5b34d047","source":"documentation","title":"Retrieve an AI agent connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentconnections/other/getresourceconnection","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpkhjm0jnDp8RrUu0g4/connections/mcn1a2b3c4d5e6f7g8h9\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"IDENTITY_ASSERTION_CUSTOM_AS\",\n  \"id\": \"mcn6f7g8h9i0j1k2l3m4\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn6f7g8h9i0j1k2l3m4\",\n  \"status\": \"ACTIVE\",\n  \"resourceIndicator\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:crm:0oa1gjh63g214q0Hq0g4\",\n  \"authorizationServer\": {\n    \"orn\": \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:authorization_servers:aus5rb5mt2H3d1TJd0h7\",\n    \"name\": \"Custom Authorization Server for CRM API\",\n    \"issuerUrl\": \"https://{yourOktaDomain}/oauth2/aus3m4n5k6l7p8q9r0s1\",\n    \"_links\": { … }\n  },\n  \"scopeCondition\": \"INCLUDE_ONLY\",\n  \"scopes\": [\n    \"crm.read\",\n    \"crm.write\"\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.899Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":217}}984{"id":"doc-replace_a_device_assurance_policy-f47a997a","source":"documentation","title":"Replace a device assurance policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceassurance/other/replacedeviceassurancepolicy","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/device-assurances/{deviceAssuranceId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Device assurance Android\",\n    \"osVersion\": {\n      \"minimum\": \"12\"\n    },\n    \"diskEncryptionType\": {\n      \"include\": [\n        \"USER\",\n        \"FULL\"\n      ]\n    },\n    \"jailbreak\": false,\n    \"platform\": \"ANDROID\",\n    \"screenLockType\": {\n      \"include\": [\n        \"BIOMETRIC\"\n      ]\n    },\n    \"secureHardwarePresent\": true\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"dae3m8o4rWhwReDeM1c5\",\n  \"name\": \"Device assurance Android\",\n  \"lastUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"createdDate\": \"2022-01-01T00:00:00.000Z\",\n  \"lastUpdatedBy\": \"00u217pyf72CdUrBt1c5\",\n  \"createdBy\": \"00u217pyf72CdUrBt1c5\",\n  \"osVersion\": {\n    \"minimum\": \"12.4.5\"\n  },\n  \"diskEncryptionType\": {\n    \"include\": [ … ]\n  },\n  \"jailbreak\": false,\n  \"platform\": \"ANDROID\",\n  \"screenLockType\": {\n    \"include\": [ … ]\n  },\n  \"secureHardwarePresent\": true,\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.899Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":55,"estimatedTokens":264}}985{"id":"doc-create_a_device_assurance_policy-db70deed","source":"documentation","title":"Create a device assurance policy","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceassurance/other/createdeviceassurancepolicy","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/device-assurances \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Device assurance Android\",\n    \"osVersion\": {\n      \"minimum\": \"12\"\n    },\n    \"diskEncryptionType\": {\n      \"include\": [\n        \"USER\",\n        \"FULL\"\n      ]\n    },\n    \"jailbreak\": false,\n    \"platform\": \"ANDROID\",\n    \"screenLockType\": {\n      \"include\": [\n        \"BIOMETRIC\"\n      ]\n    },\n    \"secureHardwarePresent\": true\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"dae3m8o4rWhwReDeM1c5\",\n  \"name\": \"Device assurance Android\",\n  \"lastUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"createdDate\": \"2022-01-01T00:00:00.000Z\",\n  \"lastUpdatedBy\": \"00u217pyf72CdUrBt1c5\",\n  \"createdBy\": \"00u217pyf72CdUrBt1c5\",\n  \"osVersion\": {\n    \"minimum\": \"12.4.5\"\n  },\n  \"diskEncryptionType\": {\n    \"include\": [ … ]\n  },\n  \"jailbreak\": false,\n  \"platform\": \"ANDROID\",\n  \"screenLockType\": {\n    \"include\": [ … ]\n  },\n  \"secureHardwarePresent\": true,\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.900Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":55,"estimatedTokens":259}}986{"id":"doc-deactivate_an_ai_agent_resource_connection-cd40991d","source":"documentation","title":"Deactivate an AI agent resource connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentconnections/other/deactivateresourceconnection","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpkhjm0jnDp8RrUu0g4/connections/mcn1a2b3c4d5e6f7g8h9/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"STS_VAULT_SECRET\",\n  \"id\": \"mcn0j1k2l3m4n5o6p7q8\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn0j1k2l3m4n5o6p7q8\",\n  \"status\": \"INACTIVE\",\n  \"resourceIndicator\": \"https://api.crm.company.com\",\n  \"secret\": {\n    \"orn\": \"orn:okta:pam:00o1n8sbwArJ7OQRw406:secrets:d2642f68-df50-4ba8-a898-6c0f82f89d8a\",\n    \"name\": \"Database Root Password\",\n    \"path\": \"/secrets/database/root-password\",\n    \"description\": \"Root password for production database server\",\n    \"_links\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.900Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":192}}987{"id":"doc-update_a_resource_connection-86b830b9","source":"documentation","title":"Update a resource connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentconnections/other/updateresourceconnection","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpkhjm0jnDp8RrUu0g4/connections/mcn1a2b3c4d5e6f7g8h9 \\\n  -H 'Content-Type: application/merge-patch+json' \\\n  -d '{\n    \"scopeCondition\": \"INCLUDE_ONLY\",\n    \"scopes\": [\n      \"crm.contacts.read\",\n      \"crm.accounts.write\",\n      \"crm.reports.read\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"IDENTITY_ASSERTION_CUSTOM_AS\",\n  \"id\": \"mcn1a2b3c4d5e6f7g8h9\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn1a2b3c4d5e6f7g8h9\",\n  \"status\": \"ACTIVE\",\n  \"resourceIndicator\": \"https://api.crm.company.com\",\n  \"authorizationServer\": {\n    \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:authorization_servers:aus1gjh63g214q0Hq0g4\",\n    \"name\": \"CRM Authorization Server\",\n    \"issuerUrl\": \"https://{yourOktaDomain}/oauth2/aus1gjh63g214q0Hq0g4\",\n    \"_links\": { … }\n  },\n  \"scopeCondition\": \"INCLUDE_ONLY\",\n  \"scopes\": [\n    \"crm.contacts.read\",\n    \"crm.accounts.write\",\n    \"crm.reports.read\"\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.900Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":42,"estimatedTokens":267}}988{"id":"doc-retrieve_a_device_integration-60422dd6","source":"documentation","title":"Retrieve a device integration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceintegrations/other/getdeviceintegration","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/device-integrations/{deviceIntegrationId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"dindyfy1f7Pv1eoVF0g4\",\n  \"name\": \"com.okta.deviceidp\",\n  \"displayName\": \"Device Posture Provider\",\n  \"status\": \"DEACTIVATED\",\n  \"platform\": \"IOS\",\n  \"metadata\": {\n    \"type\": \"DEVICE_IDP\",\n    \"idpId\": \"0oa2owlGX5l74kjr60g4\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"activate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.900Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":114}}989{"id":"doc-list_all_device_posture_checks-92c93b31","source":"documentation","title":"List all device posture checks","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceposturecheck/other/listdeviceposturechecks","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/device-posture-checks\n```\n\nExample:\n```text\n[\n  {\n    \"createdBy\": \"00u217pyf72CdUrBt1c5\",\n    \"createdDate\": \"2019-10-02T18:03:07.000Z\",\n    \"description\": \"Query macOS devices to check if firewall is enabled\",\n    \"id\": \"dch3m8o4rWhwReDeM1c5\",\n    \"lastUpdate\": \"2019-10-02T18:03:07.000Z\",\n    \"lastUpdatedBy\": \"00u217pyf72CdUrBt1c5\",\n    \"mappingType\": \"CHECKBOX\",\n    \"name\": \"Device posture check macOS\",\n    \"platform\": \"MACOS\",\n    \"query\": \"SELECT CASE WHEN global_state = 0 THEN 0 ELSE 1 END AS firewall_enabled FROM  alf;\",\n    \"remediationSettings\": { … },\n    \"type\": \"BUILTIN\",\n    \"variableName\": \"macOSFirewall\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.900Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":29,"estimatedTokens":186}}990{"id":"doc-list_all_device_integrations-10405c23","source":"documentation","title":"List all device integrations","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceintegrations/other/listdeviceintegrations","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/device-integrations\n```\n\nExample:\n```text\n[\n  {\n    \"displayName\": \"string\",\n    \"id\": \"string\",\n    \"metadata\": { … },\n    \"name\": \"com.android.zero.trust\",\n    \"platform\": \"ANDROID\",\n    \"status\": \"ACTIVE\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":81}}991{"id":"doc-delete_a_device_posture_check-a6970ebb","source":"documentation","title":"Delete a device posture check","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceposturecheck/other/deletedeviceposturecheck","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/api/v1/device-posture-checks/{postureCheckId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}992{"id":"doc-create_a_device_posture_check-5489bd11","source":"documentation","title":"Create a device posture check","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceposturecheck/other/createdeviceposturecheck","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/device-posture-checks \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Device posture check macOS\",\n    \"description\": \"Query macOS devices to check if firewall is enabled\",\n    \"variableName\": \"macOSFirewall\",\n    \"platform\": \"MACOS\",\n    \"type\": \"CUSTOM\",\n    \"mappingType\": \"CHECKBOX\",\n    \"query\": \"SELECT CASE WHEN global_state = 0 THEN 0 ELSE 1 END AS firewall_enabled FROM alf;\",\n    \"remediationSettings\": {\n      \"message\": {\n        \"defaultI18nKey\": null,\n        \"customText\": \"It is our company policy that all devices must have a firewall enabled.\"\n      },\n      \"link\": {\n        \"defaultUrl\": null,\n        \"customUrl\": \"example.myremediationurl.com/docs\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"dch3m8o4rWhwReDeM1c5\",\n  \"name\": \"Device posture check macOS\",\n  \"lastUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"createdUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"lastUpdatedBy\": \"00u217pyf72CdUrBt1c5\",\n  \"createdBy\": \"00u217pyf72CdUrBt1c5\",\n  \"description\": \"Query macOS devices to check if firewall is enabled\",\n  \"variableName\": \"macOSFirewall\",\n  \"query\": \"SELECT CASE WHEN global_state = 0 THEN 0 ELSE 1 END AS firewall_enabled FROM  alf;\",\n  \"platform\": \"MACOS\",\n  \"type\": \"CUSTOM\",\n  \"mappingType\": \"CHECKBOX\",\n  \"remediationSettings\": {\n    \"message\": { … },\n    \"link\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":52,"estimatedTokens":363}}993{"id":"doc-activate_a_device_integration-48e72732","source":"documentation","title":"Activate a device integration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceintegrations/other/activatedeviceintegration","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/device-integrations/{deviceIntegrationId}/lifecycle/activate'\n```\n\nExample:\n```text\n{\n  \"id\": \"din15gaNrC7BvlBgx0g4\",\n  \"name\": \"com.google.dtc\",\n  \"displayName\": \"Chrome Device Trust\",\n  \"status\": \"ACTIVE\",\n  \"platform\": \"CHROMEOS\",\n  \"metadata\": {\n    \"type\": \"CHROME\",\n    \"serviceAccountName\": \"okta-gci-00o158oxTmBNgrgyM0g4\",\n    \"serviceAccountEmail\": \"okta-gci-00o158oxTmBNgrgyM0g4@vocal-invention-346218.iam.gserviceaccount.com\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":149}}994{"id":"doc-retrieve_a_device_posture_check-a71affb2","source":"documentation","title":"Retrieve a device posture check","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceposturecheck/other/getdeviceposturecheck","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/device-posture-checks/{postureCheckId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"dch3m8o4rWhwReDeM1c5\",\n  \"name\": \"Device posture check macOS\",\n  \"lastUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"createdUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"lastUpdatedBy\": \"00u217pyf72CdUrBt1c5\",\n  \"createdBy\": \"00u217pyf72CdUrBt1c5\",\n  \"description\": \"Query macOS devices to check if firewall is enabled\",\n  \"variableName\": \"macOSFirewall\",\n  \"query\": \"SELECT CASE WHEN global_state = 0 THEN 0 ELSE 1 END AS firewall_enabled FROM  alf;\",\n  \"platform\": \"MACOS\",\n  \"type\": \"CUSTOM\",\n  \"mappingType\": \"CHECKBOX\",\n  \"remediationSettings\": {\n    \"message\": { … },\n    \"link\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":196}}995{"id":"doc-deactivate_a_device_integration-52674e49","source":"documentation","title":"Deactivate a device integration","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceintegrations/other/deactivatedeviceintegration","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/device-integrations/{deviceIntegrationId}/lifecycle/deactivate'\n```\n\nExample:\n```text\n{\n  \"id\": \"dindyfy1f7Pv1eoVF0g4\",\n  \"name\": \"com.okta.deviceidp\",\n  \"displayName\": \"Device Posture Provider\",\n  \"status\": \"DEACTIVATED\",\n  \"platform\": \"IOS\",\n  \"metadata\": {\n    \"type\": \"DEVICE_IDP\",\n    \"idpId\": \"0oa2owlGX5l74kjr60g4\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"activate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":120}}996{"id":"doc-list_all_entitlement_values-535c6f7d","source":"documentation","title":"List all entitlement values","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/listallentitlementvalues","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/entitlements/values?limit=200&after=00u68w6vzKLultXS97g6&filter=parent.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20parent.type%20eq%20%22APPLICATION%22&orderBy=name%20asc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  },\n  \"metadata\": {\n    \"total\": 2\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":104}}997{"id":"doc-replace_an_entitlement-42c01a26","source":"documentation","title":"Replace an entitlement","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/replaceentitlement","text":"Example:\n```text\n[\n  {\n    \"name\": \"my-object-1\",\n    \"description\": \"The unique instance of my-object-1\"\n  }\n]\n```\n\nExample:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/governance/api/v1/entitlements/{entitlementId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"esp2lr1lavoGDYw5U8g6\",\n    \"name\": \"License Entitlement\",\n    \"externalValue\": \"license_entitlement\",\n    \"description\": \"Entitlement description\",\n    \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n    \"parent\": {\n      \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n      \"type\": \"APPLICATION\"\n    },\n    \"multiValue\": true,\n    \"dataType\": \"string\",\n    \"values\": [\n      {\n        \"id\": \"ent148gF8aZoRfFsh0g4\",\n        \"name\": \"value1\",\n        \"description\": \"description for value1\",\n        \"externalValue\": \"value_1\",\n        \"orn\": \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-values:ent148gF8aZoRfFsh0g4\"\n      },\n      {\n        \"id\": \"entotuwr1z1efm5RA1d6\",\n        \"name\": \"value2\",\n        \"description\": \"new value for entitlement\",\n        \"externalValue\": \"value_2\",\n        \"orn\": \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-values:entotuwr1z1efm5RA1d6\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"esp2lr1lavoGDYw5U8g6\",\n  \"name\": \"License Entitlement\",\n  \"externalValue\": \"license_entitlement\",\n  \"description\": \"Some license entitlement\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"parent\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"multiValue\": true,\n  \"dataType\": \"string\",\n  \"required\": false,\n  \"values\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"values\": { … }\n  },\n  \"metadata\": {\n    \"total\": 2\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":80,"estimatedTokens":495}}998{"id":"doc-replace_a_resource_set-c1779914","source":"documentation","title":"Replace a resource set","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourceset/other/replaceresourceset","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"label\": \"SF-IT-People\",\n    \"description\": \"People in the IT department of San Francisco\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"iamoJDFKaJxGIr0oamd9g\",\n  \"label\": \"SF-IT-People\",\n  \"description\": \"People in the IT department of San Francisco\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resources\": { … },\n    \"bindings\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":150}}999{"id":"doc-list_all_resource_sets-d7c1eeac","source":"documentation","title":"List all resource sets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourceset/other/listresourcesets","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/iam/resource-sets?after=string'\n```\n\nExample:\n```text\n{\n  \"resource-sets\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":58}}1000{"id":"doc-retrieve_a_user_role_governance_source-97a345fa","source":"documentation","title":"Retrieve a user role governance source","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentauser/other/getroleassignmentgovernancegrant","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/governance/iJoqkwx50mrgX4T9LcaH\n```\n\nExample:\n```text\n{\n  \"type\": \"ENTITLEMENT-BUNDLE\",\n  \"grantId\": \"grai2556vZgWesWf10g4\",\n  \"bundleId\": \"enbhz2pAwtts9UBes0g4\",\n  \"expirationDate\": \"2024-12-09 14:17:22.0\",\n  \"_links\": {\n    \"resources\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":104}}1001{"id":"doc-delete_an_entitlement-02b70390","source":"documentation","title":"Delete an entitlement","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/deleteentitlement","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/governance/api/v1/entitlements/{entitlementId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}1002{"id":"doc-retrieve_a_resource_set-b773ebd0","source":"documentation","title":"Retrieve a resource set","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourceset/other/getresourceset","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g\n```\n\nExample:\n```text\n{\n  \"id\": \"iamoJDFKaJxGIr0oamd9g\",\n  \"label\": \"SF-IT-People\",\n  \"description\": \"People in the IT department of San Francisco\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resources\": { … },\n    \"bindings\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":112}}1003{"id":"doc-list_all_entitlements-9f0fe694","source":"documentation","title":"List all entitlements","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/listentitlements","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/entitlements?limit=20&after=00u68w6vzKLultXS97g6&filter=parent.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20parent.type%20eq%20%22APPLICATION%22&orderBy=name%20asc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  },\n  \"metadata\": {\n    \"total\": 2\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":102}}1004{"id":"doc-list_all_user_role_assignments-898e4381","source":"documentation","title":"List all user role assignments","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentauser/other/listassignedrolesforuser","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles?expand=targets%2Fgroups'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"IFIFAX2BIRGUSTQ\",\n    \"label\": \"Application administrator\",\n    \"type\": \"APP_ADMIN\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2019-02-06T16:17:40.000Z\",\n    \"lastUpdated\": \"2019-02-06T16:17:40.000Z\",\n    \"assignmentType\": \"USER\",\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"JBCUYUC7IRCVGS27IFCE2SKO\",\n    \"label\": \"Help Desk administrator\",\n    \"type\": \"HELP_DESK_ADMIN\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2019-02-06T16:17:40.000Z\",\n    \"lastUpdated\": \"2019-02-06T16:17:40.000Z\",\n    \"assignmentType\": \"USER\",\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"ra125eqBFpETrMwu80g4\",\n    \"label\": \"Organization administrator\",\n    \"type\": \"ORG_ADMIN\",\n    \"status\": \"ACTIVE\",\n    \"created\": \"2019-02-06T16:17:40.000Z\",\n    \"lastUpdated\": \"2019-02-06T16:17:40.000Z\",\n    \"assignmentType\": \"USER\",\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"gra25fapn1prGTBKV0g4\",\n    \"label\": \"API Access Management administrator\",\n    \"type\": \"API_ACCESS_MANAGEMENT_ADMIN\",\n    \"status\": \"ACTIVE\",\n    \"created\"\": \"2019-02-06T16:20:57.000Z\",\n    \"lastUpdated\"\": \"2019-02-06T16:20:57.000Z\",\n    \"assignmentType\"\": \"GROUP\",\n    \"_links\"\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.903Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":53,"estimatedTokens":326}}1005{"id":"doc-list_all_values_for_an_entitlement-ef1cf22d","source":"documentation","title":"List all values for an entitlement","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/listentitlementvalues","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/entitlements/{entitlementId}/values?limit=20&after=00u68w6vzKLultXS97g6&filter=name%20sw%20%22License%22&orderBy=name%20asc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  },\n  \"metadata\": {\n    \"total\": 2\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.903Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":90}}1006{"id":"doc-assign_a_user_role-11737eec","source":"documentation","title":"Assign a user role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleassignmentauser/other/assignroletouser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles?disableNotifications=false' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"type\": \"API_ACCESS_MANAGEMENT_ADMIN\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ra1b8anIk7rx7em7L0g4\",\n  \"label\": \"Super Organization administrator\",\n  \"type\": \"SUPER_ADMIN\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2015-09-06T15:28:47.000Z\",\n  \"lastUpdated\": \"2015-09-06T15:28:47.000Z\",\n  \"assignmentType\": \"USER\",\n  \"_links\": {\n    \"assignee\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.903Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":139}}1007{"id":"doc-retrieve_an_entitlement-c808fd16","source":"documentation","title":"Retrieve an entitlement","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/getentitlement","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/entitlements/{entitlementId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"espfxqCAJWWGELFTYASJ\",\n  \"name\": \"Role\",\n  \"externalValue\": \"Role\",\n  \"description\": \"This is a role entitlement\",\n  \"multiValue\": true,\n  \"required\": false,\n  \"dataType\": \"string\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ\",\n  \"parent\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"values\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"values\": { … }\n  },\n  \"metadata\": {\n    \"total\": 1\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.903Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":39,"estimatedTokens":202}}1008{"id":"doc-update_the_entitlement-fbb7c57d","source":"documentation","title":"Update the entitlement","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/updateentitlement","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://subdomain.okta.com/governance/api/v1/entitlements/{entitlementId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '[\n    {\n      \"op\": \"ADD\",\n      \"path\": \"/values/-\",\n      \"value\": {\n        \"name\": \"value1\",\n        \"description\": \"description for value1\",\n        \"externalValue\": \"value_1\"\n      },\n      \"refType\": \"ENTITLEMENT-VALUE\"\n    },\n    {\n      \"op\": \"REMOVE\",\n      \"path\": \"/values/ent148gF8aZoRfFsh0g4\",\n      \"refType\": \"ENTITLEMENT-VALUE\"\n    },\n    {\n      \"op\": \"REPLACE\",\n      \"path\": \"/values/ent148gF8aZoRfFsh0g4\",\n      \"value\": {\n        \"name\": \"value1\",\n        \"description\": \"replace description for value1\"\n      },\n      \"refType\": \"ENTITLEMENT-VALUE\"\n    },\n    {\n      \"op\": \"ADD\",\n      \"path\": \"/description\",\n      \"value\": \"add description for entitlement\",\n      \"refType\": \"ENTITLEMENT\"\n    },\n    {\n      \"op\": \"REMOVE\",\n      \"path\": \"/description\",\n      \"refType\": \"ENTITLEMENT\"\n    },\n    {\n      \"op\": \"REPLACE\",\n      \"path\": \"/description\",\n      \"value\": \"replace description for entitlement\",\n      \"refType\": \"ENTITLEMENT\"\n    },\n    {\n      \"op\": \"REPLACE\",\n      \"path\": \"/name\",\n      \"value\": \"replace name for entitlement\",\n      \"refType\": \"ENTITLEMENT\"\n    }\n  ]'\n```\n\nExample:\n```text\n{\n  \"id\": \"esp2lr1lavoGDYw5U8g6\",\n  \"name\": \"License Entitlement\",\n  \"externalValue\": \"license_entitlement\",\n  \"description\": \"Some license entitlement\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"parent\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"multiValue\": true,\n  \"dataType\": \"string\",\n  \"required\": false,\n  \"values\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"values\": { … }\n  },\n  \"metadata\": {\n    \"total\": 2\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.903Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":90,"estimatedTokens":503}}1009{"id":"doc-create_an_entitlement-da66381d","source":"documentation","title":"Create an entitlement","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/createentitlement","text":"Example:\n```text\n[\n  {\n    \"name\": \"my-object-1\",\n    \"description\": \"The unique instance of my-object-1\"\n  }\n]\n```\n\nExample:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/entitlements \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"License Entitlement\",\n    \"externalValue\": \"license_entitlement\",\n    \"description\": \"Some license entitlement\",\n    \"parent\": {\n      \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n      \"type\": \"APPLICATION\"\n    },\n    \"multiValue\": true,\n    \"dataType\": \"string\",\n    \"values\": [\n      {\n        \"name\": \"value1\",\n        \"description\": \"description for value1\",\n        \"externalValue\": \"value_1\"\n      },\n      {\n        \"name\": \"value2\",\n        \"description\": \"description for value2\",\n        \"externalValue\": \"value_2\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"esp2lr1lavoGDYw5U8g6\",\n  \"name\": \"License Entitlement\",\n  \"externalValue\": \"license_entitlement\",\n  \"description\": \"Some license entitlement\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"parent\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"multiValue\": true,\n  \"required\": false,\n  \"dataType\": \"string\",\n  \"values\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"values\": { … }\n  },\n  \"metadata\": {\n    \"total\": 2\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":74,"estimatedTokens":388}}1010{"id":"doc-retrieve_an_entitlement_value-d1da47b1","source":"documentation","title":"Retrieve an entitlement value","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlements/getentitlementvalue","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/entitlements/{entitlementId}/values/{valueId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"entfxqCAJWWGELFTYAAA\",\n  \"name\": \"Admin access\",\n  \"description\": \"ability to grant an access\",\n  \"externalValue\": \"admin\",\n  \"entitlementId\": \"esp5zFLCIUV7Vibro0g2\",\n  \"externalId\": \"75941239-123s-1245-xyz6-562fee27167r\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"orn\": \"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-values:entfxqCAJWWGELFTYAAA\",\n  \"parentResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"parent\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":220}}1011{"id":"doc-activate_a_realm_assignment-a8fd19b8","source":"documentation","title":"Activate a realm assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/activaterealmassignment","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/realm-assignments/rul2jy7jLUlnO3ng00g4/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}1012{"id":"doc-deactivate_a_realm_assignment-1874d159","source":"documentation","title":"Deactivate a realm assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/deactivaterealmassignment","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/realm-assignments/rul2jy7jLUlnO3ng00g4/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}1013{"id":"doc-execute_a_realm_assignment-e9f2a778","source":"documentation","title":"Execute a realm assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/executerealmassignment","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/realm-assignments/operations \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"assignmentId\": \"0pr1b7rxZj2ibQzfP0g5\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rre4mje4ez6B2a7B60g7\",\n  \"type\": \"realm:assignment\",\n  \"status\": \"COMPLETED\",\n  \"created\": \"2023-10-25T21:02:54.000Z\",\n  \"started\": \"2023-10-25T21:02:54.000Z\",\n  \"completed\": \"2023-10-25T21:02:54.000Z\",\n  \"realmId\": \"00g1b7rvh0xPLKXFf0g5\",\n  \"realmName\": \"Realm Name\",\n  \"assignmentOperation\": {\n    \"configuration\": { … }\n  },\n  \"numUserMoved\": 50,\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":159}}1014{"id":"doc-create_a_realm_assignment-7b6ab411","source":"documentation","title":"Create a realm assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/createrealmassignment","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/realm-assignments \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"actions\": {\n      \"assignUserToRealm\": {\n        \"realmId\": \"00g1b7rvh0xPLKXFf0g5\"\n      }\n    },\n    \"conditions\": {\n      \"profileSourceId\": \"0oa4enoRyjwSCy5hx0g4\",\n      \"expression\": {\n        \"value\": \"user.profile.role ==\\\\\\\"Manager\\\\\\\"\"\n      }\n    },\n    \"name\": \"Realm Assignment 1\",\n    \"priority\": 0\n  }'\n```\n\nExample:\n```text\n{\n  \"actions\": {\n    \"assignUserToRealm\": { … }\n  },\n  \"conditions\": {\n    \"expression\": { … },\n    \"profileSourceId\": \"string\"\n  },\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"domains\": [\n    \"string\"\n  ],\n  \"id\": \"string\",\n  \"isDefault\": true,\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"name\": \"string\",\n  \"priority\": 0,\n  \"status\": \"ACTIVE\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":49,"estimatedTokens":220}}1015{"id":"doc-retrieve_a_realm_assignment-943c9868","source":"documentation","title":"Retrieve a realm assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/getrealmassignment","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/realm-assignments/rul2jy7jLUlnO3ng00g4\n```\n\nExample:\n```text\n{\n  \"id\": \"rul2jy7jLUlnO3ng00g4\",\n  \"status\": \"ACTIVE\",\n  \"name\": \"Realm Assignment 1\",\n  \"created\": \"2022-04-04T15:56:05.000Z\",\n  \"lastUpdated\": \"2022-05-05T18:15:44.000Z\",\n  \"isDefault\": false,\n  \"domains\": [\n    \"atko.com\",\n    \"user.com\"\n  ],\n  \"conditions\": {\n    \"profileSourceId\": \"0oa4enoRyjwSCy5hx0g4\",\n    \"expression\": { … }\n  },\n  \"actions\": {\n    \"assignUserToRealm\": { … }\n  },\n  \"priority\": 0,\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":34,"estimatedTokens":149}}1016{"id":"doc-replace_a_realm_assignment-e72f4bc7","source":"documentation","title":"Replace a realm assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/replacerealmassignment","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/realm-assignments/rul2jy7jLUlnO3ng00g4 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"actions\": {\n      \"assignUserToRealm\": {\n        \"realmId\": \"00g1b7rvh0xPLKXFf0g5\"\n      }\n    },\n    \"conditions\": {\n      \"profileSourceId\": \"0oa4enoRyjwSCy5hx0g4\",\n      \"expression\": {\n        \"value\": \"user.profile.role ==\\\\\\\"Manager\\\\\\\"\"\n      }\n    },\n    \"name\": \"Realm Assignment 1\",\n    \"priority\": 0\n  }'\n```\n\nExample:\n```text\n{\n  \"actions\": {\n    \"assignUserToRealm\": { … }\n  },\n  \"conditions\": {\n    \"expression\": { … },\n    \"profileSourceId\": \"string\"\n  },\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"domains\": [\n    \"string\"\n  ],\n  \"id\": \"string\",\n  \"isDefault\": true,\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"name\": \"string\",\n  \"priority\": 0,\n  \"status\": \"ACTIVE\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":49,"estimatedTokens":225}}1017{"id":"doc-list_all_realm_assignments-3bc98a72","source":"documentation","title":"List all realm assignments","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/listrealmassignments","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/realm-assignments?limit=20&after=string'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"rul2jy7jLUlnO3ng00g4\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Realm Assignment 1\",\n    \"created\": \"2022-04-04T15:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T18:15:44.000Z\",\n    \"isDefault\": false,\n    \"domains\": [ … ],\n    \"conditions\": { … },\n    \"actions\": { … },\n    \"priority\": 0,\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"rul2jy7jLUlnO5ng00g4\",\n    \"status\": \"ACTIVE\",\n    \"name\": \"Catch-all\",\n    \"created\": \"2022-04-04T15:56:05.000Z\",\n    \"lastUpdated\": \"2022-05-05T18:15:44.000Z\",\n    \"isDefault\": true,\n    \"domains\": [ … ],\n    \"conditions\": { … },\n    \"actions\": { … },\n    \"priority\": 499,\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":39,"estimatedTokens":198}}1018{"id":"doc-list_all_realm_assignment_operations-0f4f7c8f","source":"documentation","title":"List all realm assignment operations","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/listrealmassignmentoperations","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/realm-assignments/operations?limit=20&after=string'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"rre4mje4ez6B2a7B60g7\",\n    \"type\": \"realm:assignment\",\n    \"status\": \"COMPLETED\",\n    \"created\": \"2023-10-25T21:02:54.000Z\",\n    \"started\": \"2023-10-25T21:02:54.000Z\",\n    \"completed\": \"2023-10-25T21:02:54.000Z\",\n    \"realmId\": \"00g1b7rvh0xPLKXFf0g5\",\n    \"realmName\": \"Realm Name\",\n    \"assignmentOperation\": { … },\n    \"numUserMoved\": 50,\n    \"_links\": { … }\n  },\n  {\n    \"id\": \"rre4mje4ez7B2a7B60g7\",\n    \"type\": \"realm:assignment\",\n    \"status\": \"COMPLETED\",\n    \"created\": \"2023-10-25T21:02:54.000Z\",\n    \"started\": \"2023-10-25T21:02:54.000Z\",\n    \"completed\": \"2023-10-25T21:02:54.000Z\",\n    \"assignmentOperation\": { … },\n    \"numUserMoved\": 50,\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":215}}1019{"id":"doc-delete_a_realm_assignment-77ec2eaf","source":"documentation","title":"Delete a realm assignment","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/realmassignment/other/deleterealmassignment","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/realm-assignments/rul2jy7jLUlnO3ng00g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":41}}1020{"id":"doc-delete_an_entitlement_bundle-303efb07","source":"documentation","title":"Delete an entitlement bundle","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-bundles/deleteentitlementbundle","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://subdomain.okta.com/governance/api/v1/entitlement-bundles/{entitlementBundleId}'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}1021{"id":"doc-create_an_entitlement_bundle-7c6a1370","source":"documentation","title":"Create an entitlement bundle","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-bundles/createentitlementbundle","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v1/entitlement-bundles \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Salesforce admin bundle\",\n    \"description\": \"A bundle for full administrative access in salesforce\",\n    \"target\": {\n      \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n      \"type\": \"APPLICATION\"\n    },\n    \"entitlements\": [\n      {\n        \"id\": \"espo3v6xlwdtEX2il1d6\",\n        \"values\": [\n          {\n            \"id\": \"ento3v6xmkviXCltm1d6\"\n          }\n        ]\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"enbo3j1lwErh6dn701d6\",\n  \"name\": \"Github admin bundle\",\n  \"description\": \"Github bundle for administrative access\",\n  \"orn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbo3j1lwErh6dn701d6\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:github:0oafxqCAJWWGELFTYASJ\",\n  \"target\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"entitlements\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":52,"estimatedTokens":308}}1022{"id":"doc-list_all_campaigns-38a287b1","source":"documentation","title":"List all campaigns","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/campaigns/listcampaigns","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/campaigns?filter=name%20eq%20%22Sales%20Review%22&after=00u68w6vzKLultXS97g6&limit=20&orderBy=name%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"next\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":82}}1023{"id":"doc-reassign_the_reviews-7c2f4ed9","source":"documentation","title":"Reassign the reviews","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/reviews/reassignreviews","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/governance/api/v1/campaigns/{campaignId}/reviews/reassign' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"reviewerId\": \"00u31c7qMRUfrhdew0g4\",\n    \"reviewIds\": [\n      \"icrhdk4Lwhd2bBRQe0g2\",\n      \"icrhew4DFTxygUUgE0g2\",\n      \"icrhfvRCfGCHk3y2h0g2\"\n    ],\n    \"note\": \"John Smith is on leave for this month. His manager Tim will be the reviewer instead.\"\n  }'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"reviews\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":32,"estimatedTokens":147}}1024{"id":"doc-list_all_reviews-d5b466c7","source":"documentation","title":"List all reviews","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/reviews/listreviews","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/reviews?filter=campaignId%20eq%20%22icitdyhndQ6qstyvR8g5%22&after=00u68w6vzKLultXS97g6&limit=20&orderBy=decided%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":82}}1025{"id":"doc-retrieve_a_campaign-38d19ad4","source":"documentation","title":"Retrieve a campaign","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/campaigns/getcampaign","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/campaigns/{campaignId}'\n```\n\nExample:\n```text\n{\n  \"id\": \"ici2b0ozhrs1S9sVf0g4\",\n  \"status\": \"SCHEDULED\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"name\": \"Monthly access review of sales team\",\n  \"description\": \"Review access of all sales team members to a specific app\",\n  \"scheduleSettings\": {\n    \"type\": \"ONE_OFF\",\n    \"startDate\": \"2022-05-31T17:00:01.001-07:00\",\n    \"endDate\": \"2022-06-29T17:00:01.001-07:00\",\n    \"durationInDays\": 30,\n    \"timeZone\": \"America/Los_Angeles\"\n  },\n  \"resourceSettings\": {\n    \"type\": \"GROUP\",\n    \"targetResources\": [ … ]\n  },\n  \"principalScopeSettings\": {\n    \"type\": \"USERS\",\n    \"userScope\": { … }\n  },\n  \"reviewerSettings\": {\n    \"type\": \"USER\",\n    \"reviewerId\": \"00ub0oNGTSWTBKOLGLNR\",\n    \"selfReviewDisabled\": false\n  },\n  \"remediationSettings\": {\n    \"accessApproved\": \"NO_ACTION\",\n    \"accessRevoked\": \"DENY\",\n    \"noResponse\": \"NO_ACTION\"\n  },\n  \"_links\": {\n    \"launchCampaign\": { … },\n    \"endCampaign\": { … },\n    \"campaignDetails\": { … },\n    \"reviews\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":53,"estimatedTokens":315}}1026{"id":"doc-replace_an_entitlement_bundle-2a300990","source":"documentation","title":"Replace an entitlement bundle","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-bundles/replaceentitlementbundle","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/governance/api/v1/entitlement-bundles/{entitlementBundleId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"id\": \"enbogpaj3XUzcM62u1d6\",\n    \"name\": \"Github admin bundle\",\n    \"description\": \"Github bundle for administrative access\",\n    \"orn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6\",\n    \"status\": \"ACTIVE\",\n    \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:github:0oafxqCAJWWGELFTYASJ\",\n    \"target\": {\n      \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n      \"type\": \"APPLICATION\"\n    },\n    \"entitlements\": [\n      {\n        \"id\": \"espo3v6xlwdtEX2il1d6\",\n        \"values\": [\n          {\n            \"id\": \"ento3v6xmkviXCltm1d6\"\n          },\n          {\n            \"id\": \"ento3ioilCWXR316t1d6\"\n          }\n        ]\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"enbo3j1lwErh6dn701d6\",\n  \"name\": \"Github admin bundle\",\n  \"description\": \"Github bundle for administrative access\",\n  \"orn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbo3j1lwErh6dn701d6\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:github:0oafxqCAJWWGELFTYASJ\",\n  \"target\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"entitlements\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":59,"estimatedTokens":387}}1027{"id":"doc-retrieve_an_entitlement_bundle-d51aa145","source":"documentation","title":"Retrieve an entitlement bundle","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-bundles/getentitlementbundle","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/entitlement-bundles/{entitlementBundleId}?include=full_entitlements'\n```\n\nExample:\n```text\n{\n  \"id\": \"enbo3j1lwErh6dn701d6\",\n  \"name\": \"Github admin bundle\",\n  \"description\": \"Github bundle for administrative access\",\n  \"orn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbo3j1lwErh6dn701d6\",\n  \"created\": \"2022-05-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2022-05-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"status\": \"ACTIVE\",\n  \"targetResourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:github:0oafxqCAJWWGELFTYASJ\",\n  \"target\": {\n    \"externalId\": \"0oafxqCAJWWGELFTYASJ\",\n    \"type\": \"APPLICATION\"\n  },\n  \"entitlements\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":210}}1028{"id":"doc-list_all_entitlement_bundles-a7e0a992","source":"documentation","title":"List all entitlement bundles","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/entitlement-bundles/listentitlementbundles","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/entitlement-bundles?filter=lastUpdated%20gt%20%222022-05-24T14%3A15%3A22Z%22&after=stringstringstringst&limit=20&orderBy=created%20desc&include=full_entitlements'\n```\n\nExample:\n```text\n[\n  {\n    \"name\": \"my-object-1\",\n    \"description\": \"The unique instance of my-object-1\"\n  }\n]\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  },\n  \"metadata\": {\n    \"total\": 10\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.907Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":32,"estimatedTokens":127}}1029{"id":"doc-retrieve_a_review-e45801a2","source":"documentation","title":"Retrieve a review","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-reference/reviews/getreview","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v1/reviews/{reviewId}'\n```\n\nExample:\n```text\n{\n  \"campaignId\": \"icitdyhndQ6qstyvR8g5\",\n  \"resourceId\": \"00gco5q3vQ20oPncs8g5\",\n  \"decided\": \"2019-08-24T14:15:22Z\",\n  \"principalProfile\": {\n    \"id\": \"00u28w6vzKKultXP98g5\",\n    \"email\": \"jessie.smith@example.com\",\n    \"firstName\": \"Jessie\",\n    \"lastName\": \"Smith\",\n    \"status\": \"ACTIVE\"\n  },\n  \"reviewerProfile\": {\n    \"id\": \"00u5v5viPvg84h0W68g4\",\n    \"email\": \"admin@admin.com\",\n    \"firstName\": \"admin\",\n    \"lastName\": \"admin\",\n    \"status\": \"ACTIVE\"\n  },\n  \"decision\": \"APPROVE\",\n  \"remediationStatus\": \"SUCCESS\",\n  \"note\": {\n    \"id\": \"389dhie83\",\n    \"note\": \"reason for approval\"\n  },\n  \"id\": \"icrtg6mwccZTRc6Ub8g5\",\n  \"reviewerType\": \"USER\",\n  \"created\": \"2019-08-24T14:15:22Z\",\n  \"createdBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n  \"lastUpdatedBy\": \"00ub0oNGTSWTBKOLGLNR\",\n  \"_links\": {\n    \"self\": { … },\n    \"reassignReview\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.907Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":46,"estimatedTokens":257}}1030{"id":"doc-delete_an_ai_agent_connection-5a2970ac","source":"documentation","title":"Delete an AI agent connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentconnections/other/deleteresourceconnection","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpkhjm0jnDp8RrUu0g4/connections/mcn1a2b3c4d5e6f7g8h9\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.907Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":52}}1031{"id":"doc-sign_in_with_email_only_okta_developer-655f2799","source":"documentation","title":"Sign in with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-sign-in-email/java/main/","text":"Example:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin(constructRequestContext());\nProceedContext proceedContext = beginResponse.getProceedContext();\nAuthenticationResponse authenticationResponse =\n   idxAuthenticationWrapper.authenticate(new AuthenticationOptions(username), proceedContext);\n```\n\nExample:\n```java\nswitch (response.getAuthenticationStatus()) {\n   case AWAITING_AUTHENTICATOR_VERIFICATION:\n       return verifyForm(response);\n\n   // other case statements\n\n   default:\n       return unsupportedPolicy();\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.907Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":143}}1032{"id":"doc-load_the_widget_okta_developer-b8bd974a","source":"documentation","title":"Load the widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-widget-use-case-load/java/main/","text":"Example:\n```html\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```html\n<script th:inline=\"javascript\">\n    var config = {};\n\n    config.baseUrl = /*[[{oktaBaseUrl}]]*/ 'https://{yourOktaDomain}';\n    config.clientId = /*[[{oktaClientId}]]*/ '{clientId}';\n    config.redirectUri = /*[[{redirectUri}]]*/ '{redirectUri}';\n    config.interactionHandle = /*[[{interactionHandle}]]*/ '{interactionHandle}';\n    config.codeChallenge = /*[[{codeChallenge}]]*/ '{codeChallenge}';\n    config.codeChallengeMethod = /*[[{codeChallengeMethod}]]*/ '{codeChallengeMethod}';\n    config.redirect = 'always';\n    config.authParams = {\n        issuer: /*[[{issuerUri}]]*/ '{issuerUri}',\n        pkce: true,\n        state: /*[[{state}]]*/ '{state}' || false,\n        nonce: /*[[{nonce}]]*/ '{nonce}',\n        scopes: /*[[{scopes}]]*/ '[scopes]',\n    };\n\n    var signIn = new OktaSignIn(config);\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   signIn.otp = searchParams.get('otp');\n   signIn.state = searchParams.get('state');\n\n    signIn.showSignInAndRedirect(\n      { el: '#sign-in-widget' },\n      function (res) {}\n    );\n\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.907Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":42,"estimatedTokens":369}}1033{"id":"doc-activate_an_ai_agent_resource_connection-26a9d173","source":"documentation","title":"Activate an AI agent resource connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentconnections/other/activateresourceconnection","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpkhjm0jnDp8RrUu0g4/connections/mcn1a2b3c4d5e6f7g8h9/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"IDENTITY_ASSERTION_CUSTOM_AS\",\n  \"id\": \"mcnbcde12f3g4h5i6j7k\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcnbcde12f3g4h5i6j7k\",\n  \"status\": \"ACTIVE\",\n  \"resourceIndicator\": \"https://api.crm.company.com\",\n  \"authorizationServer\": {\n    \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:authorization_servers:aus1gjh63g214q0Hq0g4\",\n    \"name\": \"Custom CRM Authorization Server\",\n    \"issuerUrl\": \"https://{yourOktaDomain}/oauth2/aus1gjh63g214q0Hq0g4\",\n    \"_links\": { … }\n  },\n  \"scopeCondition\": \"ALL_SCOPES\",\n  \"scopes\": [\n    \"*\"\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":31,"estimatedTokens":204}}1034{"id":"doc-list_all_ai_agent_connections-665cbf6a","source":"documentation","title":"List all AI agent connections","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentconnections/other/listconnections","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpkhjm0jnDp8RrUu0g4/connections?after=string&limit=20&filter=connectionType%20eq%20%22IDENTITY_ASSERTION_CUSTOM_AS%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":88}}1035{"id":"doc-email_magic_links_overview_okta_developer-e8e96e70","source":"documentation","title":"Email Magic Links overview | Okta Developer","url":"https://developer.okta.com/docs/guides/email-magic-links-overview/nodeexpress/main/","text":"Example:\n```javascript\nvar searchParams = new URL(window.location.href).searchParams;\nvar signIn = new OktaSignIn({\n   baseUrl: '{yourOktaDomain}',\n   baseUrl: '{yourOktaDomain}',\n   clientId: '{yourClientId}',\n   redirectUri: '{yourSignInRedirectUrl}',\n   otp: searchParams.get('otp'),\n   state: searchParams.get('state')\n});\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.908Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":14,"estimatedTokens":86}}1036{"id":"doc-load_the_widget_okta_developer-6da365d9","source":"documentation","title":"Load the widget | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-widget-use-case-load/aspnet/main/","text":"Example:\n```csharp\npublic async Task<ActionResult> Index()\n{\n     var idxClient = new IdxClient(new IdxConfiguration()\n     {\n           Issuer = \"https://integrator-12345678.okta.com/oauth2/default\",\n           ClientId = \"{clientId}\",\n           ClientSecret = \"{clientSecret}\",\n           RedirectUri = \"https://localhost:44314/interactioncode/callback/\",\n           Scopes = new List<string>{\"openid\",\"profile\", \"offline_access\"}\n     });\n\n     var widgetSignInResponse = await idxClient.StartWidgetSignInAsync(default);\n     var idxContext = widgetSignInResponse.IdxContext;\n     var signInWidgetConfiguration = widgetSignInResponse.SignInWidgetConfiguration;\n\n     return View(signInWidgetConfiguration);\n}\n```\n\nExample:\n```json\n{\n   \"interactionHandle\":\"epXgGYZHsYErPLfw8aLpCvWZOgVtYx25_OYCmQc0z2s\",\n   \"version\":\"7.48.2\",\n   \"baseUrl\":\"https://integrator-12345678.okta.com\",\n   \"clientId\":\"{clientId}\",\n   \"redirectUri\":\"https://localhost:44314/interactioncode/callback/\",\n   \"authParams\":{\n      \"issuer\":\"https://integrator-122345678.okta.com/oauth2/default\",\n      \"scopes\":[\n         \"openid\",\n         \"profile\",\n         \"offline_access\"\n      ]\n   },\n   \"state\":\"{state}\",\n   \"otp\":\"{otp}\",\n   \"codeChallenge\":\"{codechallenge}\",\n   \"codeChallengeMethod\":\"S256\"\n}\n```\n\nExample:\n```csharp\n@using Newtonsoft.Json\n@using Okta.Idx.Sdk\n\n@model SignInWidgetConfiguration\n```\n\nExample:\n```razor\n@section head\n{\n   <script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n   <link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\" />\n}\n```\n\nExample:\n```csharp\n<script type=\"text/javascript\">\n   const widgetConfig = @Html.Raw(JsonConvert.SerializeObject(Model));\n\n   console.log(widgetConfig.interactionHandle);\n\n   const signIn = new OktaSignIn({\n       el: '#okta-signin-widget-container',\n       ...widgetConfig\n   });\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   signIn.otp = searchParams.get('otp');\n   signIn.state = searchParams.get('state');\n\n   signIn.showSignInAndRedirect()\n       .catch(err => {\n           console.log('Error happen in showSignInAndRedirect: ', err);\n       });\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.909Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":86,"estimatedTokens":597}}1037{"id":"doc-share_application_key_credentials_for_idps_acros-0ef05cb9","source":"documentation","title":"Share application key credentials for IdPs across Apps | Okta Developer","url":"https://developer.okta.com/docs/guides/sharing-cert/main/","text":"Example:\n```json\n{\n  \"created\": \"2016-09-30T20:36:15.000Z\",\n  \"lastUpdated\": \"2016-09-30T20:36:15.000Z\",\n  \"expiresAt\": \"2018-09-30T20:36:14.000Z\",\n  \"x5c\": [\n    \"MIIDojCCAoqgAwIBAgIGAVd8z8kEMA0GCSqGSIb3DQEBBQUAMIGRMQswCQYDVQQGEwJVUz\n     ETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UE\n     CgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEjAQBgNVBAMMCW15c3RpY29ycDEcMB\n     oGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTAeFw0xNjA5MzAyMDM1MTRaFw0xODA5MzAy\n     MDM2MTRaMIGRMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBw\n     wNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIx\n     EjAQBgNVBAMMCW15c3RpY29ycDEcMBoGCSqGSIb3DQEJARYNaW5mb0Bva3RhLmNvbTCCAS\n     IwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAIJsMX3q/IMqFTPfhGJHILgRGHrrvYnZ\n     zL2snGvC4CssqBC1Az6PIAE+RtO1vT+6v1sRevHMICbi/ut4xB29C3fo33Y3syerVHEJD9\n     sZ4Ht0/NjTSHrznjTjE2Ij2/1JuZY/XF+Kp8/bR+rP3Fa3mlcKJZqnwcdII3F6bbW8HPyz\n     s8D8ytJJU1yc9xcm0rp+xqswWvRS9TMTRiV61OhE8ilMj+vjScIDQwOqD1LX0uiiQnjRIL\n     rkK2NSUbFc9PC3oVELrWqZdloDCQd+xTI0TlxV6/i50K56o0YGWIne1IYdfazuK0tXTE8k\n     wsvXEZ0tDRq/jVhBpoAtfQ8hKLxVBYUCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAfcgMeP\n     D2nCGUImDmK7GcKIAH6fJCVfcpyHNZLYChB38yJgJ3F30mFZ0W/PM9pIW8ktLKh1lBp59p\n     RwC4ITbpMMoWwK2EU/edocmi8qeVpG3ldXs5IeEMIoKt2c7Ndh8dTsj+fPdXDpF0iKPXtA\n     3wgPvWxgioW6xCvePo98isevN7WGEEdEVzjdNdR7e4nPvJfKeGncvifV2rw0WOUIZQa524\n     AQdfoY2fEKn9eFwPxFsKx1WV5nc6+WU5gcSkhmbzF+HohLCjVFMWwsUQNYpPBtzY9gM45G\n     /bIs7EizkKT1ew0SRDI+Ws9roUKsquCWJWiAGxVEqheQvf4dauAOtqGQ==\"\n  ],\n  \"e\": \"AQAB\",\n  \"n\": \"gmwxfer8gyoVM9-EYkcguBEYeuu9idnMvayca8LgKyyoELUDPo8gAT5G07W9P7q_WxF6\n        8cwgJuL-63jEHb0Ld-jfdjezJ6tUcQkP2xnge3T82NNIevOeNOMTYiPb_Um5lj9cX4qn\n        z9tH6s_cVreaVwolmqfBx0gjcXpttbwc_LOzwPzK0klTXJz3FybSun7GqzBa9FL1MxNG\n        JXrU6ETyKUyP6-NJwgNDA6oPUtfS6KJCeNEguuQrY1JRsVz08LehUQutapl2WgMJB37F\n        MjROXFXr-LnQrnqjRgZYid7Uhh19rO4rS1dMTyTCy9cRnS0NGr-NWEGmgC19DyEovFUFhQ\",\n  \"kid\": \"w__Yr9AElCftDtLP5CmjzZFMKXndqHtx7B3QPkg8jrI\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5t#S256\": \"ypBvmMYkQGPqxKL4SMdH9B7IXrtGADrvgEc-GKGQ7XY\"\n}\n```\n\nExample:\n```json\n{\n  \"name\": \"myorg_app1\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"credentials\": {\n    \"signing\": {\n      \"kid\": \"w__Yr9AElCftDtLP5CmjzZFMKXndqHtx7B3QPkg8jrI\"\n    }\n  }\n}\n```\n\nExample:\n```json\n{\n  \"id\": \"0oa8ae1t5yev2ajDs0h7\",\n  \"name\": \"myorg_app1\",\n  \"status\": \"ACTIVE\",\n  \"lastUpdated\": \"2016-09-30T22:23:38.000Z\",\n  \"created\": \"2016-09-27T22:51:53.000Z\",\n  \"visibility\": {\n    \"autoSubmitToolbar\": false,\n    \"hide\": {\n      \"iOS\": false,\n      \"web\": false\n    },\n    \"appLinks\": {\n      \"myorg_app1_link\": true\n    }\n  },\n  \"features\": [],\n  \"signOnMode\": \"SAML_2_0\",\n  \"credentials\": {\n    \"userNameTemplate\": {\n      \"template\": \"${source.login}\",\n      \"type\": \"BUILT_IN\"\n    },\n    \"signing\": {\n      \"kid\": \"w__Yr9AElCftDtLP5CmjzZFMKXndqHtx7B3QPkg8jrI\"\n    }\n  }\n}\n```\n\nExample:\n```json\n{\n  \"created\": \"2016-10-03T16:07:02.000Z\",\n  \"lastUpdated\": \"2016-10-03T16:07:02.000Z\",\n  \"expiresAt\": \"2018-09-30T22:16:14.000Z\",\n  \"x5c\": [\n    \"MIIDojCCAoqgAwIBAgIGAVd9K1ggMA0GCSqGSIb3DQEBBQUAMIGRMQswCQYDVQQGEwJVUzETMBEGA1\n     UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIG\n     A1UECwwLU1NPUHJvdmlkZXIxEjAQBgNVBAMMCW15c3RpY29ycDEcMBoGCSqGSIb3DQEJARYNaW5mb0\n     Bva3RhLmNvbTAeFw0xNjA5MzAyMjE1MTVaFw0xODA5MzAyMjE2MTRaMIGRMQswCQYDVQQGEwJVUzET\n     MBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YT\n     EUMBIGA1UECwwLU1NPUHJvdmlkZXIxEjAQBgNVBAMMCW15c3RpY29ycDEcMBoGCSqGSIb3DQEJARYN\n     aW5mb0Bva3RhLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALUSyecgvygBYkjCp3\n     dvz1aiYgcCxkTJi/SpuRFcqTcn4na4WeLPjUaTZwvkwQ71rb5MzNfRvNxLutSw7E+VhMtcNh5CcSZa\n     J3JT20zHXxvL7fuVqCH9xA/4OPUrqgYNOF4cluBT9Kt1jdAq+XVs2hllm9yTIr0WETb8PvFyjvj+is\n     qjRxOxVV638uhKsIhbb8nLghBUT5uoL3gQvBzuHy4WM0exXM+UPvBmRsIHp5CdfN+G6cxkgDN/gQha\n     Fd03nStu8cz03VnJQsLy4vW8CkVnBAQdacUYlInStGqm3fB9Piq6oYRhYYANDqkFRlpxK/3HfboUlY\n     Xk4+VYMEggXhkCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAEk2kiqV6T1D7ujWq6krMr7FX8j6yEag8\n     j/C9X7WkPrCH655/jbi8/Q0+j2QuNJ1iCJLHnHFiKJQfeNv3hfu9PMHG2NldRY1dLElnkFh1PMBQ6R\n     Ingas1HlE+V0Q/V8Rq4OI8LjfmXm/MR+5rI/sI46882j1c27XSuONTVPnn4JX+C2zuOBBH+rbn+YNm\n     FxJnSPr0LgETr/ojhLo2NAWKkBtNG/qBrDHQbvRdxURKGhLjhWUX6z6pjm1V0QILGibyPjlQazjV25\n     k7gMeU+jUFeB+v9eFxJDwQYLakR1xcLkElvGyGQMT16LdjrHJB/itpZw05oJCzDT04E3dmz2TK8w==\"\n  ],\n  \"e\": \"AQAB\",\n  \"n\": \"tRLJ5yC_KAFiSMKnd2_PVqJiBwLGRMmL9Km5EVypNyfidrhZ4s-NRpNnC-TBDvWtvkzM19G83Eu6\n        1LDsT5WEy1w2HkJxJlonclPbTMdfG8vt-5WoIf3ED_g49SuqBg04XhyW4FP0q3WN0Cr5dWzaGWWb\n        3JMivRYRNvw-8XKO-P6KyqNHE7FVXrfy6EqwiFtvycuCEFRPm6gveBC8HO4fLhYzR7Fcz5Q-8GZG\n        wgenkJ1834bpzGSAM3-BCFoV3TedK27xzPTdWclCwvLi9bwKRWcEBB1pxRiUidK0aqbd8H0-Krqh\n        hGFhgA0OqQVGWnEr_cd9uhSVheTj5VgwSCBeGQ\",\n  \"kid\": \"w__Yr9AElCftDtLP5CmjzZFMKXndqHtx7B3QPkg8jrI\",\n  \"kty\": \"RSA\",\n  \"use\": \"sig\",\n  \"x5t#S256\": \"wnhwdJl6BWlS4dCqAMSoKZI1QdSfnnUqlchQKl4QTIY\"\n}\n```\n\nExample:\n```json\n{\n  \"name\": \"myorg_app2\",\n  \"signOnMode\": \"SAML_2_0\",\n  \"credentials\": {\n    \"signing\": {\n      \"kid\": \"w__Yr9AElCftDtLP5CmjzZFMKXndqHtx7B3QPkg8jrI\"\n    }\n  }\n}\n```\n\nExample:\n```json\n{\n  \"id\": \"0oa8ae0dv4RGQvjyZ0h7\",\n  \"name\": \"myOrg_app2\",\n  \"label\": \"App 2\",\n  \"status\": \"ACTIVE\",\n  \"lastUpdated\": \"2016-10-03T16:53:50.000Z\",\n  \"created\": \"2016-09-27T22:53:34.000Z\",\n  \"visibility\": {\n    \"autoSubmitToolbar\": false,\n    \"hide\": {\n      \"iOS\": false,\n      \"web\": false\n    },\n    \"appLinks\": {\n      \"myorg_app2_link\": true\n    }\n  },\n  \"features\": [],\n  \"signOnMode\": \"SAML_2_0\",\n  \"credentials\": {\n    \"userNameTemplate\": {\n      \"template\": \"${source.login}\",\n      \"type\": \"BUILT_IN\"\n    },\n    \"signing\": {\n      \"kid\": \"w__Yr9AElCftDtLP5CmjzZFMKXndqHtx7B3QPkg8jrI\"\n    }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.909Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":168,"estimatedTokens":1439}}1038{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-310fb037","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/java/main","text":"Example:\n```xml\n<dependency>\n    <groupId>com.okta.idx.sdk</groupId>\n    <artifactId>okta-idx-java-api</artifactId>\n    <version>{okta.sdk.version}</version>\n</dependency>\n```\n\nExample:\n```shell\ncompile \"com.okta.idx.sdk:okta-idx-java-api:{okta.sdk.version}\"\n```\n\nExample:\n```yaml\nokta:\n  idx:\n    issuer: \"https://{yourOktaDomain}/oauth2/{authorizationServerId}\"\n    clientId: \"{clientId}\"\n    clientSecret: \"{clientSecret}\"\n    scopes:\n    - \"{scope1}\"\n    - \"{scope2}\"\n    redirectUri: \"{redirectUri}\"\n```\n\nExample:\n```yaml\nokta:\n  idx:\n    issuer: \"https://integrator-1234.okta.com/oauth2/default\"\n    clientId: \"123xyz\"\n    clientSecret: \"123456abcxyz\"\n    scopes:\n    - \"openid\"\n    - \"profile\"\n    - \"offline_access\"\n    redirectUri: \"http://localhost:8080\"\n```\n\nExample:\n```bash\nexport OKTA_IDX_ISSUER=https://integrator-1234.okta.com/oauth2/default\nexport OKTA_IDX_CLIENTID=123xyz\nexport OKTA_IDX_CLIENTSECRET=123456abcxyz\nexport OKTA_IDX_SCOPES=\"openid profile offline_access\"\nexport OKTA_IDX_REDIRECTURI=http://localhost:8080\n```\n\nExample:\n```bash\nmvn -Dokta.idx.issuer=https://integrator-1234.okta.com/oauth2/default \\\n    -Dokta.idx.clientId=123xyz \\\n    -Dokta.idx.clientSecret=123456abcxyz \\\n    -Dokta.idx.scopes=\"openid profile offline_access\" \\\n    -Dokta.idx.redirectUri=http://localhost:8080\n```\n\nExample:\n```java\n/**\n* Creates {@link IDXAuthenticationWrapper} instance.\n*\n* @param issuer the issuer url\n* @param clientId the client id\n* @param clientSecret the client secret\n* @param scopes the set of scopes\n* @param redirectUri the redirect uri\n*/\npublic IDXAuthenticationWrapper(String issuer, String clientId, String clientSecret,\n                                Set<String> scopes, String redirectUri) {\n    this.client = Clients.builder()\n            .setIssuer(issuer)\n            .setClientId(clientId)\n            .setClientSecret(clientSecret)\n            .setScopes(scopes)\n            .setRedirectUri(redirectUri)\n            .build();\n}\n```\n\nExample:\n```java\npackage com.okta.spring.example;\n\nimport com.okta.idx.sdk.api.client.IDXAuthenticationWrapper;\nimport com.okta.idx.sdk.api.client.ProceedContext;\nimport com.okta.idx.sdk.api.model.AuthenticationOptions;\nimport com.okta.idx.sdk.api.model.UserProfile;\nimport com.okta.idx.sdk.api.model.VerifyAuthenticatorOptions;\nimport com.okta.idx.sdk.api.response.AuthenticationResponse;\nimport com.okta.idx.sdk.api.response.TokenResponse;\nimport com.okta.spring.example.helpers.HomeHelper;\nimport com.okta.spring.example.helpers.ResponseHandler;\nimport com.okta.spring.example.helpers.Util;\n```\n\nExample:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin()\n```\n\nExample:\n```html\n<script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n<link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\"/>\n```\n\nExample:\n```html\n<script th:inline=\"javascript\">\n\n    var config = {};\n\n    config.baseUrl = /*[[{oktaBaseUrl}]]*/ 'https://{yourOktaDomain}';\n    config.clientId = /*[[{oktaClientId}]]*/ '{clientId}';\n    config.redirectUri = /*[[{redirectUri}]]*/ '{redirectUri}';\n    config.interactionHandle = /*[[{interactionHandle}]]*/ '{interactionHandle}';\n    config.codeChallenge = /*[[{codeChallenge}]]*/ '{codeChallenge}';\n    config.codeChallengeMethod = /*[[{codeChallengeMethod}]]*/ '{codeChallengeMethod}';\n    config.redirect = 'always';\n    config.authParams = {\n        issuer: /*[[{issuerUri}]]*/ '{issuerUri}',\n        pkce: true,\n        state: /*[[{state}]]*/ '{state}' || false,\n        nonce: /*[[{nonce}]]*/ '{nonce}',\n        scopes: /*[[{scopes}]]*/ '[scopes]',\n    };\n\n  const signIn = new OktaSignIn({\n       el: '#sign-in-widget',\n       ...config\n  });\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   signIn.otp = searchParams.get('otp');\n   signIn.state = searchParams.get('state');\n\n   signIn.showSignInAndRedirect()\n    .catch(err => {\n      console.log('An error occurred in showSignInAndRedirect: ', err);\n    });\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.910Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":148,"estimatedTokens":1057}}1039{"id":"doc-download_and_set_up_the_sdk_sign_in_widget_and_s-ee1d74fa","source":"documentation","title":"Download and set up the SDK, Sign-In Widget, and sample apps | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-common-download-setup-app/aspnet/main","text":"Example:\n```yaml\nokta:\n  idx:\n    issuer: \"https://{yourOktaDomain}/oauth2/default\"\n    clientId: \"{clientId}\"\n    clientSecret: \"{clientSecret}\"\n    scopes:\n      - \"{scope1}\"\n      - \"{scope2}\"\n    redirectUri: \"{redirectUri}\"\n```\n\nExample:\n```csharp\nvar client = new IdxClient(new IdxConfiguration()\n           {\n               Issuer = \"{YOUR_ISSUER}\",\n               ClientId = \"{YOUR_CLIENT_ID}\",\n               ClientSecret = \"{YOUR_CLIENT_SECRET}\",\n               RedirectUri = \"{YOUR_REDIRECT_URI}\",\n               Scopes = new List<string>{\"openid\",\"profile\", \"offline_access\"}\n           });\n```\n\nExample:\n```csharp\nusing Okta.Idx.Sdk;\nusing Okta.Sdk.Abstractions;\n\nvar idxAuthClient = new IdxClient();\n```\n\nExample:\n```razor\n@section head\n{\n   <script src=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/js/okta-sign-in.min.js\" type=\"text/javascript\"></script>\n   <link href=\"https://global.oktacdn.com/okta-signin-widget/7.48.2/css/okta-sign-in.min.css\" type=\"text/css\" rel=\"stylesheet\" />\n}\n```\n\nExample:\n```json\n{\n   \"interactionHandle\":\"{interactionHandle}\",\n   \"version\":\"{widgetVersion}\",\n   \"baseUrl\":\"{baseUrl}\",\n   \"clientId\":\"{clientId}\",\n   \"redirectUri\":\"https://localhost:44314/interactioncode/callback/\",\n   \"authParams\":{\n      \"issuer\":\"{issuerUri}\",\n      \"scopes\":[\n         \"openid\",\n         \"profile\",\n         \"offline_access\"\n      ]\n   },\n   \"state\":\"{state}\",\n   \"otp\":\"{otp}\",\n   \"codeChallenge\":\"{codechallenge}\",\n   \"codeChallengeMethod\":\"S256\"\n}\n```\n\nExample:\n```csharp\n<div id=\"okta-signin-widget-container\"></div>\n<script type=\"text/javascript\">\n    const widgetConfig = @Html.Raw(JsonConvert.SerializeObject(Model));\n    console.log(widgetConfig.interactionHandle);\n\n   const signIn = new OktaSignIn({\n        el: '#okta-signin-widget-container',\n        ...widgetConfig\n    });\n\n   // Search for URL Parameters to see if a user is being routed to the application to recover password\n   var searchParams = new URL(window.location.href).searchParams;\n   signIn.otp = searchParams.get('otp');\n   signIn.state = searchParams.get('state');\n\n   signIn.showSignInAndRedirect()\n        .catch(err => {\n            console.log('An error occurred in showSignInAndRedirect: ', err);\n        });\n</script>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.910Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":90,"estimatedTokens":566}}1040{"id":"doc-create_an_org_group-f53d99a6","source":"documentation","title":"Create an org group","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups/createorggroup","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Production Orgs\",\n    \"description\": \"All production orgs for the account\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0cgc1a2b3c4d5e6f7g8h\",\n  \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n  \"name\": \"Production Orgs\",\n  \"description\": \"All production orgs for the account\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.910Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":124}}1041{"id":"doc-list_all_org_groups-4171cddf","source":"documentation","title":"List all org groups","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups/getorggroups","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups?after=string&before=string&limit=25&filter=name%20sw%20%22Test%22' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"0cgc1a2b3c4d5e6f7g8h9i0j1k2l3m\",\n    \"name\": \"Production Orgs\",\n    \"description\": \"All production orgs for the account\"\n  },\n  {\n    \"id\": \"0cgc9z8y7x6w5v4u3t2s1r0q9p8o7n\",\n    \"name\": \"Test Environments\",\n    \"description\": \"Test and staging orgs\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.910Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":131}}1042{"id":"doc-delete_an_org_group-96d96497","source":"documentation","title":"Delete an org group","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups/deleteorggroup","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups/{groupId}' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.910Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":52}}1043{"id":"doc-list_all_orgs_in_an_org_group-7ba6e809","source":"documentation","title":"List all orgs in an org group","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups/getorggrouporgmembers","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups/{groupId}/orgs?after=string&before=string&limit=25' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n[\n  {\n    \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n    \"name\": \"My Org 1\",\n    \"cell\": \"ok1\",\n    \"domain\": \"my-org-1.okta.com\",\n    \"status\": \"ACTIVE\",\n    \"aerialOrg\": true,\n    \"createdDate\": \"2023-12-08T20:15:18.000Z\",\n    \"id\": \"00o16fjDHCgFqob8n0g4\"\n  },\n  {\n    \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n    \"name\": \"My Org 2\",\n    \"cell\": \"ok1\",\n    \"domain\": \"my-org-2.okta.com\",\n    \"status\": \"INACTIVE\",\n    \"aerialOrg\": false,\n    \"createdDate\": \"2023-12-08T22:09:07.000Z\",\n    \"id\": \"00o16xupGJbokZXPO0g4\"\n  },\n  {\n    \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n    \"name\": \"My Org 3\",\n    \"cell\": \"ok1\",\n    \"domain\": \"my-org-3.okta.com\",\n    \"status\": \"ACTIVE\",\n    \"aerialOrg\": false,\n    \"createdDate\": \"2023-12-08T23:13:08.000Z\",\n    \"id\": \"00o1cqcx8XNArUxjH0g4\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":44,"estimatedTokens":257}}1044{"id":"doc-update_an_org_group_metadata-8d664521","source":"documentation","title":"Update an org group metadata","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups/updateorggroup","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups/{groupId}' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Production Orgs\",\n    \"description\": \"All production orgs for the account\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0cgc1a2b3c4d5e6f7g8h\",\n  \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n  \"name\": \"Production Orgs\",\n  \"description\": \"All production orgs for the account\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":126}}1045{"id":"doc-add_an_org_to_an_org_group-c255e395","source":"documentation","title":"Add an org to an org group","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups/addorgmember","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups/{groupId}/orgs' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"orgId\": \"string\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":72}}1046{"id":"doc-retrieve_an_org_group-0871fdb9","source":"documentation","title":"Retrieve an org group","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups/getorggroup","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups/{groupId}' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n{\n  \"id\": \"0cgc1a2b3c4d5e6f7g8h\",\n  \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n  \"name\": \"Production Orgs\",\n  \"description\": \"All production orgs for the account\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":90}}1047{"id":"doc-list_access_request_condition_templates-127abde0","source":"documentation","title":"List access request condition templates","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/governance/getrequestconditiontemplates","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/governance/api/v1/request-condition-templates?filter=applyStatus%20eq%20%22APPLIED%22' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n[\n  {\n    \"id\": \"020qqli3iolphlqkmrutpt8271c\",\n    \"applyStatus\": \"APPLIED\",\n    \"requestCondition\": {}\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":91}}1048{"id":"doc-delete_an_org_from_an_org_group-bb8b2206","source":"documentation","title":"Delete an org from an org group","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/org-groups/deleteorgmember","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgGroups/{groupId}/orgs' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"orgId\": \"string\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":73}}1049{"id":"doc-sign_in_to_your_spa_with_auth_js_okta_developer-928ba707","source":"documentation","title":"Sign in to your SPA with Auth JS | Okta Developer","url":"https://developer.okta.com/docs/guides/sign-in-to-spa-authjs/vue/main","text":"Example:\n```bash\nnpm install -g @vue/cli\nvue create okta-app\n```\n\nExample:\n```bash\ncd okta-app\n```\n\nExample:\n```bash\nnpm install @okta/okta-vue@latest\nnpm install @okta/okta-auth-js@latest\n```\n\nExample:\n```js\nexport default {\n  oidc: {\n    clientId: '{yourClientId}',\n    issuer: 'https://{yourOktaDomain}/oauth2/default',\n    redirectUri: '{yourLocalAppDomain}/login/callback',\n    scopes: ['openid', 'offline_access', 'profile', 'email'],\n    tokenManager: {\n      storage: 'localStorage'\n    }\n  }\n}\n```\n\nExample:\n```html\n<template>\n  <div class=\"login\">\n    <h1>Sign in</h1>\n    <p v-if=\"$route.query.redirect\">\n      You need to sign in first.\n    </p>\n    <form @submit.prevent=\"signIn\" autocomplete=\"off\">\n      Email: <label><input v-model=\"email\" placeholder=\"email\" v-focus></label><br><br>\n      Password: <label><input v-model=\"pass\" placeholder=\"password\" type=\"password\"></label><br>\n      <br>\n      <button type=\"submit\">Continue</button>\n      <p v-if=\"error\" class=\"error\">{{msg}}</p>\n    </form>\n  </div>\n</template>\n\n<script>\nexport default {\n  data () {\n    return {\n      email: '',\n      pass: '',\n      msg: '',\n      error: false\n    }\n  },\n  methods: {\n    signIn () {\n      this.$auth.idx.authenticate({\n      username: this.email,\n      password: this.pass\n    }).then(transaction => {\n      switch (transaction.status) {\n        case 'SUCCESS':\n          this.$auth.tokenManager.setTokens(transaction.tokens)\n          this.$router.replace(this.$route.query.redirect || '/')\n          break\n        case 'PENDING':\n          // next IDX step not handled in this app yet\n          this.error = true\n          this.msg = transaction.messages[0].message\n          console.log('TODO: add handling for status: ', transaction.status,\n            'message: ', transaction.messages,\n            'next step: ', transaction.nextStep)\n          break\n        case 'FAILURE':\n          // failure from idx.authenticate\n          this.error = true\n          this.msg = transaction.messages[0].message\n          console.log(transaction.status, transaction.messages)\n          break\n        default:\n          this.error = true\n          this.msg = transaction.messages[0].message\n          console.error('What happened?: ', transaction.status, transaction.messages)\n      }\n    }).catch(err => {\n      this.error = true\n      this.msg = err.message\n      console.error(err.message)\n      })\n    }\n  }\n}\n</script>\n\n<style>\n  .error {\n    color: red;\n  }\n</style>\n```\n\nExample:\n```js\nimport { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport { OktaAuth } from '@okta/okta-auth-js'\nimport OktaVue from '@okta/okta-vue'\nimport sampleConfig from '@/config'\n\nconst oktaAuth = new OktaAuth(sampleConfig.oidc)\n\ncreateApp(App)\n.directive('focus', {\n  // When the bound element is inserted into the DOM...\n  mounted: function (el) {\n    // Focus the element\n    el.focus()\n  }\n})\n.use(router)\n.use(OktaVue, { oktaAuth,\n  onAuthRequired: () => {\n    router.push('/login')\n  },\n  onAuthResume: () => {\n    router.push('/login')\n  },\n})\n.mount('#app')\n```\n\nExample:\n```html\n<template>\n  <div id=\"app\">\n    <h1>Okta Vue.js and Auth JS example</h1>\n      <div id=\"nav\">\n        <router-link to=\"/about\">About</router-link> |\n        <router-link to=\"/dashboard\" v-if=\"authState && authState.isAuthenticated\" >Dashboard</router-link>\n        <span v-if=\"authState && authState.isAuthenticated\"> | </span>\n        <a v-if=\"authState && authState.isAuthenticated\" v-on:click=\"logout()\"> Sign out</a>\n        <router-link v-if=\"authState && !authState.isAuthenticated\" to=\"/login\">Sign in</router-link>\n      </div>\n    <template v-if=\"$route.matched.length\">\n      <router-view></router-view>\n    </template>\n    <template v-else>\n      <h2>Welcome!</h2>\n      <p>This is an embedded Okta auth SPA app with Vue.js and Auth JS SDK</p>\n      <p>You are {{ (authState && authState.isAuthenticated) ? '' : 'not' }} signed in.</p>\n    </template>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'app',\n  methods: {\n      async logout () {\n        await this.$auth.signOut()\n      }\n    }\n}\n</script>\n\n...\n```\n\nExample:\n```js\n{ path: '/dashboard', name: 'Dashboard', component: Dashboard, meta: { requiresAuth: true } },\n```\n\nExample:\n```html\n<router-link to=\"/dashboard\" v-if=\"authState && authState.isAuthenticated\" >Dashboard</router-link>\n```\n\nExample:\n```html\n<template>\n  <div>\n    <h1>Dashboard</h1>\n    <h3>Success</h3>\n       <p>\n       You have signed in to an embedded Okta auth SPA app with Vue.js and Auth JS SDK.\n       </p>\n    <h3>User Profile</h3>\n    <br><br>\n    <table>\n      <thead>\n        <tr>\n          <th>Claim</th>\n          <th>Value</th>\n        </tr>\n      </thead>\n      <tbody>\n        <tr v-for=\"(claim, index) in claims\" :key=\"index\">\n          <td>{{claim.claim}}</td>\n          <td :id=\"'claim-' + claim.claim\">{{claim.value}}</td>\n        </tr>\n      </tbody>\n    </table>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'Dashboard',\n  data () {\n    return {\n      claims: []\n    }\n  },\n  async created () {\n    this.claims = await Object.entries(await this.$auth.getUser()).map(entry => ({ claim: entry[0], value: entry[1] }))\n  }\n}\n</script>\n\n...\n```\n\nExample:\n```js\nimport { createRouter, createWebHistory } from 'vue-router'\nimport { navigationGuard } from '@okta/okta-vue'\nimport About from '@/components/About.vue'\nimport Dashboard from '@/components/Dashboard.vue'\nimport Login from '@/components/Login.vue'\n\nconst router = createRouter({\n  history: createWebHistory(__dirname),\n  routes: [\n    { path: '/', name: 'Home', component: About },\n    { path: '/about', name: 'About', component: About },\n    { path: '/dashboard', name: 'Dashboard', component: Dashboard, meta: { requiresAuth: true } },\n    { path: '/login', component: Login }\n  ]\n})\n\nrouter.beforeEach(navigationGuard)\n\nexport default router;\n```\n\nExample:\n```bash\nnpm run serve\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":259,"estimatedTokens":1488}}1050{"id":"doc-change_the_status_of_an_org-14581307","source":"documentation","title":"Change the status of an org","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs/changeorgstatus","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}/status' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"status\": \"INACTIVE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n  \"name\": \"My Org 1\",\n  \"cell\": \"ok1\",\n  \"domain\": \"my-org-1.okta.com\",\n  \"status\": \"INACTIVE\",\n  \"aerialOrg\": false,\n  \"createdDate\": \"2023-12-08T20:15:18.000Z\",\n  \"id\": \"00o16fjDHCgFqob8n0g4\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":130}}1051{"id":"doc-partially_update_an_access_request_condition_tem-87930663","source":"documentation","title":"Partially update an access request condition template","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/governance/patchrequestconditiontemplate","text":"Example:\n```text\ncurl -i -X PATCH \\\n  'https://aerial-apac.okta.com/{accountId}/governance/api/v1/request-condition-templates/{templateId}' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/merge-patch+json' \\\n  -d '{\n    \"requestCondition\": {\n      \"name\": \"updatedConditionName\",\n      \"accessDurationSettings\": {\n        \"duration\": \"P60D\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rcom02pucExS1C3t10g3\",\n  \"applyStatus\": \"NOT_APPLIED\",\n  \"resources\": [\n    { … }\n  ],\n  \"requestCondition\": {\n    \"id\": \"rcom02pucExS1C3t10g3\",\n    \"lastUpdated\": \"2025-12-22T19:15:53Z\",\n    \"accessDurationSettings\": { … },\n    \"lastUpdatedBy\": \"pca88daNl4vHU7C5z0g4\",\n    \"approvalSequenceId\": \"12ab2db568c7c300079fefd0\",\n    \"createdBy\": \"00u87v4EURdm7FO800g4\",\n    \"_links\": { … },\n    \"created\": \"2025-10-08T17:52:24Z\",\n    \"requesterSettings\": { … },\n    \"name\": \"kkpjdtag\",\n    \"accessScopeSettings\": { … },\n    \"priority\": 0,\n    \"status\": \"INACTIVE\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":43,"estimatedTokens":253}}1052{"id":"doc-create_an_access_request_condition_template-c143371b","source":"documentation","title":"Create an access request condition template","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/governance/createrequestconditiontemplate","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://aerial-apac.okta.com/{accountId}/governance/api/v1/request-condition-templates' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"resources\": [\n      {\n        \"orn\": \"orn:okta:accounts:0227mkkf8ulgt48bkidcd8ekqft:orgs\"\n      }\n    ],\n    \"requestCondition\": {\n      \"name\": \"testCondition\",\n      \"approvalSequenceId\": \"12ab2db568c7c300079fefd0\",\n      \"accessDurationSettings\": {\n        \"type\": \"ADMIN_FIXED_DURATION\",\n        \"duration\": \"P30D\"\n      },\n      \"accessScopeSettings\": {\n        \"type\": \"ENTITLEMENT_BUNDLES\",\n        \"entitlementBundles\": [\n          {\n            \"id\": \"enbkgkK0WNu2T9QHJ0g3\"\n          }\n        ]\n      },\n      \"requesterSettings\": {\n        \"type\": \"EVERYONE\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"rcom02pucExS1C3t10g3\",\n  \"applyStatus\": \"NOT_APPLIED\",\n  \"resources\": [\n    { … }\n  ],\n  \"requestCondition\": {\n    \"id\": \"rcom02pucExS1C3t10g3\",\n    \"lastUpdated\": \"2025-12-22T19:15:53Z\",\n    \"accessDurationSettings\": { … },\n    \"lastUpdatedBy\": \"pca88daNl4vHU7C5z0g4\",\n    \"approvalSequenceId\": \"12ab2db568c7c300079fefd0\",\n    \"createdBy\": \"00u87v4EURdm7FO800g4\",\n    \"_links\": { … },\n    \"created\": \"2025-10-08T17:52:24Z\",\n    \"requesterSettings\": { … },\n    \"name\": \"kkpjdtag\",\n    \"accessScopeSettings\": { … },\n    \"priority\": 0,\n    \"status\": \"INACTIVE\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":61,"estimatedTokens":359}}1053{"id":"doc-requests_to_delete_an_org-ba51c985","source":"documentation","title":"Requests to delete an org","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs/createdeletionrequest","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs/{orgId}/deletionRequest' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":46}}1054{"id":"doc-accept_known_good_sanitizing_data_okta_developer-895b1888","source":"documentation","title":"Accept Known Good - Sanitizing Data | Okta Developer","url":"https://developer.okta.com/books/api-security/sanitizing/accept-good/","text":"Example:\n```js\nimport validator from 'validator';\nvalidator.isEmail('foobar@example.com');\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":27}}1055{"id":"doc-add_an_org_to_your_account-c049ba92","source":"documentation","title":"Add an org to your account","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs/addorg","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"orgId\": \"00oy0itaI2Yi7XGGE0g3\",\n    \"cell\": \"ok1\"\n  }'\n```\n\nExample:\n```text\n{\n  \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n  \"name\": \"My Org 1\",\n  \"cell\": \"ok1\",\n  \"domain\": \"my-org-1.okta.com\",\n  \"status\": \"ACTIVE\",\n  \"aerialOrg\": false,\n  \"createdDate\": \"2023-12-08T20:15:18.000Z\",\n  \"id\": \"00o16fjDHCgFqob8n0g4\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":133}}1056{"id":"doc-look_for_other_attack_vectors_sanitizing_data_ok-5ab60f11","source":"documentation","title":"Look For Other Attack Vectors - Sanitizing Data | Okta Developer","url":"https://developer.okta.com/books/api-security/sanitizing/attack-vectors/","text":"Example:\n```http\nPOST /submit-me HTTP/1.1\nHost: example.com\nAccept: */*\nReferer: http://example.com/fake.html\nAccept-Language: en-us\nContent-Type: application/x-www-form-urlencoded\nAccept-Encoding: gzip, deflate\nUser-Agent: My Fake UserAgent <img src onerror='alert(\"haxor\")'>\nContent-Length: 37\nConnection: Keep-Alive\nCache-Control: no-cache\n\nfoo=bar&key=value\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":18,"estimatedTokens":95}}1057{"id":"doc-list_all_managed_orgs-467d326d","source":"documentation","title":"List all managed orgs","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/orgs/getorgs","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/api/v1/orgs?after=string&before=string&limit=25&filter=subdomain%20eq%20%22customer-subdomain%22' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n[\n  {\n    \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n    \"name\": \"My Org 1\",\n    \"cell\": \"ok1\",\n    \"domain\": \"my-org-1.okta.com\",\n    \"status\": \"ACTIVE\",\n    \"aerialOrg\": true,\n    \"createdDate\": \"2023-12-08T20:15:18.000Z\",\n    \"id\": \"00o16fjDHCgFqob8n0g4\"\n  },\n  {\n    \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n    \"name\": \"My Org 2\",\n    \"cell\": \"ok1\",\n    \"domain\": \"my-org-2.okta.com\",\n    \"status\": \"INACTIVE\",\n    \"aerialOrg\": false,\n    \"createdDate\": \"2023-12-08T22:09:07.000Z\",\n    \"id\": \"00o16xupGJbokZXPO0g4\"\n  },\n  {\n    \"accountId\": \"0227mkkf8ulgt48bkidcd8ekqft\",\n    \"name\": \"My Org 3\",\n    \"cell\": \"ok1\",\n    \"domain\": \"my-org-3.okta.com\",\n    \"status\": \"ACTIVE\",\n    \"aerialOrg\": false,\n    \"createdDate\": \"2023-12-08T23:13:08.000Z\",\n    \"id\": \"00o1cqcx8XNArUxjH0g4\"\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":44,"estimatedTokens":265}}1058{"id":"doc-delete_an_access_request_condition_template-0be0521a","source":"documentation","title":"Delete an access request condition template","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/governance/deleterequestconditiontemplate","text":"Example:\n```text\ncurl -i -X DELETE \\\n  'https://aerial-apac.okta.com/{accountId}/governance/api/v1/request-condition-templates/{templateId}' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":60}}1059{"id":"doc-retrieve_an_access_request_condition_template-882c7c97","source":"documentation","title":"Retrieve an access request condition template","url":"https://developer.okta.com/docs/api/openapi/aerial/aerial/governance/getrequestconditiontemplate","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://aerial-apac.okta.com/{accountId}/governance/api/v1/request-condition-templates/{templateId}' \\\n  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'\n```\n\nExample:\n```text\n{\n  \"id\": \"020qqli3iolphlqkmrutpt8271c\",\n  \"applyStatus\": \"APPLIED\",\n  \"requestCondition\": {}\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":81}}1060{"id":"doc-replace_a_device_posture_check-35f42537","source":"documentation","title":"Replace a device posture check","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/deviceposturecheck/other/replacedeviceposturecheck","text":"Example:\n```text\ncurl -i -X PUT \\\n  'https://subdomain.okta.com/api/v1/device-posture-checks/{postureCheckId}' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Device posture check macOS\",\n    \"description\": \"Query macOS devices to check if firewall is enabled\",\n    \"variableName\": \"macOSFirewall\",\n    \"platform\": \"MACOS\",\n    \"type\": \"CUSTOM\",\n    \"mappingType\": \"CHECKBOX\",\n    \"query\": \"SELECT CASE WHEN global_state = 0 THEN 0 ELSE 1 END AS firewall_enabled FROM alf;\",\n    \"remediationSettings\": {\n      \"message\": {\n        \"defaultI18nKey\": null,\n        \"customText\": \"It is our company policy that all devices must have a firewall enabled.\"\n      },\n      \"link\": {\n        \"defaultUrl\": null,\n        \"customUrl\": \"example.myremediationurl.com/docs\"\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"dch3m8o4rWhwReDeM1c5\",\n  \"name\": \"Device posture check macOS\",\n  \"lastUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"createdUpdate\": \"2022-01-01T00:00:00.000Z\",\n  \"lastUpdatedBy\": \"00u217pyf72CdUrBt1c5\",\n  \"createdBy\": \"00u217pyf72CdUrBt1c5\",\n  \"description\": \"Query macOS devices to check if firewall is enabled\",\n  \"variableName\": \"macOSFirewall\",\n  \"query\": \"SELECT CASE WHEN global_state = 0 THEN 0 ELSE 1 END AS firewall_enabled FROM  alf;\",\n  \"platform\": \"MACOS\",\n  \"type\": \"CUSTOM\",\n  \"mappingType\": \"CHECKBOX\",\n  \"remediationSettings\": {\n    \"message\": { … },\n    \"link\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":52,"estimatedTokens":367}}1061{"id":"doc-list_all_group_role_app_targets-3891f409","source":"documentation","title":"List all group role app targets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetbgroup/other/listapplicationtargetsforapplicationadministratorroleforgroup","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"category\": \"SOCIAL\",\n    \"description\": \"string\",\n    \"displayName\": \"string\",\n    \"features\": [ … ],\n    \"id\": \"string\",\n    \"lastUpdated\": \"2024-09-19T23:37:37.000Z\",\n    \"name\": \"string\",\n    \"signOnModes\": [ … ],\n    \"status\": \"ACTIVE\",\n    \"verificationStatus\": \"OKTA_VERIFIED\",\n    \"website\": \"string\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":140}}1062{"id":"doc-role_assignment_okta_developer-705feab4","source":"documentation","title":"Role Assignment | Okta Developer","url":"https://developer.okta.com/docs/concepts/role-assignment/","text":"Example:\n```bash\nhttps://{yourOktaDomain}/api/v1/users/{memberUserId}\n```\n\nExample:\n```bash\nhttps://{yourOktaDomain}/api/v1/groups/{memberGroupId}\n```\n\nExample:\n```bash\nhttps://{yourOktaDomain}/oauth2/v1/clients/{clientId}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":16,"estimatedTokens":60}}1063{"id":"doc-list_all_custom_role_permissions-f9dccb8a","source":"documentation","title":"List all custom role permissions","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustompermission/other/listrolepermissions","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/roles/cr0Yq6IJxGIr0ouum0g3/permissions\n```\n\nExample:\n```text\n{\n  \"permissions\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":56}}1064{"id":"doc-assign_a_group_role_app_target-acc91770","source":"documentation","title":"Assign a group role app target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetbgroup/other/assignapptargettoadminroleforgroup","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":52}}1065{"id":"doc-replace_a_custom_role_permission-8e5e26f1","source":"documentation","title":"Replace a custom role permission","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustompermission/other/replacerolepermission","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/iam/roles/cr0Yq6IJxGIr0ouum0g3/permissions/okta.users.manage \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"conditions\": {\n      \"include\": {\n        \"okta:ResourceAttribute/User/Profile\": [\n          \"city\",\n          \"state\"\n        ]\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"label\": \"okta.users.read\",\n  \"conditions\": {\n    \"include\": { … }\n  },\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"role\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.914Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":34,"estimatedTokens":148}}1066{"id":"doc-unassign_a_group_role_app_instance_target-e979c3ea","source":"documentation","title":"Unassign a group role app instance target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetbgroup/other/unassignappinstancetargettoappadminroleforgroup","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":58}}1067{"id":"doc-retrieve_a_custom_role_permission-fd484a94","source":"documentation","title":"Retrieve a custom role permission","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustompermission/other/getrolepermission","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/roles/cr0Yq6IJxGIr0ouum0g3/permissions/okta.users.manage\n```\n\nExample:\n```text\n{\n  \"label\": \"okta.users.manage\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"role\": { … },\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":87}}1068{"id":"doc-unassign_a_group_role_app_target-2a768e2f","source":"documentation","title":"Unassign a group role app target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetbgroup/other/unassignapptargettoadminroleforgroup","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":53}}1069{"id":"doc-list_all_group_role_group_targets-a77a7f43","source":"documentation","title":"List all group role group targets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetbgroup/other/listgrouptargetsforgrouprole","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2019-08-24T14:15:22Z\",\n    \"id\": \"0gabcd1234\",\n    \"lastMembershipUpdated\": \"2019-08-24T14:15:22Z\",\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"objectClass\": [ … ],\n    \"profile\": { … },\n    \"type\": \"APP_GROUP\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":124}}1070{"id":"doc-unassign_a_group_role_group_target-aff46ef8","source":"documentation","title":"Unassign a group role group target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetbgroup/other/unassigngrouptargetfromgroupadminrole","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups/00g1e9dfjHeLAsdX983d\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":55}}1071{"id":"doc-create_a_custom_role_permission-dba91c10","source":"documentation","title":"Create a custom role permission","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustompermission/other/createrolepermission","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/iam/roles/cr0Yq6IJxGIr0ouum0g3/permissions/okta.users.manage \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"conditions\": {\n      \"include\": {\n        \"okta:ResourceAttribute/User/Profile\": [\n          \"city\",\n          \"state\"\n        ]\n      }\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":97}}1072{"id":"doc-assign_a_group_role_group_target-9dd6580b","source":"documentation","title":"Assign a group role group target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetbgroup/other/assigngrouptargettogroupadminrole","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups/00g1e9dfjHeLAsdX983d\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":54}}1073{"id":"doc-delete_a_custom_role_permission-46a30638","source":"documentation","title":"Delete a custom role permission","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roleecustompermission/other/deleterolepermission","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/iam/roles/cr0Yq6IJxGIr0ouum0g3/permissions/okta.users.manage\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}1074{"id":"doc-assign_a_client_role_app_target-a7fe5d3b","source":"documentation","title":"Assign a client role app target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetclient/other/assignapptargetroletoclient","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":56}}1075{"id":"doc-list_all_role_resource_set_binding_members-f4250ad2","source":"documentation","title":"List all role resource set binding members","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roledresourcesetbindingmember/other/listmembersofbinding","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/bindings/cr0Yq6IJxGIr0ouum0g3/members?after=string'\n```\n\nExample:\n```text\n{\n  \"members\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"binding\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":77}}1076{"id":"doc-assign_a_group_role_app_instance_target-28cbfc99","source":"documentation","title":"Assign a group role app instance target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetbgroup/other/assignappinstancetargettoappadminroleforgroup","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":57}}1077{"id":"doc-unassign_a_client_role_group_target-2519ded3","source":"documentation","title":"Unassign a client role group target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetclient/other/removegrouptargetrolefromclient","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups/00g1emaKYZTWRYYRRTSK\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":59}}1078{"id":"doc-retrieve_a_role_resource_set_binding_member-a3425e00","source":"documentation","title":"Retrieve a role resource set binding member","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roledresourcesetbindingmember/other/getmemberofbinding","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/bindings/cr0Yq6IJxGIr0ouum0g3/members/irb1qe6PGuMc7Oh8N0g4\n```\n\nExample:\n```text\n{\n  \"id\": \"irb1qe6PGuMc7Oh8N0g4\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":92}}1079{"id":"doc-assign_a_client_role_group_target-7aff19d7","source":"documentation","title":"Assign a client role group target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetclient/other/assigngrouptargetroleforclient","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups/00g1emaKYZTWRYYRRTSK\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":58}}1080{"id":"doc-list_all_client_role_group_targets-8585a3dd","source":"documentation","title":"List all client role group targets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetclient/other/listgrouptargetroleforclient","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2019-08-24T14:15:22Z\",\n    \"id\": \"0gabcd1234\",\n    \"lastMembershipUpdated\": \"2019-08-24T14:15:22Z\",\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"objectClass\": [ … ],\n    \"profile\": { … },\n    \"type\": \"APP_GROUP\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.916Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":128}}1081{"id":"doc-assign_a_client_role_app_instance_target-41d91a8e","source":"documentation","title":"Assign a client role app instance target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetclient/other/assignapptargetinstanceroleforclient","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":61}}1082{"id":"doc-add_more_role_resource_set_binding_members-895e53a7","source":"documentation","title":"Add more role resource set binding members","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roledresourcesetbindingmember/other/addmemberstobinding","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/bindings/cr0Yq6IJxGIr0ouum0g3/members \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"additions\": [\n      \"https://{yourOktaDomain}/api/v1/groups/00guaxWZ0AOa5NFAj0g3\",\n      \"https://{yourOktaDomain}/api/v1/users/00u67DU2qNCjNZYO0g3\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"_links\": {\n    \"self\": { … },\n    \"bindings\": { … },\n    \"resource-set\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":124}}1083{"id":"doc-list_all_client_role_app_targets-0469122a","source":"documentation","title":"List all client role app targets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetclient/other/listapptargetroletoclient","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"name\": \"facebook\",\n    \"displayName\": \"Facebook\",\n    \"description\": \"Giving people the power to share and make the world more open and connected.\",\n    \"status\": \"ACTIVE\",\n    \"lastUpdated\": \"2021-03-18T17:37:56.000Z\",\n    \"category\": \"SOCIAL\",\n    \"verificationStatus\": \"OKTA_VERIFIED\",\n    \"website\": \"https://www.facebook.com/\",\n    \"signOnModes\": [ … ],\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":156}}1084{"id":"doc-list_all_subscriptions_for_a_role-5635ca82","source":"documentation","title":"List all subscriptions for a role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/subscription/other/listsubscriptionsrole","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/roles/{roleRef}/subscriptions'\n```\n\nExample:\n```text\n[\n  {\n    \"channels\": [ … ],\n    \"notificationType\": \"AD_AGENT\",\n    \"status\": \"subscribed\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":65}}1085{"id":"doc-unassign_a_role_resource_set_binding_member-4876f3aa","source":"documentation","title":"Unassign a role resource set binding member","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roledresourcesetbindingmember/other/unassignmemberfrombinding","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/bindings/cr0Yq6IJxGIr0ouum0g3/members/irb1qe6PGuMc7Oh8N0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":56}}1086{"id":"doc-unassign_a_client_role_app_instance_target-a4c9cc52","source":"documentation","title":"Unassign a client role app instance target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetclient/other/removeapptargetinstanceroleforclient","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":62}}1087{"id":"doc-unassign_a_client_role_app_target-94113b7c","source":"documentation","title":"Unassign a client role app target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetclient/other/removeapptargetrolefromclient","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/oauth2/v1/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":57}}1088{"id":"doc-assign_an_admin_role_app_instance_target-501a979d","source":"documentation","title":"Assign an admin role app instance target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/assignappinstancetargettoappadminroleforuser","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":57}}1089{"id":"doc-subscribe_a_role_to_a_specific_notification_type-bef3fe84","source":"documentation","title":"Subscribe a role to a specific notification type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/subscription/other/subscribebynotificationtyperole","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/roles/{roleRef}/subscriptions/{notificationType}/subscribe'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}1090{"id":"doc-list_all_admin_role_group_targets-0e14acbf","source":"documentation","title":"List all admin role group targets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/listgrouptargetsforrole","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"created\": \"2019-08-24T14:15:22Z\",\n    \"id\": \"0gabcd1234\",\n    \"lastMembershipUpdated\": \"2019-08-24T14:15:22Z\",\n    \"lastUpdated\": \"2019-08-24T14:15:22Z\",\n    \"objectClass\": [ … ],\n    \"profile\": { … },\n    \"type\": \"APP_GROUP\",\n    \"_embedded\": { … },\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":124}}1091{"id":"doc-subscribe_a_user_to_a_specific_notification_type-db666fe8","source":"documentation","title":"Subscribe a user to a specific notification type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/subscription/other/subscribebynotificationtypeuser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}1092{"id":"doc-unassign_an_admin_role_app_instance_target-5913f76c","source":"documentation","title":"Unassign an admin role app instance target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/unassignappinstancetargetfromadminroleforuser","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google/0oafxqCAJWWGELFTYASJ\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":58}}1093{"id":"doc-unassign_an_admin_role_app_target-be40392a","source":"documentation","title":"Unassign an admin role app target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/unassignapptargetfromappadminroleforuser","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":53}}1094{"id":"doc-unsubscribe_a_user_from_a_specific_notification_-017f8280","source":"documentation","title":"Unsubscribe a user from a specific notification type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/subscription/other/unsubscribebynotificationtypeuser","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}1095{"id":"doc-unsubscribe_a_role_from_a_specific_notification_-77b86462","source":"documentation","title":"Unsubscribe a role from a specific notification type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/subscription/other/unsubscribebynotificationtyperole","text":"Example:\n```text\ncurl -i -X POST \\\n  'https://subdomain.okta.com/api/v1/roles/{roleRef}/subscriptions/{notificationType}/unsubscribe'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}1096{"id":"doc-assign_an_admin_role_group_target-03028d80","source":"documentation","title":"Assign an admin role group target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/assigngrouptargettouserrole","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups/00g1emaKYZTWRYYRRTSK\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.918Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":54}}1097{"id":"doc-assign_all_apps_as_target_to_admin_role-760a5cde","source":"documentation","title":"Assign all apps as target to admin role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/assignallappsastargettoroleforuser","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}1098{"id":"doc-retrieve_a_subscription_for_a_user-094d465c","source":"documentation","title":"Retrieve a subscription for a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/subscription/other/getsubscriptionsnotificationtypeuser","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/{userId}/subscriptions/{notificationType}'\n```\n\nExample:\n```text\n{\n  \"channels\": [\n    \"string\"\n  ],\n  \"notificationType\": \"AD_AGENT\",\n  \"status\": \"subscribed\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":74}}1099{"id":"doc-list_all_subscriptions_for_a_user-90546dcc","source":"documentation","title":"List all subscriptions for a user","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/subscription/other/listsubscriptionsuser","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/{userId}/subscriptions'\n```\n\nExample:\n```text\n[\n  {\n    \"channels\": [ … ],\n    \"notificationType\": \"AD_AGENT\",\n    \"status\": \"subscribed\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":65}}1100{"id":"doc-retrieve_a_subscription_for_a_role-04f059b2","source":"documentation","title":"Retrieve a subscription for a role","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/subscription/other/getsubscriptionsnotificationtyperole","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/roles/{roleRef}/subscriptions/{notificationType}'\n```\n\nExample:\n```text\n{\n  \"channels\": [\n    \"string\"\n  ],\n  \"notificationType\": \"AD_AGENT\",\n  \"status\": \"subscribed\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":74}}1101{"id":"doc-list_all_admin_role_app_targets-32256674","source":"documentation","title":"List all admin role app targets","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/listapplicationtargetsforapplicationadministratorroleforuser","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps?after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"category\": \"SOCIAL\",\n    \"description\": \"string\",\n    \"displayName\": \"string\",\n    \"features\": [ … ],\n    \"id\": \"string\",\n    \"lastUpdated\": \"2024-09-19T23:37:37.000Z\",\n    \"name\": \"string\",\n    \"signOnModes\": [ … ],\n    \"status\": \"ACTIVE\",\n    \"verificationStatus\": \"OKTA_VERIFIED\",\n    \"website\": \"string\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":140}}1102{"id":"doc-assign_an_admin_role_app_target-29ccb741","source":"documentation","title":"Assign an admin role app target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/assignapptargettoadminroleforuser","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":52}}1103{"id":"doc-api_v1_iam_governance_optin-f6a02e86","source":"documentation","title":"/api/v1/iam/governance/optIn","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/paths/~1api~1v1~1iam~1governance~1optin/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/api/v1/iam/governance/optIn\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":31}}1104{"id":"doc-unassign_an_admin_role_group_target-333ffbaa","source":"documentation","title":"Unassign an admin role group target","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/unassigngrouptargetfromuseradminrole","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups/00g1emaKYZTWRYYRRTSK\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":55}}1105{"id":"doc-retrieve_a_governance_bundle-23534a26","source":"documentation","title":"Retrieve a governance bundle","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/getgovernancebundle","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/governance/bundles/enbllojq9J9J105DL1d6\n```\n\nExample:\n```text\n{\n  \"id\": \"0bbfxqCAJWWGELFTYAAA\",\n  \"name\": \"Group admin bundle\",\n  \"description\": \"Group bundle for administrative access\",\n  \"status\": \"ACTIVE\",\n  \"orn\": \"orn:okta:governance:00o5rb5mt2H3d1TJd0h7:bundles:0bbfxqCAJWWGELFTYAAA\",\n  \"_links\": {\n    \"self\": \"http://your-subdomain.okta.com/api/v1/iam/governance/bundles/0bbfxqCAJWWGELFTYAAA\",\n    \"entitlements\": \"http://your-subdomain.okta.com/api/v1/iam/governance/bundles/0bbfxqCAJWWGELFTYAAA/entitlements\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":154}}1106{"id":"doc-retrieve_the_admin_console_opt_in_status-f5f352a3","source":"documentation","title":"Retrieve the Admin Console opt-in status","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/getoptinstatus","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/governance/optIn\n```\n\nExample:\n```text\n{\n  \"optInStatus\": \"OPTING_IN\",\n  \"_links\": {\n    \"optInStatus\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":52}}1107{"id":"doc-delete_a_governance_bundle-b32d7100","source":"documentation","title":"Delete a governance bundle","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/deletegovernancebundle","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/iam/governance/bundles/enbllojq9J9J105DL1d6\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":42}}1108{"id":"doc-api_v1_iam_governance_bundles-6b209514","source":"documentation","title":"/api/v1/iam/governance/bundles","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/paths/~1api~1v1~1iam~1governance~1bundles/x-okta-lifecycle","text":"Example:\n```text\ncurl -i -X X-OKTA-LIFECYCLE \\\n  https://subdomain.okta.com/api/v1/iam/governance/bundles\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":31}}1109{"id":"doc-retrieve_a_role_target_by_assignment_type-4760cc8a","source":"documentation","title":"Retrieve a role target by assignment type","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolebtargetadmin/other/getroletargetsbyuseridandroleid","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets?assignmentType=GROUP&after=string&limit=20'\n```\n\nExample:\n```text\n[\n  {\n    \"orn\": \"orn:okta:directory:00o5v1t2W4OSF9r4N0g4:groups:00g5vhi3rEJMOog1S0g4\",\n    \"assignmentType\": \"USER\",\n    \"expiration\": \"2025-05-10T20:21:11.000Z\",\n    \"_links\": { … }\n  }\n]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":103}}1110{"id":"doc-create_a_governance_bundle-7b5d739a","source":"documentation","title":"Create a governance bundle","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/creategovernancebundle","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/iam/governance/bundles \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Group admin bundle\",\n    \"description\": \"Group bundle for administrative access\",\n    \"entitlements\": {\n      \"role\": \"GROUP_MEMBERSHIP_ADMIN\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0bbfxqCAJWWGELFTYAAA\",\n  \"name\": \"Group admin bundle\",\n  \"description\": \"Group bundle for administrative access\",\n  \"status\": \"ACTIVE\",\n  \"orn\": \"orn:okta:governance:00o5rb5mt2H3d1TJd0h7:bundles:0bbfxqCAJWWGELFTYAAA\",\n  \"_links\": {\n    \"self\": \"http://your-subdomain.okta.com/api/v1/iam/governance/bundles/0bbfxqCAJWWGELFTYAAA\",\n    \"entitlements\": \"http://your-subdomain.okta.com/api/v1/iam/governance/bundles/0bbfxqCAJWWGELFTYAAA/entitlements\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":204}}1111{"id":"doc-user_password_recovery_okta_developer-bec958c9","source":"documentation","title":"User password recovery | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-pwd-recovery-mfa/java/main/","text":"Example:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin();\nProceedContext proceedContext = beginResponse.getProceedContext();\n```\n\nExample:\n```java\nAuthenticationResponse authenticationResponse =\n    idxAuthenticationWrapper.recoverPassword(username, proceedContext);\n```\n\nExample:\n```java\nauthenticationResponse = idxAuthenticationWrapper.selectAuthenticator(proceedContext, authenticator);\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions = new VerifyAuthenticatorOptions(code);\nAuthenticationResponse authenticationResponse =\n   idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions);\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions = new VerifyAuthenticatorOptions(newPassword);\nAuthenticationResponse authenticationResponse = idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions);\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":31,"estimatedTokens":240}}1112{"id":"doc-list_all_governance_bundles-5a7288fb","source":"documentation","title":"List all governance bundles","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/listgovernancebundles","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/iam/governance/bundles?after=string&limit=20'\n```\n\nExample:\n```text\n{\n  \"bundles\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":62}}1113{"id":"doc-list_all_values_for_a_governance_bundle_entitlem-2c7c38ca","source":"documentation","title":"List all values for a governance bundle entitlement","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/listbundleentitlementvalues","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/iam/governance/bundles/enbllojq9J9J105DL1d6/entitlements/ent4rg7fltWSgrlDT8g6/values?after=string&limit=20'\n```\n\nExample:\n```text\n{\n  \"entitlementValues\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"bundle\": { … },\n    \"entitlements\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":87}}1114{"id":"doc-replace_a_governance_bundle-aa681136","source":"documentation","title":"Replace a governance bundle","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/replacegovernancebundle","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/iam/governance/bundles/enbllojq9J9J105DL1d6 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"name\": \"Group admin bundle\",\n    \"description\": \"Group bundle for administrative access\",\n    \"entitlements\": {\n      \"role\": \"GROUP_MEMBERSHIP_ADMIN\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"0bbfxqCAJWWGELFTYAAA\",\n  \"name\": \"Group admin bundle\",\n  \"description\": \"Group bundle for administrative access\",\n  \"status\": \"ACTIVE\",\n  \"orn\": \"orn:okta:governance:00o5rb5mt2H3d1TJd0h7:bundles:0bbfxqCAJWWGELFTYAAA\",\n  \"_links\": {\n    \"self\": \"http://your-subdomain.okta.com/api/v1/iam/governance/bundles/0bbfxqCAJWWGELFTYAAA\",\n    \"entitlements\": \"http://your-subdomain.okta.com/api/v1/iam/governance/bundles/0bbfxqCAJWWGELFTYAAA/entitlements\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":209}}1115{"id":"doc-list_all_entitlements_for_a_governance_bundle-eb4e3f8e","source":"documentation","title":"List all entitlements for a governance bundle","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/listbundleentitlements","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/iam/governance/bundles/enbllojq9J9J105DL1d6/entitlements?after=string&limit=20'\n```\n\nExample:\n```text\n{\n  \"entitlements\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"bundle\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":77}}1116{"id":"doc-list_all_resource_set_resources-0962f5ad","source":"documentation","title":"List all resource set resources","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourcesetresource/other/listresourcesetresources","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/resources?after=string&limit=100'\n```\n\nExample:\n```text\n{\n  \"resources\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"next\": { … },\n    \"resource-set\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":79}}1117{"id":"doc-opt_in_the_admin_console_to_entitlement_manageme-5d028bf2","source":"documentation","title":"Opt in the Admin Console to entitlement management","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/optin","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/iam/governance/optIn\n```\n\nExample:\n```text\n{\n  \"optInStatus\": \"OPTING_IN\",\n  \"_links\": {\n    \"optInStatus\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.921Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":52}}1118{"id":"doc-opt_out_the_admin_console_from_entitlement_manag-dfca5e9b","source":"documentation","title":"Opt out the Admin Console from entitlement management","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/governancebundle/other/optout","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/iam/governance/optOut\n```\n\nExample:\n```text\n{\n  \"optInStatus\": \"OPTING_OUT\",\n  \"_links\": {\n    \"optInStatus\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":53}}1119{"id":"doc-replace_the_resource_set_resource_conditions-5fe84719","source":"documentation","title":"Replace the resource set resource conditions","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourcesetresource/other/replaceresourcesetresource","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/resources/ire106sQKoHoXXsAe0g4 \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"conditions\": {\n      \"Exclude\": {\n        \"okta:ORN\": [\n          \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:0oa1014FmyZ2H0oRY0g4\",\n          \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:slack\"\n        ]\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ire106sQKoHoXXsAe0g4\",\n  \"orn\": \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps\",\n  \"conditions\": {\n    \"Exclude\": { … }\n  },\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resource\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":182}}1120{"id":"doc-delete_a_resource_set_resource-dbffb9a5","source":"documentation","title":"Delete a resource set resource","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourcesetresource/other/deleteresourcesetresource","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/resources/ire106sQKoHoXXsAe0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":49}}1121{"id":"doc-retrieve_a_resource_set_resource-566853c7","source":"documentation","title":"Retrieve a resource set resource","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourcesetresource/other/getresourcesetresource","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/resources/ire106sQKoHoXXsAe0g4\n```\n\nExample:\n```text\n{\n  \"id\": \"ire106sQKoHoXXsAe0g4\",\n  \"orn\": \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps\",\n  \"conditions\": {\n    \"Exclude\": { … }\n  },\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resource\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":114}}1122{"id":"doc-retrieve_the_request_fields-0b6e977e","source":"documentation","title":"Retrieve the request fields","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/catalogs/getcatalogentryrequestfieldsv2","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5/users/00ucvnr9rbONeZdRp1d7/request-fields\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":60}}1123{"id":"doc-add_more_resources_to_a_resource_set-51079d0b","source":"documentation","title":"Add more resources to a resource set","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourcesetresource/other/addresourcesetresources","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/resources \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"additions\": [\n      \"https://{yourOktaDomain}/api/v1/groups/00guaxWZ0AOa5NFAj0g3\",\n      \"https://{yourOktaDomain}/api/v1/groups/00gu67DU2qNCjNZYO0g3/users\"\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"iamoJDFKaJxGIr0oamd9g\",\n  \"label\": \"SF-IT-People\",\n  \"description\": \"People in the IT department of San Francisco\",\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resources\": { … },\n    \"bindings\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":171}}1124{"id":"doc-add_a_resource_set_resource_with_conditions-e07c1585","source":"documentation","title":"Add a resource set resource with conditions","url":"https://developer.okta.com/docs/api/openapi/okta-management/management/tags/rolecresourcesetresource/other/addresourcesetresource","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/resources \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"resourceOrnOrUrl\": \"https://{yourOktaDomain}/api/v1/apps\",\n    \"conditions\": {\n      \"Exclude\": {\n        \"okta:ORN\": [\n          \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:0oa1014FmyZ2H0oRY0g4\",\n          \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:slack\"\n        ]\n      }\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"ire106sQKoHoXXsAe0g4\",\n  \"orn\": \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps\",\n  \"conditions\": {\n    \"Exclude\": { … }\n  },\n  \"created\": \"2021-02-06T16:20:57.000Z\",\n  \"lastUpdated\": \"2021-02-06T16:20:57.000Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resource\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":193}}1125{"id":"doc-list_all_tasks-05da6866","source":"documentation","title":"List all tasks","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/tasks/listalltasksv2","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/tasks?filter=status%20eq%20%22OPEN%22&limit=20&after=68b0a1576dd8db837f5ee55d&orderBy=createdAt%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.922Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":78}}1126{"id":"doc-list_all_entries_for_the_default_access_request_-3ba61faa","source":"documentation","title":"List all entries for the default access request catalog","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/catalogs/listalldefaultentriesv2","text":"Example:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&limit=20&after=cen33e47frfMB93gQ8g6\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&match=figma&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&match=edit&limit=8\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/catalogs/default/entries?filter=not(parent%20pr)&after=cenp2rjyxK1Js2Fc41d5&match=figma&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"atspoke\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":46,"estimatedTokens":230}}1127{"id":"doc-retrieve_a_catalog_entry-d1949a6b","source":"documentation","title":"Retrieve a catalog entry","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/catalogs/getcatalogentryv2","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v2/catalogs/default/entries/cenp2rjyxK1Js2Fc41d5\n```\n\nExample:\n```text\n{\n  \"id\": \"cen33e47frfMB93gQ8g6\",\n  \"name\": \"Figma\",\n  \"description\": \"The Figma App\",\n  \"label\": \"Application\",\n  \"requestable\": false,\n  \"_links\": {\n    \"self\": { … },\n    \"logo\": [ … ],\n    \"submittedRequest\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":98}}1128{"id":"doc-org_governance_settings-dd6b532a","source":"documentation","title":"Org Governance Settings","url":"https://developer.okta.com/docs/api/iga/openapi/governance.api/tag/Org-Governance-Settings/","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/governance/api/v1/settings\n```\n\nExample:\n```text\n{\n  \"delegates\": {\n    \"enduser\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":44}}1129{"id":"doc-list_all_access_request_catalog_entries_for_a_us-b64d31f5","source":"documentation","title":"List all access request catalog entries for a user","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/catalogs/listalldefaultuserentriesv2","text":"Example:\n```text\n/governance/api/v2/catalogs/default/user/{userId}/entries?filter=not(parent%20pr)&limit=20\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/user/{userId}/entries?filter=not(parent%20pr)&limit=20&after=cen33e47frfMB93gQ8g6\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/user/{userId}/entries?filter=not(parent%20pr)&match=figma&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/user/{userId}/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&limit=8\n```\n\nExample:\n```text\n/governance/api/v2/catalogs/default/user/{userId}/entries?filter=parent%20eq%20%22cen385AlcdqGaY8HE0g2%22&match=edit&limit=8\n```\n\nExample:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/catalogs/default/user/00ucvnr9rbONeZdRp1d7/entries?filter=not(parent%20pr)&after=cenp2rjyxK1Js2Fc41d5&match=figma&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"atspoke\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":46,"estimatedTokens":254}}1130{"id":"doc-create_a_request_message-2390b2ff","source":"documentation","title":"Create a request message","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/requests/createrequestmessagev2","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v2/requests/reqp1pmpjhVdGEcVK1d5/messages \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"message\": \"Contact admin@atko.com for any additional assistance needed with this request.\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":81}}1131{"id":"doc-list_all_requests-bf27346c","source":"documentation","title":"List all requests","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/requests/listallrequestsv2","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/governance/api/v2/requests?filter=status%20eq%20%22APPROVED%22&after=reqp1pmpjhVdGEcVK1d5&limit=20&orderBy=created%20desc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":84}}1132{"id":"doc-set_up_ai_agent_token_exchange_okta_developer-c7611338","source":"documentation","title":"Set up AI agent token exchange | Okta Developer","url":"https://developer.okta.com/docs/guides/ai-agent-token-exchange/resourceserver/main/","text":"Example:\n```json\n{\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600,\n  \"access_token\": \"eyJraW...OYqhUp6g\",\n  \"scope\": \"openid\",\n  \"id_token\": \"eyJ...vc_JaEQCw\"\n}\n```\n\nExample:\n```json\n{\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600,\n  \"access_token\": \"eyJraWQiOiJQLVgxeC1ITWtuSThPS0lUeE5TWVlsMHR0blJobUY4Q0xTaUdBenlwemJVIiwiYWxnIjoi...\",\n  \"scope\": \"chat.read+chat.history\"\n}\n```\n\nExample:\n```bash\ncurl --request POST https://{yourOktaDomain}/oauth2/v1/token \\\n    --header \"Content-Type: application/x-www-form-urlencoded\" \\\n    --data-urlencode \"grant_type=urn:ietf:params:oauth:grant-type:token-exchange\" \\\n    --data-urlencode \"requested_token_type=urn:okta:params:oauth:token-type:oauth-sts\" \\\n    --data-urlencode \"subject_token=eyJraWQiOiJz...\" \\\n    --data-urlencode \"subject_token_type=urn:ietf:params:oauth:token-type:access_token\" \\\n    --data-urlencode \"client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer\" \\\n    --data-urlencode \"client_assertion=eyJhbGci...\" \\\n    --data-urlencode \"resource=resource:indicator:from:resource:connection\"\n```\n\nExample:\n```html\nHTTP/1.1 400\nContent-Type: application/json\nCache-Control: no-store\nPragma: no-cache\n\n{\n  \"error\": \"interaction_required\",\n  \"error_description\": \"The user must authenticate with the authorization server for the request to proceed\",\n  \"interaction_uri\": \"https://example.okta.com/some/opaque/path\"\n}\n```\n\nExample:\n```html\n{\n  \"issued_token_type\": \"urn:okta:params:oauth:token-type:oauth-sts\",\n  \"access_token\": \"eyJhbGciOiJIUzI1NiIsI...\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600,\n  \"scope\": \"read resource\"\n}\n```\n\nExample:\n```http\nPOST /oauth2/v1/revoke HTTP/1.1\nHost: example.okta.com\nContent-Type: application/x-www-form-urlencoded\n\ntoken=eyJhbGciOiJIUzI1NiIsI...\n&token_type_hint=oauth_sts\n&client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer\n&client_assertion=eyJhbGci...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.924Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":72,"estimatedTokens":481}}1133{"id":"doc-retrieve_an_ai_agent-2a1a7685","source":"documentation","title":"Retrieve an AI agent","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentregistration/other/getaiagent","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV\n```\n\nExample:\n```text\n{\n  \"id\": \"wlpx8kR27j0U7HGDM1h4\",\n  \"externalId\": \"7TTZGRL8PV\",\n  \"created\": \"2022-04-04T15:56:05.000Z\",\n  \"lastUpdated\": \"2022-05-05T18:15:44.000Z\",\n  \"status\": \"ACTIVE\",\n  \"appId\": \"0oab1234EXAMPLEID5d6\",\n  \"platform\": \"OKTA\",\n  \"profile\": {\n    \"name\": \"Orchestrator Agent\",\n    \"description\": \"Orchestrator Agent\"\n  },\n  \"_links\": {\n    \"self\": { … },\n    \"providers\": [ … ]\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.924Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":137}}1134{"id":"doc-resolve_a_task-973306c8","source":"documentation","title":"Resolve a task","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/tasks/resolvetaskv2","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/governance/api/v2/tasks/68b0a1576dd8db837f5ee55d/resolve \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"value\": \"APPROVED\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"68b0ed9802df442e8b601807\",\n  \"assignees\": [\n    { … },\n    { … }\n  ],\n  \"status\": \"COMPLETED\",\n  \"label\": \"This is an approval task\",\n  \"requestId\": \"req42kjDgk1EubTwo0g4\",\n  \"createdAt\": \"2019-08-24T14:15:22Z\",\n  \"updatedAt\": \"2019-08-24T14:15:22Z\",\n  \"type\": \"APPROVAL\",\n  \"value\": \"APPROVED\",\n  \"completedBy\": {\n    \"externalId\": \"00u1a2b3c4d5e6f7g8h9\",\n    \"type\": \"OKTA_USER\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.924Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":160}}1135{"id":"doc-system_log_query_okta_developer-84fd3c12","source":"documentation","title":"System Log query | Okta Developer","url":"https://developer.okta.com/docs/reference/system-log-query","text":"Example:\n```javascript\nfilter=target.id eq \"00uxc78lMKUMVIHLTAXY\"\n```\n\nExample:\n```javascript\nfilter=actor.id ne \"00uxc78lMKUMVIHLTAXY\"\n```\n\nExample:\n```javascript\nfilter=eventType eq \"user.session.start\" and outcome.result eq \"FAILURE\"\n```\n\nExample:\n```javascript\nfilter=target.id eq \"00uxc78lMKUMVIHLTAXY\" and target.id eq \"0oabe82gnXOFVCDUMVAK\"\n```\n\nExample:\n```javascript\nfilter=eventType eq \"user.authentication.sso\" and target.id eq \"00uxc78lMKUMVIHLTAXY\" and target.id eq \"0oabe82gnXOFVCDUMVAK\"\n```\n\nExample:\n```javascript\nfilter=client.ipAddress eq \"184.73.186.14\"\n```\n\nExample:\n```javascript\nfilter=eventType sw \"event_hook\"\n```\n\nExample:\n```javascript\nfilter=eventType co \"session\"\n```\n\nExample:\n```javascript\nfilter=eventType ew \"token\"\n```\n\nExample:\n```bash\nlink: <url>; rel=\"self\"\n```\n\nExample:\n```bash\nlink: <https://{yourOktaDomain}/api/v1/logs?q=&sortOrder=DESCENDING&limit=20&until=2017-09-17T23%3A59%3A59%2B00%3A00&since=2017-06-10T00%3A00%3A00%2B00%3A00>; rel=\"self\"\n```\n\nExample:\n```bash\nlink: <url>; rel=\"next\"\n```\n\nExample:\n```bash\nlink: <https://{yourOktaDomain}/api/v1/logs?q=&sortOrder=DESCENDING&limit=20&until=2017-09-17T15%3A41%3A12.994Z&after=349996bd-5091-45dc-a39f-d357867a30d7&since=2017-06-10T00%3A00%3A00%2B00%3A00>; rel=\"next\"\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?since=2023-10-01T00:00:00.000Z\"\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000001\",\n  \"errorSummary\": \"Api validation failed: 'until': The date format in your query is not recognized. Please enter dates using ISO8601 string format. 'until': must be a valid date-time or empty.\",\n  \"errorId\": \"dd4998a1-2267-499b-9e4d-ec821fcc5ca9\",\n  \"errorCauses\": [\n    {\n      \"errorSummary\": \"until: The date format in your query is not recognized. Please enter dates using ISO8601 string format.\"\n    },\n    {\n      \"errorSummary\": \"until: must be a valid date-time or empty.\"\n    }\n  ]\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000053\",\n  \"errorSummary\": \"Invalid filter 'display_message eqq \\\"Create okta user\\\"': Unrecognized attribute operator 'eqq' at position 16. Expected: eq,co,sw,pr,gt,ge,lt,le\",\n  \"errorId\": \"eb83dfe1-6d76-458c-8c0c-f8df8fb7a24b\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000053\",\n  \"errorSummary\": \"field is not valid: some_invalid_field\",\n  \"errorId\": \"ec93dhe2-6d76-458c-8c0c-f8df8fb7a24b\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000053\",\n  \"errorSummary\": \"Invalid parameter: The since parameter is over 180 days prior to the current day.\",\n  \"errorId\": \"55166534-b7d8-45a5-a4f6-3b38a5507046\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000031\",\n  \"errorSummary\": \"The supplied combination of operator and field is not currently supported. Operator: co, Field: debugContext.debugData.url\",\n  \"errorId\": \"ec93dhe2-6d76-458c-8c0c-f8df8fb7a24b\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000053\",\n  \"errorSummary\": \"Sorry, there's been an error. We aren't sure what caused it, but we've logged this and will work to address it. Please try your request again.\",\n  \"errorId\": \"55166534-b7d8-45a5-a4f6-3b38a5507046\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000009\",\n  \"errorSummary\": \"Your last request took too long to complete. This is likely due to a load issue on our side. We've logged this and will work to address it. Please either simplify your query or wait a few minutes and try again.\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000001\",\n  \"errorSummary\": \"Api validation failed: 'q': Freeform search cannot contain items longer than 40 characters. Please shorten the items in your search or use an advanced filter to query by specific fields.\"\n}\n```\n\nExample:\n```json\n{\n  \"errorCode\": \"E0000047\",\n  \"errorSummary\": \"API call exceeded rate limit due to too many requests.\"\n}\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?q=Jane+Doe\"\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?filter=event_type+eq+%22user.session.start%22\"\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?q=logout\"\n```\n\nExample:\n```bash\ncurl -v -X GET \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: SSWS ${api_token}\" \\\n\"https://${yourOktaDomain}/api/v1/logs?since=2014-09-01T00:00:00.000Z\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.925Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":27,"totalLines":197,"estimatedTokens":1183}}1136{"id":"doc-replace_an_ai_agent-7f85bb4b","source":"documentation","title":"Replace an AI agent","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentregistration/other/replaceaiagent","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"appId\": \"0oab1234EXAMPLEID5d6\",\n    \"profile\": {\n      \"name\": \"Demo Agent\",\n      \"description\": \"Demo Conversational AI Agent\"\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.925Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":92}}1137{"id":"doc-list_all_ai_agents-ecc01046","source":"documentation","title":"List all AI agents","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentregistration/other/listaiagents","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/ai-agents?after=string&limit=20&search=profile.name%20sw%20%22Demo%20Agent%22%20and%20status%20eq%20%22ACTIVE%22%20and%20appId%20eq%20%220oa1qmn4LZQQEH0wZ0g4%22&providerId=string&ownerOrn=string&orderBy=createdDate&sortOrder=asc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.926Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":112}}1138{"id":"doc-update_an_ai_agent-d602b4b3","source":"documentation","title":"Update an AI agent","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentregistration/other/updateaiagent","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV \\\n  -H 'Content-Type: application/merge-patch+json' \\\n  -d '{\n    \"appId\": \"0oab1234EXAMPLEID5d6\",\n    \"profile\": {\n      \"name\": \"Updated name\",\n      \"description\": \"Updated description\"\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.926Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":94}}1139{"id":"doc-new_user_activation_okta_developer-53bd14bf","source":"documentation","title":"New user activation | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-new-user-activation/nodeexpress/main/","text":"Example:\n```json\n{\n  status: \"TERMINAL\",\n  messages: [\n    {\n      message: \"To finish signing in, check your email.\",\n      i18n: {\n        key: \"idx.email.verification.required\",\n      },\n      class: \"INFO\",\n    },\n  ],\n}\n```\n\nExample:\n```bash\ncurl -v -X POST \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"User-Agent: Mozilla/5.0 ({systemInformation}) {platform} ({platformDetails}) {extensions}\" \\\n-H \"Authorization: SSWS {api_token}\" \\\n-d '{\n  \"profile\": {\n    \"firstName\": \"Isaac\",\n    \"lastName\": \"Brock\",\n    \"email\": \"john.doe@example.com\",\n    \"login\": \"john.doe@example.com\",\n    \"mobilePhone\": \"555-415-1337\"\n  }\n}' \"https://{yourOktaDomain}/api/v1/users?activate=false\"\n```\n\nExample:\n```json\n{\n    \"id\": \"00uomf0lstcwPYliG696\",\n    \"status\": \"STAGED\",\n    \"created\": \"2022-03-26T15:32:09.000Z\",\n    \"profile\": {\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"mobilePhone\": null,\n        \"secondEmail\": null,\n        \"login\": \"john.doe@example.com\",\n        \"email\": \"john.doe@example.com\"\n    },\n    ...\n}\n```\n\nExample:\n```bash\ncurl -v -X POST \\\n-H \"Accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-H \"User-Agent: Mozilla/5.0 ({systemInformation}) {platform} ({platformDetails}) {extensions}\" \\\n-H \"Authorization: SSWS {api_token}\" \\\n\"https://{yourOktaDomain}/api/v1/users/00ub0oNGTSWTBKOLGLNR/lifecycle/activate?sendEmail=false\"\n```\n\nExample:\n```json\n{\n  \"activationUrl\": \"https://{yourOktaDomain}/tokens/XE6wE17zmphl3KqAPFxO/verify\",\n  \"activationToken\": \"XE6wE17zmphl3KqAPFxO\"\n}\n```\n\nExample:\n```javascript\nrouter.get('/register', async (req, res, next) => {\n  const activationToken = query['activationToken'] || query['token'];\n  const transaction = await authClient.idx.register({ activationToken });\n  ...\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.927Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":80,"estimatedTokens":453}}1140{"id":"doc-update_a_task-6e847010","source":"documentation","title":"Update a task","url":"https://developer.okta.com/docs/api/iga/openapi/governance-production-requests-admin-v2-reference/tasks/updatetaskv2","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/governance/api/v2/tasks/68b0a1576dd8db837f5ee55d \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"assignees\": [\n      {\n        \"externalId\": \"00u1a2b3c4d5e6f7g8h9\",\n        \"type\": \"OKTA_USER\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"68b0ed9802df442e8b601807\",\n  \"assignees\": [\n    { … },\n    { … }\n  ],\n  \"status\": \"OPEN\",\n  \"label\": \"This is an approval task\",\n  \"requestId\": \"req42kjDgk1EubTwo0g4\",\n  \"createdAt\": \"2019-08-24T14:15:22Z\",\n  \"updatedAt\": \"2019-08-24T14:15:22Z\",\n  \"type\": \"APPROVAL\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.927Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":151}}1141{"id":"doc-delete_an_ai_agent_json_web_key-dbe854b9","source":"documentation","title":"Delete an AI agent JSON Web Key","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentpublickey/other/deleteagentjwk","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/credentials/jwks/pks2f4zrZbs8nUa7p0g4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.927Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":53}}1142{"id":"doc-list_all_ai_agent_json_web_keys-4ceec998","source":"documentation","title":"List all AI agent JSON Web Keys","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentpublickey/other/listagentjwk","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/credentials/jwks\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.927Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":64}}1143{"id":"doc-deactivate_an_ai_agent-3e6d260f","source":"documentation","title":"Deactivate an AI agent","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentregistration/other/deactivateaiagent","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.927Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":49}}1144{"id":"doc-delete_an_ai_agent-b3e8ed6a","source":"documentation","title":"Delete an AI agent","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentregistration/other/deleteaiagent","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.927Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}1145{"id":"doc-activate_an_ai_agent-b3719f9c","source":"documentation","title":"Activate an AI agent","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentregistration/other/activateaiagent","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":48}}1146{"id":"doc-list_all_potential_connections-05fcab05","source":"documentation","title":"List all potential connections","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentpotentialconnections/other/listpotentialconnectionsbytype","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/potential-connections?filter=connectionType%20eq%20%22IDENTITY_ASSERTION_CUSTOM_AS%22&match=agent&after=string&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":80}}1147{"id":"doc-deactivate_an_ai_agent_json_web_key-d7552765","source":"documentation","title":"Deactivate an AI agent JSON Web Key","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentpublickey/other/deactivateagentjsonwebkey","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/credentials/jwks/pks2f4zrZbs8nUa7p0g4/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"id\": \"pks2f50kZB0cITmYU0g4\",\n  \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"kty\": \"RSA\",\n  \"alg\": \"RS256\",\n  \"use\": \"sig\",\n  \"e\": \"AQAB\",\n  \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n  \"status\": \"INACTIVE\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"activate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":145}}1148{"id":"doc-retrieve_the_virtual_mcp_settings-4f3eece5","source":"documentation","title":"Retrieve the Virtual MCP Settings","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpsettings/other/getvirtualmcpsettings","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-settings\n```\n\nExample:\n```text\n{\n  \"supportedConnectionTypes\": [\n    \"STS_ACCESS_TOKEN\"\n  ],\n  \"limits\": {\n    \"maxVirtualMCPs\": 100,\n    \"maxCapabilitiesPerVirtualMCP\": 1000,\n    \"maxResourceServersPerVirtualMCP\": 100\n  },\n  \"features\": [],\n  \"basePath\": \"https://subdomain.gateway.okta.com\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":104}}1149{"id":"doc-list_all_virtual_mcp_connections-08e0f244","source":"documentation","title":"List all virtual MCP connections","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/listvirtualmcpconnections","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections?after=string&limit=20'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":71}}1150{"id":"doc-activate_an_ai_agent_json_web_key-dda5acb3","source":"documentation","title":"Activate an AI agent JSON Web Key","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentpublickey/other/activateagentjsonwebkey","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/credentials/jwks/pks2f4zrZbs8nUa7p0g4/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"id\": \"pks2f50kZB0cITmYU0g4\",\n  \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"kty\": \"RSA\",\n  \"alg\": \"RS256\",\n  \"use\": \"sig\",\n  \"e\": \"AQAB\",\n  \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":144}}1151{"id":"doc-retrieve_an_ai_agent_json_web_key-be17710f","source":"documentation","title":"Retrieve an AI agent JSON Web Key","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentpublickey/other/getagentjwk","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/credentials/jwks/pks2f4zrZbs8nUa7p0g4\n```\n\nExample:\n```text\n{\n  \"id\": \"pks2f50kZB0cITmYU0g4\",\n  \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"kty\": \"RSA\",\n  \"alg\": \"RS256\",\n  \"use\": \"sig\",\n  \"e\": \"AQAB\",\n  \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":139}}1152{"id":"doc-add_a_capability_to_a_virtual_mcp_connection-ecfe026f","source":"documentation","title":"Add a capability to a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/addvirtualmcpconnectioncapability","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/capabilities \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"sourceOrn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4:tools:emt1aB2cD3eF4gH5iJ6k\",\n    \"alias\": \"get_jira_issues\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"vsc1aB2cD3eF4gH5iJ6k\",\n  \"sourceOrn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4:tools:emt1aB2cD3eF4gH5iJ6k\",\n  \"connectionOrn\": \"orn:okta:idp:00o1gjjp4jsdR3Sww4x7:connections:mcn1aB2cD3eF4gH5iJ6k\",\n  \"type\": \"TOOL\",\n  \"status\": \"VALID\",\n  \"profile\": {\n    \"name\": \"get_issues\",\n    \"description\": \"Get issues from a repository\",\n    \"alias\": \"get_jira_issues\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":28,"estimatedTokens":213}}1153{"id":"doc-activate_a_virtual_mcp-23f73b09","source":"documentation","title":"Activate a virtual MCP","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpregistration/other/activatevirtualmcp","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":51}}1154{"id":"doc-add_a_json_web_key-c3357fb1","source":"documentation","title":"Add a JSON Web Key","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentpublickey/other/addagentjwk","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/credentials/jwks \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n    \"kty\": \"RSA\",\n    \"alg\": \"RS256\",\n    \"use\": \"sig\",\n    \"e\": \"AQAB\",\n    \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n    \"status\": \"ACTIVE\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"pks2f50kZB0cITmYU0g4\",\n  \"kid\": \"ASHJHGasa782333-Sla3x3POBiIxDreBCdZuFs5B\",\n  \"kty\": \"RSA\",\n  \"alg\": \"RS256\",\n  \"use\": \"sig\",\n  \"e\": \"AQAB\",\n  \"n\": \"AJncrzOrouIUCSMlRL0HU.....Kuine49_CEVR4GPn=\",\n  \"status\": \"ACTIVE\",\n  \"created\": \"2023-04-06T21:32:33.000Z\",\n  \"lastUpdated\": \"2023-04-06T21:32:33.000Z\",\n  \"_links\": {\n    \"deactivate\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":200}}1155{"id":"doc-delete_a_virtual_mcp-1f33fa2e","source":"documentation","title":"Delete a virtual MCP","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpregistration/other/deletevirtualmcp","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}1156{"id":"doc-retrieve_a_virtual_mcp_connection-c8373665","source":"documentation","title":"Retrieve a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/getvirtualmcpconnection","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"STS_ACCESS_TOKEN\",\n  \"id\": \"mcn9i0j1k2l3m4n5o6p7\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn9i0j1k2l3m4n5o6p7\",\n  \"status\": \"ACTIVE\",\n  \"resourceIndicator\": \"https://mcp.example.com\",\n  \"resource\": {\n    \"resourceType\": \"MCP_SERVER\",\n    \"orn\": \"orn:okta:directory:00o1n8sbwArJ7OQRw406:resource-servers:mcp:mcp2c8xwvBn4h2Ry50g7\",\n    \"name\": \"Code Assistant MCP Server\",\n    \"mcpServerId\": \"mcp2c8xwvBn4h2Ry50g7\",\n    \"endpointUrl\": \"https://mcp.example.com\",\n    \"clientAuthSettings\": { … },\n    \"_links\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":200}}1157{"id":"doc-retrieve_a_virtual_mcp-8ce4cbb4","source":"documentation","title":"Retrieve a virtual MCP","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpregistration/other/getvirtualmcp","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k\n```\n\nExample:\n```text\n{\n  \"id\": \"wlp1aB2cD3eF4gH5iJ6k\",\n  \"orn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:workload-principals:virtual-mcp:wlp1aB2cD3eF4gH5iJ6k\",\n  \"status\": \"ACTIVE\",\n  \"profile\": {\n    \"displayName\": \"Production MCP Servers\",\n    \"description\": \"Groups all production MCP servers for the engineering team\"\n  },\n  \"created\": \"2025-06-01T10:00:00Z\",\n  \"lastUpdated\": \"2025-06-15T14:30:00Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resource-server\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":156}}1158{"id":"doc-deactivate_a_virtual_mcp-c0e25e21","source":"documentation","title":"Deactivate a virtual MCP","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpregistration/other/deactivatevirtualmcp","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":51}}1159{"id":"doc-list_all_virtual_mcps-eb84d9e4","source":"documentation","title":"List all virtual MCPs","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpregistration/other/listvirtualmcps","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers?after=string&limit=20&filter=profile.displayName%20sw%20%22Production%22%20and%20status%20eq%20%22ACTIVE%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":87}}1160{"id":"doc-create_a_virtual_mcp_connection-14fde2f9","source":"documentation","title":"Create a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/createvirtualmcpconnection","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"connectionType\": \"STS_ACCESS_TOKEN\",\n    \"resource\": {\n      \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:client_auth_settings:rsc2c8xwvBn4h2Ry50g7\"\n    },\n    \"resourceIndicator\": \"https://mcp.example.com\"\n  }'\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"STS_ACCESS_TOKEN\",\n  \"id\": \"mcn9i0j1k2l3m4n5o6p7\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn9i0j1k2l3m4n5o6p7\",\n  \"status\": \"INACTIVE\",\n  \"resourceIndicator\": \"https://mcp.example.com\",\n  \"resource\": {\n    \"resourceType\": \"MCP_SERVER\",\n    \"orn\": \"orn:okta:directory:00o1n8sbwArJ7OQRw406:resource-servers:mcp:mcp2c8xwvBn4h2Ry50g7\",\n    \"name\": \"Code Assistant MCP Server\",\n    \"mcpServerId\": \"mcp2c8xwvBn4h2Ry50g7\",\n    \"endpointUrl\": \"https://mcp.example.com\",\n    \"clientAuthSettings\": { … },\n    \"_links\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":38,"estimatedTokens":262}}1161{"id":"doc-update_a_virtual_mcp-caf8f28c","source":"documentation","title":"Update a virtual MCP","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpregistration/other/updatevirtualmcp","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k \\\n  -H 'Content-Type: application/merge-patch+json' \\\n  -d '{\n    \"profile\": {\n      \"displayName\": \"Updated Production MCP Servers\",\n      \"description\": \"Updated description for the production MCP server group\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"wlp1aB2cD3eF4gH5iJ6k\",\n  \"orn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:workload-principals:virtual-mcp:wlp1aB2cD3eF4gH5iJ6k\",\n  \"status\": \"ACTIVE\",\n  \"profile\": {\n    \"displayName\": \"Production MCP Servers\",\n    \"description\": \"Groups all production MCP servers for the engineering team\"\n  },\n  \"created\": \"2025-06-01T10:00:00Z\",\n  \"lastUpdated\": \"2025-06-15T14:30:00Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"resource-server\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":33,"estimatedTokens":212}}1162{"id":"doc-create_a_virtual_mcp-e76763a6","source":"documentation","title":"Create a virtual MCP","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpregistration/other/createvirtualmcp","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"resourcePath\": \"production\",\n    \"profile\": {\n      \"displayName\": \"Production MCP Servers\",\n      \"description\": \"Groups all production MCP servers for the engineering team\"\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":101}}1163{"id":"doc-update_a_virtual_mcp_connection-b689aed7","source":"documentation","title":"Update a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/updatevirtualmcpconnection","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9 \\\n  -H 'Content-Type: application/merge-patch+json' \\\n  -d '{\n    \"resourceIndicator\": \"https://mcp.custom-domain.company.com\"\n  }'\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"STS_ACCESS_TOKEN\",\n  \"id\": \"mcn9i0j1k2l3m4n5o6p7\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn9i0j1k2l3m4n5o6p7\",\n  \"status\": \"ACTIVE\",\n  \"resourceIndicator\": \"https://mcp.custom-domain.company.com\",\n  \"resource\": {\n    \"resourceType\": \"MCP_SERVER\",\n    \"orn\": \"orn:okta:directory:00o1n8sbwArJ7OQRw406:resource-servers:mcp:mcp2c8xwvBn4h2Ry50g7\",\n    \"name\": \"Code Assistant MCP Server\",\n    \"mcpServerId\": \"mcp2c8xwvBn4h2Ry50g7\",\n    \"endpointUrl\": \"https://mcp.example.com\",\n    \"clientAuthSettings\": { … },\n    \"_links\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":34,"estimatedTokens":237}}1164{"id":"doc-delete_a_virtual_mcp_connection-224e9766","source":"documentation","title":"Delete a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/deletevirtualmcpconnection","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":55}}1165{"id":"doc-delete_a_delegation_link-65bb3f9d","source":"documentation","title":"Delete a delegation link","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/delegationlinks/other/deletedelegationlink","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/workload-principals/api/v1/delegation-links/dlk1a2b3c4d5e6f7g8h9\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":46}}1166{"id":"doc-list_all_capabilities_for_a_virtual_mcp_connecti-e51f5daf","source":"documentation","title":"List all capabilities for a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/listvirtualmcpconnectioncapabilities","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/capabilities?after=string&limit=20&expand=inputSchema'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … },\n    \"parent\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":95}}1167{"id":"doc-replace_all_capabilities_for_a_virtual_mcp_conne-cb72b00b","source":"documentation","title":"Replace all capabilities for a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/replacevirtualmcpconnectioncapabilities","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/capabilities \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"data\": [\n      {\n        \"sourceOrn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4:tools:emt1aB2cD3eF4gH5iJ6k\",\n        \"alias\": \"get_jira_issues\"\n      },\n      {\n        \"sourceOrn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4:tools:emt7lM8nO9pQ0rS1tU2v\"\n      }\n    ]\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":159}}1168{"id":"doc-update_a_specific_capability-f634c8fc","source":"documentation","title":"Update a specific capability","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/updatevirtualmcpconnectioncapability","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/capabilities/vsc1aB2cD3eF4gH5iJ6k \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"alias\": \"get_jira_issues_v2\"\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"vsc1aB2cD3eF4gH5iJ6k\",\n  \"sourceOrn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4:tools:emt1aB2cD3eF4gH5iJ6k\",\n  \"connectionOrn\": \"orn:okta:idp:00o1gjjp4jsdR3Sww4x7:connections:mcn1aB2cD3eF4gH5iJ6k\",\n  \"type\": \"TOOL\",\n  \"status\": \"VALID\",\n  \"profile\": {\n    \"name\": \"get_issues\",\n    \"description\": \"Get issues from a repository\",\n    \"alias\": \"get_jira_issues\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":187}}1169{"id":"doc-remove_a_specific_capability_from_a_virtual_mcp_-62c58186","source":"documentation","title":"Remove a specific capability from a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/removevirtualmcpconnectioncapability","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/capabilities/vsc1aB2cD3eF4gH5iJ6k\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.931Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":63}}1170{"id":"doc-deactivate_a_virtual_mcp_connection-5ab8911c","source":"documentation","title":"Deactivate a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/deactivatevirtualmcpconnection","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/lifecycle/deactivate\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"STS_ACCESS_TOKEN\",\n  \"id\": \"mcn9i0j1k2l3m4n5o6p7\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn9i0j1k2l3m4n5o6p7\",\n  \"status\": \"INACTIVE\",\n  \"resourceIndicator\": \"https://mcp.example.com\",\n  \"resource\": {\n    \"resourceType\": \"MCP_SERVER\",\n    \"orn\": \"orn:okta:directory:00o1n8sbwArJ7OQRw406:resource-servers:mcp:mcp2c8xwvBn4h2Ry50g7\",\n    \"name\": \"Code Assistant MCP Server\",\n    \"mcpServerId\": \"mcp2c8xwvBn4h2Ry50g7\",\n    \"endpointUrl\": \"https://mcp.example.com\",\n    \"clientAuthSettings\": { … },\n    \"_links\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.931Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":206}}1171{"id":"doc-list_all_workload_principal_operations-34c763eb","source":"documentation","title":"List all workload principal operations","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/workloadprincipaloperations/other/listworkloadprincipaloperations","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/operations?after=string&limit=20&search=type%20eq%20%22ai-agent%3AImport%22%20and%20status%20eq%20%22COMPLETED%22&sourceInstanceName=string&orderBy=createdDate&sortOrder=asc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.931Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":106}}1172{"id":"doc-retrieve_a_delegation_link-325a5676","source":"documentation","title":"Retrieve a delegation link","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/delegationlinks/other/getdelegationlink","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/delegation-links/dlk1a2b3c4d5e6f7g8h9\n```\n\nExample:\n```text\n{\n  \"id\": \"dlk1a2b3c4d5e6f7g8h9\",\n  \"from\": {\n    \"type\": \"OKTA_AUTHORIZATION_SERVER\",\n    \"clientOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc_client:0oafxqCAJWWGELFTYASJ\",\n    \"tokenType\": \"ID_TOKEN\"\n  },\n  \"to\": {\n    \"resourceOrn\": \"orn:okta:directory:00o4p0z0f8s5rNkEJ8g6:workload-principals:ai-agents:wlp25spbxqmZzyS4f0h8\"\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.931Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":136}}1173{"id":"doc-sign_in_with_password_and_phone_factors_okta_dev-07db947f","source":"documentation","title":"Sign in with password and phone factors | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-pwd-phone/nodejs/main/","text":"Example:\n```javascript\nstatus, // IdxStatus.PENDING\n  nextStep: {\n    inputs, // [{ name: 'authenticator', ... }]\n    options // [{ name: 'phone', ... }, ...]\n}\n```\n\nExample:\n```javascript\nstatus, // IdxStatus.PENDING\n  nextStep: {\n    inputs, // [{ phoneFactor: 'SMS', ... }]\n}\n```\n\nExample:\n```javascript\nstatus, // IdxStatus.PENDING\n  nextStep: {\n    inputs, // [{ name: 'verification', ... }]\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.931Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":26,"estimatedTokens":104}}1174{"id":"doc-create_a_delegation_link-de80313a","source":"documentation","title":"Create a delegation link","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/delegationlinks/other/createdelegationlink","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/delegation-links \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"from\": {\n      \"type\": \"OKTA_AUTHORIZATION_SERVER\",\n      \"clientOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc_client:0oafxqCAJWWGELFTYASJ\",\n      \"tokenType\": \"ID_TOKEN\"\n    },\n    \"to\": {\n      \"resourceOrn\": \"orn:okta:directory:00o4p0z0f8s5rNkEJ8g6:workload-principals:ai-agents:wlp25spbxqmZzyS4f0h8\"\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"dlk1a2b3c4d5e6f7g8h9\",\n  \"from\": {\n    \"type\": \"OKTA_AUTHORIZATION_SERVER\",\n    \"clientOrn\": \"orn:okta:directory:00o4p0z0f8s5rNkEJ8g6:workload-principals:ai-agents:wlp19kc5yr3UTqS8o2p8\",\n    \"tokenType\": \"ACCESS_TOKEN\"\n  },\n  \"to\": {\n    \"resourceOrn\": \"orn:okta:directory:00o4p0z0f8s5rNkEJ8g6:workload-principals:ai-agents:wlp25spbxqmZzyS4f0h8\",\n    \"authorizationServerOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:authorization_servers:aus1gjh63g214q0Hq0g4\"\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.931Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":37,"estimatedTokens":258}}1175{"id":"doc-retrieve_a_specific_capability-d275ae4a","source":"documentation","title":"Retrieve a specific capability","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/getvirtualmcpconnectioncapability","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/capabilities/vsc1aB2cD3eF4gH5iJ6k?expand=inputSchema'\n```\n\nExample:\n```text\n{\n  \"id\": \"vsc1aB2cD3eF4gH5iJ6k\",\n  \"sourceOrn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4:tools:emt1aB2cD3eF4gH5iJ6k\",\n  \"connectionOrn\": \"orn:okta:idp:00o1gjjp4jsdR3Sww4x7:connections:mcn1aB2cD3eF4gH5iJ6k\",\n  \"type\": \"TOOL\",\n  \"status\": \"VALID\",\n  \"profile\": {\n    \"name\": \"get_issues\",\n    \"description\": \"Get issues from a repository\",\n    \"alias\": \"get_jira_issues\"\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.931Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":23,"estimatedTokens":169}}1176{"id":"doc-list_all_delegation_links-58285ef0","source":"documentation","title":"List all delegation links","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/delegationlinks/other/listdelegationlinks","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/delegation-links?filter=to.resourceOrn%20eq%20%22orn%3Aokta%3Adirectory%3A00o4p0z0f8s5rNkEJ8g6%3Aworkload-principals%3Aai-agents%3Awlp25spbxqmZzyS4f0h8%22&after=string&limit=20&expand=appMetadata'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.932Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":102}}1177{"id":"doc-sign_in_with_email_only_okta_developer-9f79e58a","source":"documentation","title":"Sign in with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-sign-in-email/react/main/","text":"Example:\n```javascript\nconst { oktaAuth } = useOktaAuth();\nconst startFlow = useCallback(async () => {\n  newTransaction = await oktaAuth.idx.start();\n}, [oktaAuth, flow, setTransaction]);\n```\n\nExample:\n```json\n{\n   \"status\":\"PENDING\",\n   \"nextStep\":{\n      \"name\":\"identify\",\n      \"inputs\":[\n         {\n            \"name\": \"username\",\n            \"label\": \"Username\",\n            \"required\": true\n         }\n         ...\n      ]\n   },\n}\n```\n\nExample:\n```javascript\nconst inputValues = {\n  username: \"johndoe@email.com\",\n };\n```\n\nExample:\n```javascript\nsetProcessing(true);\nconst newTransaction = await oktaAuth.idx.proceed(inputValues);\nsetTransaction(newTransaction);\n```\n\nExample:\n```json\n{\n  status: \"PENDING\",\n  nextStep: {\n    name: \"challenge-authenticator\",\n    type: \"email\",\n    authenticator: {\n      type: \"email\",\n      key: \"okta_email\",\n      displayName: \"Email\",\n    },\n  },\n}\n```\n\nExample:\n```json\nconst inputValues = {\n    \"verificationCode\":\"197277\"\n };\n```\n\nExample:\n```javascript\nconst newTransaction = await oktaAuth.idx.proceed(inputValues);\n    setTransaction(newTransaction);\n    setInputValues({});\n    setProcessing(false);\n```\n\nExample:\n```json\n{\n  status: \"SUCCESS\",\n  tokens: {\n    accessToken: {\n      accessToken: \"eyJraWQiOiJLSWdvVHlt...\",\n      expiresAt: 1656106249,\n      tokenType: \"Bearer\",\n    },\n    idToken: {\n      idToken: \"eyJraWQiOiJLSWdvVHltSGlL...\",\n      expiresAt: 1656106249,\n    },\n  },\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.932Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":90,"estimatedTokens":365}}1178{"id":"doc-activate_a_virtual_mcp_connection-0fa84e54","source":"documentation","title":"Activate a virtual MCP connection","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/virtualmcpconnections/other/activatevirtualmcpconnection","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/virtual-mcp-servers/wlp1aB2cD3eF4gH5iJ6k/connections/mcn1a2b3c4d5e6f7g8h9/lifecycle/activate\n```\n\nExample:\n```text\n{\n  \"connectionType\": \"STS_ACCESS_TOKEN\",\n  \"id\": \"mcn9i0j1k2l3m4n5o6p7\",\n  \"orn\": \"orn:okta:idp:00o1n8sbwArJ7OQRw406:connections:mcn9i0j1k2l3m4n5o6p7\",\n  \"status\": \"ACTIVE\",\n  \"resourceIndicator\": \"https://mcp.example.com\",\n  \"resource\": {\n    \"resourceType\": \"MCP_SERVER\",\n    \"orn\": \"orn:okta:directory:00o1n8sbwArJ7OQRw406:resource-servers:mcp:mcp2c8xwvBn4h2Ry50g7\",\n    \"name\": \"Code Assistant MCP Server\",\n    \"mcpServerId\": \"mcp2c8xwvBn4h2Ry50g7\",\n    \"endpointUrl\": \"https://mcp.example.com\",\n    \"clientAuthSettings\": { … },\n    \"_links\": { … }\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.932Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":30,"estimatedTokens":205}}1179{"id":"doc-retrieve_a_workload_principal_operation-ec4263ee","source":"documentation","title":"Retrieve a workload principal operation","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/workloadprincipaloperations/other/getworkloadprincipaloperation","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/operations/op-1a2b3c4d\n```\n\nExample:\n```text\n{\n  \"id\": \"op-1a2b3c4d\",\n  \"type\": \"ai-agent:Register\",\n  \"status\": \"COMPLETED\",\n  \"created\": \"2025-09-11T18:52:48.000Z\",\n  \"started\": \"2025-09-11T18:52:48.000Z\",\n  \"completed\": \"2025-09-11T18:52:49.000Z\",\n  \"resource\": {\n    \"id\": \"aiAgent_abc123def456\",\n    \"type\": \"ai_agent\",\n    \"status\": \"ACTIVE\",\n    \"_links\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.932Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":25,"estimatedTokens":121}}1180{"id":"doc-deactivate_an_ai_agent_provider-6c1536dc","source":"documentation","title":"Deactivate an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/deactivateaiagentprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/aip-1a2b3c4d/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.932Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":49}}1181{"id":"doc-start_the_import_of_an_ai_agent_provider-e8ff7c67","source":"documentation","title":"Start the import of an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/startaiagentproviderimport","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/aip-1a2b3c4d/import\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.932Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":45}}1182{"id":"doc-validate_an_ai_agent_provider-731f361a","source":"documentation","title":"Validate an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/validateaiagentprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/validate \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"sourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n    \"configuration\": {\n      \"clientId\": \"clientId\",\n      \"clientSecret\": \"clientSecret\"\n    }\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.932Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":103}}1183{"id":"doc-activate_an_ai_agent_provider-60662586","source":"documentation","title":"Activate an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/activateaiagentprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/aip-1a2b3c4d/lifecycle/activate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.932Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":48}}1184{"id":"doc-retrieve_an_ai_agent_provider-285910cb","source":"documentation","title":"Retrieve an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/getaiagentprovider","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/aip-1a2b3c4d\n```\n\nExample:\n```text\n{\n  \"id\": \"id\",\n  \"sourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"sourceId\": \"appId\",\n  \"sourceName\": \"Salesforce\",\n  \"sourceType\": \"apps\",\n  \"status\": \"ACTIVE\",\n  \"integrationDate\": \"2024-01-01T12:00:00Z\",\n  \"lastImportDate\": \"2024-06-01T12:00:00Z\",\n  \"owners\": {\n    \"userOrns\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.933Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":27,"estimatedTokens":134}}1185{"id":"doc-create_an_ai_agent_provider-94e843aa","source":"documentation","title":"Create an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/createaiagentprovider","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"sourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n    \"configuration\": {\n      \"clientId\": \"clientId\",\n      \"clientSecret\": \"clientSecret\"\n    },\n    \"owners\": {\n      \"userOrns\": [\n        \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g4\",\n        \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g5\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"id\",\n  \"sourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"sourceId\": \"appId\",\n  \"sourceName\": \"Salesforce\",\n  \"sourceType\": \"apps\",\n  \"status\": \"ACTIVE\",\n  \"integrationDate\": \"2024-01-01T12:00:00Z\",\n  \"lastImportDate\": \"2024-06-01T12:00:00Z\",\n  \"owners\": {\n    \"userOrns\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.933Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":41,"estimatedTokens":243}}1186{"id":"doc-update_an_ai_agent_provider-922ee9c0","source":"documentation","title":"Update an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/updateaiagentprovider","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/aip-1a2b3c4d \\\n  -H 'Content-Type: application/merge-patch+json' \\\n  -d '{\n    \"owners\": {\n      \"userOrns\": [\n        \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g4\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"id\",\n  \"sourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"sourceId\": \"appId\",\n  \"sourceName\": \"Salesforce\",\n  \"sourceType\": \"apps\",\n  \"status\": \"ACTIVE\",\n  \"integrationDate\": \"2024-01-01T12:00:00Z\",\n  \"lastImportDate\": \"2024-06-01T12:00:00Z\",\n  \"owners\": {\n    \"userOrns\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.933Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":183}}1187{"id":"doc-list_all_ai_agent_providers-5c95fcd3","source":"documentation","title":"List all AI agent providers","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/listaiagentproviders","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers?after=string&limit=20&search=sourceName%20eq%20%22salesforce%22%20and%20sourceId%20eq%20%220oa1qmn4LZQQEH0wZ0g4%22%20and%20status%20eq%20%22ACTIVE%22&sourceInstanceName=string&orderBy=createdDate&sortOrder=asc'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.933Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":110}}1188{"id":"doc-replace_an_ai_agent_provider-a5520a32","source":"documentation","title":"Replace an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/replaceaiagentprovider","text":"Example:\n```text\ncurl -i -X PUT \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/aip-1a2b3c4d \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"configuration\": {\n      \"clientId\": \"clientId\",\n      \"clientSecret\": \"clientSecret\"\n    },\n    \"owners\": {\n      \"userOrns\": [\n        \"orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g4\"\n      ]\n    }\n  }'\n```\n\nExample:\n```text\n{\n  \"id\": \"id\",\n  \"sourceOrn\": \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\",\n  \"sourceId\": \"appId\",\n  \"sourceName\": \"Salesforce\",\n  \"sourceType\": \"apps\",\n  \"status\": \"ACTIVE\",\n  \"integrationDate\": \"2024-01-01T12:00:00Z\",\n  \"lastImportDate\": \"2024-06-01T12:00:00Z\",\n  \"owners\": {\n    \"userOrns\": [ … ]\n  },\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.933Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":39,"estimatedTokens":203}}1189{"id":"doc-delete_an_ai_agent_provider-581414a6","source":"documentation","title":"Delete an AI agent provider","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-workload-principals/tags/agentproviders/other/deleteaiagentprovider","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/aip-1a2b3c4d\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.933Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}1190{"id":"doc-list_all_mcp_servers-0547bdc4","source":"documentation","title":"List all MCP servers","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/mcpserverregistration/other/listmcpservers","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/resource-servers/api/v1/mcp-servers?after=string&limit=20&search=metadata.displayName%20sw%20%22GitHub%22%20and%20status%20eq%20%22ACTIVE%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"next\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.934Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":89}}1191{"id":"doc-list_all_authorization_servers_for_an_mcp_server-a70530ef","source":"documentation","title":"List all authorization servers for an MCP server","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/mcpserverregistration/other/listmcpserverauthorizationservers","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/resource-servers/api/v1/mcp-servers/ems8nUa7p0g4zrZbs2f4/authorization-servers?after=string&limit=20&filter=status%20eq%20%22ACTIVE%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … },\n    { … },\n    { … },\n    { … },\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"parent\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.934Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":24,"estimatedTokens":93}}1192{"id":"doc-update_an_mcp_server-f071b3ab","source":"documentation","title":"Update an MCP server","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/mcpserverregistration/other/updatemcpserver","text":"Example:\n```text\ncurl -i -X PATCH \\\n  https://subdomain.okta.com/resource-servers/api/v1/mcp-servers/ems8nUa7p0g4zrZbs2f4 \\\n  -H 'Content-Type: application/merge-patch+json' \\\n  -d '{\n    \"displayName\": \"GitHub Copilot MCP (Updated)\",\n    \"description\": \"Updated description for GitHub Copilot MCP\"\n  }'\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.934Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":89}}1193{"id":"doc-retrieve_an_mcp_server-a4e53c76","source":"documentation","title":"Retrieve an MCP server","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/mcpserverregistration/other/getmcpserver","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/resource-servers/api/v1/mcp-servers/ems8nUa7p0g4zrZbs2f4\n```\n\nExample:\n```text\n{\n  \"id\": \"ems8nUa7p0g4zrZbs2f4\",\n  \"orn\": \"orn:okta:directory:00o1gjjp4jsdR3Sww4x7:resource-servers:mcp:ems8nUa7p0g4zrZbs2f4\",\n  \"resourceUrl\": \"https://api.githubcopilot.com/mcp\",\n  \"status\": \"ACTIVE\",\n  \"authorizationServerCount\": 2,\n  \"metadata\": {\n    \"displayName\": \"GitHub Copilot MCP Server\",\n    \"description\": \"GitHub Copilot Model Context Protocol Server\"\n  },\n  \"detectedMetadata\": {\n    \"lastRefreshedAt\": \"2025-01-29T10:00:00Z\",\n    \"resourceName\": \"GitHub Copilot MCP\",\n    \"scopesSupported\": [ … ]\n  },\n  \"created\": \"2025-01-29T10:00:00Z\",\n  \"lastUpdated\": \"2025-01-29T10:00:00Z\",\n  \"_links\": {\n    \"self\": { … },\n    \"refresh-metadata\": { … },\n    \"authorization-servers\": { … },\n    \"tools\": { … },\n    \"discovery\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.934Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":36,"estimatedTokens":227}}1194{"id":"doc-delete_an_mcp_server-01e1605d","source":"documentation","title":"Delete an MCP server","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/mcpserverregistration/other/deletemcpserver","text":"Example:\n```text\ncurl -i -X DELETE \\\n  https://subdomain.okta.com/resource-servers/api/v1/mcp-servers/ems8nUa7p0g4zrZbs2f4\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.935Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":44}}1195{"id":"doc-sign_in_with_password_and_phone_factors_okta_dev-9e00062e","source":"documentation","title":"Sign in with password and phone factors | Okta Developer","url":"https://developer.okta.com/docs/guides/oie-embedded-sdk-use-case-sign-in-pwd-phone/java/main/","text":"Example:\n```java\nAuthenticationResponse beginResponse = idxAuthenticationWrapper.begin();\nProceedContext proceedContext = beginResponse.getProceedContext();\n```\n\nExample:\n```java\nAuthenticationResponse authenticationResponse =\n     idxAuthenticationWrapper.authenticate(new AuthenticationOptions(username, password.toCharArray()), proceedContext);\n```\n\nExample:\n```java\nauthenticationResponse = idxAuthenticationWrapper.selectAuthenticator(proceedContext, authenticator);\n```\n\nExample:\n```java\nAuthenticationResponse authenticationResponse =\n    idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions);\n```\n\nExample:\n```java\nAuthenticationResponse authenticationResponse =\n   idxAuthenticationWrapper.submitPhoneAuthenticator(proceedContext,\n         phone, getFactorFromMethod(session, mode));\n```\n\nExample:\n```java\nVerifyAuthenticatorOptions verifyAuthenticatorOptions = new VerifyAuthenticatorOptions(code);\nAuthenticationResponse authenticationResponse =\n   idxAuthenticationWrapper.verifyAuthenticator(proceedContext, verifyAuthenticatorOptions);\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.935Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":38,"estimatedTokens":276}}1196{"id":"doc-sign_up_for_new_account_with_email_only_okta_dev-fca1c776","source":"documentation","title":"Sign up for new account with email only | Okta Developer","url":"https://developer.okta.com/docs/guides/pwd-optional-new-sign-up-email/java/main/","text":"Example:\n```java\nval beginResponse = idxAuthenticationWrapper.begin()\nval beginProceedContext = beginResponse.getProceedContext()\nval newUserRegistrationResponse = idxAuthenticationWrapper.fetchSignUpFormValues(beginProceedContext)\n```\n\nExample:\n```java\nval userProfile = UserProfile()\nuserProfile.addAttribute(\"lastName\", lastname)\nuserProfile.addAttribute(\"firstName\", firstname)\nuserProfile.addAttribute(\"email\", email)\n\nval proceedContext = newUserRegistrationResponse.getProceedContext()\nval authenticationResponse = idxAuthenticationWrapper.register(proceedContext, userProfile)\n```\n\nExample:\n```java\nswitch (response.getAuthenticationStatus()) {\n   case AWAITING_AUTHENTICATOR_ENROLLMENT_SELECTION:\n        List<String> factorMethods = new ArrayList<>();\n        for (Authenticator authenticator : response.getAuthenticators()) {\n            for (Authenticator.Factor factor : authenticator.getFactors()) {\n                factorMethods.add(factor.getMethod());\n            }\n        }\n        session.setAttribute(\"authenticators\", response.getAuthenticators());\n        modelAndView.addObject(\"factorList\", factorMethods);\n        modelAndView.addObject(\"authenticators\", response.getAuthenticators());\n        modelAndView.addObject(\"title\", title);\n        return modelAndView;\n\n   // other cases\n\n   default:\n       return unsupportedPolicy();\n}\n```\n\nExample:\n```java\nboolean canSkip = authenticationWrapper.isSkipAuthenticatorPresent(response.getProceedContext());\n```\n\nExample:\n```java\nval authenticationResponse =\n    idxAuthenticationWrapper.skipAuthenticatorEnrollment(proceedContext)\n\nif (response.getAuthenticationStatus() == SKIP_COMPLETE) {\n   ModelAndView modelAndView = homeHelper.proceedToHome(response.getTokenResponse(), session);\n   modelAndView.addObject(\"info\", response.getErrors());\n   return modelAndView;\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.935Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":59,"estimatedTokens":465}}1197{"id":"doc-refresh_the_mcp_server_metadata-8d04550d","source":"documentation","title":"Refresh the MCP server metadata","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/mcpserverregistration/other/refreshmcpservermetadata","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/resource-servers/api/v1/mcp-servers/ems8nUa7p0g4zrZbs2f4/metadata/refresh\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.935Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":47}}1198{"id":"doc-list_all_authorization_servers_for_an_a2a_server-75eddd37","source":"documentation","title":"List all authorization servers for an A2A server","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/a2aserverregistration/other/lista2aserverauthorizationservers","text":"Example:\n```text\ncurl -i -X GET \\\n  'https://subdomain.okta.com/resource-servers/api/v1/a2a-servers/wlpx9jQ16k9V8IFEL0g3/authorization-servers?after=string&limit=20&filter=status%20eq%20%22ACTIVE%22'\n```\n\nExample:\n```text\n{\n  \"data\": [\n    { … }\n  ],\n  \"_links\": {\n    \"self\": { … },\n    \"parent\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.935Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":20,"estimatedTokens":82}}1199{"id":"doc-deactivate_an_mcp_server-5133fbe5","source":"documentation","title":"Deactivate an MCP server","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/mcpserverregistration/other/deactivatemcpserver","text":"Example:\n```text\ncurl -i -X POST \\\n  https://subdomain.okta.com/resource-servers/api/v1/mcp-servers/ems8nUa7p0g4zrZbs2f4/lifecycle/deactivate\n```\n\nExample:\n```text\nNo content\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.935Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":48}}1200{"id":"doc-retrieve_an_authorization_server_for_an_a2a_serv-3e04c6db","source":"documentation","title":"Retrieve an authorization server for an A2A server","url":"https://developer.okta.com/docs/api/secures-ai/openapi/secures-ai-resource-servers/tags/a2aserverregistration/other/geta2aserverauthorizationserver","text":"Example:\n```text\ncurl -i -X GET \\\n  https://subdomain.okta.com/resource-servers/api/v1/a2a-servers/wlpx9jQ16k9V8IFEL0g3/authorization-servers/aus5rb5mt2H3d1TJd0h7\n```\n\nExample:\n```text\n{\n  \"id\": \"aus5rb5mt2H3d1TJd0h7\",\n  \"orn\": \"orn:okta:idp:00o5rb5mt2H3d1TJd0h7:authorization_servers:aus5rb5mt2H3d1TJd0h7\",\n  \"issuer\": \"https://{yourOktaDomain}/oauth2/aus5rb5mt2H3d1TJd0h7\",\n  \"status\": \"ACTIVE\",\n  \"metadata\": {\n    \"authorizationEndpoint\": \"https://{yourOktaDomain}/oauth2/aus5rb5mt2H3d1TJd0h7/v1/authorize\",\n    \"tokenEndpoint\": \"https://{yourOktaDomain}/oauth2/aus5rb5mt2H3d1TJd0h7/v1/token\",\n    \"grantTypesSupported\": [ … ]\n  },\n  \"lastUpdated\": \"2025-01-27T08:00:00Z\",\n  \"_links\": {\n    \"self\": { … }\n  }\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:16:41.936Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":26,"estimatedTokens":183}}

Showing the first 1,200 of 1215 lines. Download the file for the rest.