From d4469c49678156f17d52cd13fd49467720268db5 Mon Sep 17 00:00:00 2001 From: Brian Retterer Date: Thu, 5 Nov 2020 11:16:25 -0500 Subject: [PATCH 1/2] Updates for openapi 2.1.6 --- CHANGELOG.md | 11 ++++++++ okta/customHotpUserFactor.go | 2 +- .../openIdConnectApplicationSettingsClient.go | 27 ++++++++++--------- ...dConnectApplicationSettingsRefreshToken.go | 24 +++++++++++++++++ okta/openIdConnectRefreshTokenRotationType.go | 21 +++++++++++++++ openapi/generator/createdFiles.json | 2 +- openapi/generator/index.js | 1 + openapi/yarn.lock | 12 ++++----- 8 files changed, 79 insertions(+), 21 deletions(-) create mode 100644 okta/openIdConnectApplicationSettingsRefreshToken.go create mode 100644 okta/openIdConnectRefreshTokenRotationType.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 16a49028e..7dda95e5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ # Changelog Running changelog of releases since `2.0.0-rc.4` +## v2.3.0 +### New Structs +- `OpenIdConnectApplicationSettingsRefreshToken` +- `OpenIdConnectRefreshTokenRotationType` + +### Bug Fixes +- `NewCustomHotpUserFactor` sets factor type to `token:htop` + +### Updates +- Updates `OpenIdConnectApplicationSettingsClient` properties to include `RefreshToken *OpenIdConnectApplicationSettingsRefreshToken` + ## v2.2.0 ### New Structs - `OpenIdConnectApplicationSettingsClientKeys` diff --git a/okta/customHotpUserFactor.go b/okta/customHotpUserFactor.go index 7bd7a363f..e98c52dfd 100644 --- a/okta/customHotpUserFactor.go +++ b/okta/customHotpUserFactor.go @@ -38,7 +38,7 @@ type CustomHotpUserFactor struct { func NewCustomHotpUserFactor() *CustomHotpUserFactor { return &CustomHotpUserFactor{ - FactorType: "hotp", + FactorType: "token:hotp", } } diff --git a/okta/openIdConnectApplicationSettingsClient.go b/okta/openIdConnectApplicationSettingsClient.go index 60e65b6a4..c188b639e 100644 --- a/okta/openIdConnectApplicationSettingsClient.go +++ b/okta/openIdConnectApplicationSettingsClient.go @@ -19,19 +19,20 @@ package okta type OpenIdConnectApplicationSettingsClient struct { - ApplicationType string `json:"application_type,omitempty"` - ClientUri string `json:"client_uri,omitempty"` - ConsentMethod string `json:"consent_method,omitempty"` - GrantTypes []*OAuthGrantType `json:"grant_types,omitempty"` - InitiateLoginUri string `json:"initiate_login_uri,omitempty"` - IssuerMode string `json:"issuer_mode,omitempty"` - Jwks *OpenIdConnectApplicationSettingsClientKeys `json:"jwks,omitempty"` - LogoUri string `json:"logo_uri,omitempty"` - PolicyUri string `json:"policy_uri,omitempty"` - PostLogoutRedirectUris []string `json:"post_logout_redirect_uris,omitempty"` - RedirectUris []string `json:"redirect_uris,omitempty"` - ResponseTypes []*OAuthResponseType `json:"response_types,omitempty"` - TosUri string `json:"tos_uri,omitempty"` + ApplicationType string `json:"application_type,omitempty"` + ClientUri string `json:"client_uri,omitempty"` + ConsentMethod string `json:"consent_method,omitempty"` + GrantTypes []*OAuthGrantType `json:"grant_types,omitempty"` + InitiateLoginUri string `json:"initiate_login_uri,omitempty"` + IssuerMode string `json:"issuer_mode,omitempty"` + Jwks *OpenIdConnectApplicationSettingsClientKeys `json:"jwks,omitempty"` + LogoUri string `json:"logo_uri,omitempty"` + PolicyUri string `json:"policy_uri,omitempty"` + PostLogoutRedirectUris []string `json:"post_logout_redirect_uris,omitempty"` + RedirectUris []string `json:"redirect_uris,omitempty"` + RefreshToken *OpenIdConnectApplicationSettingsRefreshToken `json:"refresh_token,omitempty"` + ResponseTypes []*OAuthResponseType `json:"response_types,omitempty"` + TosUri string `json:"tos_uri,omitempty"` } func NewOpenIdConnectApplicationSettingsClient() *OpenIdConnectApplicationSettingsClient { diff --git a/okta/openIdConnectApplicationSettingsRefreshToken.go b/okta/openIdConnectApplicationSettingsRefreshToken.go new file mode 100644 index 000000000..73a0fea30 --- /dev/null +++ b/okta/openIdConnectApplicationSettingsRefreshToken.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type OpenIdConnectApplicationSettingsRefreshToken struct { + Leeway int64 `json:"leeway,omitempty"` + RotationType string `json:"rotation_type,omitempty"` +} diff --git a/okta/openIdConnectRefreshTokenRotationType.go b/okta/openIdConnectRefreshTokenRotationType.go new file mode 100644 index 000000000..4233f4b1e --- /dev/null +++ b/okta/openIdConnectRefreshTokenRotationType.go @@ -0,0 +1,21 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type OpenIdConnectRefreshTokenRotationType string diff --git a/openapi/generator/createdFiles.json b/openapi/generator/createdFiles.json index 59e89300d..2eb1598e1 100644 --- a/openapi/generator/createdFiles.json +++ b/openapi/generator/createdFiles.json @@ -1 +1 @@ -[{"src":"templates/query.go.hbs","dest":"okta/query/query.go","context":{"queryOptions":[{"name":"q","type":"string"},{"name":"after","type":"string"},{"name":"limit","type":"int64"},{"name":"filter","type":"string"},{"name":"expand","type":"string"},{"name":"includeNonDeleted","type":"bool"},{"name":"activate","type":"bool"},{"name":"validityYears","type":"int64"},{"name":"targetAid","type":"string"},{"name":"query_scope","type":"string"},{"name":"sendEmail","type":"bool"},{"name":"cursor","type":"string"},{"name":"mode","type":"string"},{"name":"search","type":"string"},{"name":"disableNotifications","type":"string"},{"name":"type","type":"string"},{"name":"targetIdpId","type":"string"},{"name":"since","type":"string"},{"name":"until","type":"string"},{"name":"sortOrder","type":"string"},{"name":"status","type":"string"},{"name":"templateType","type":"string"},{"name":"sortBy","type":"string"},{"name":"provider","type":"bool"},{"name":"nextLogin","type":"string"},{"name":"strict","type":"bool"},{"name":"updatePhone","type":"bool"},{"name":"templateId","type":"string"},{"name":"tokenLifetimeSeconds","type":"int64"},{"name":"scopeId","type":"string"},{"name":"oauthTokens","type":"bool"}]}},{"src":"templates/okta.go.hbs","dest":"okta/okta.go","context":{"operations":[{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"responseModel":"Application","isArray":true},{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"},{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true},{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"AuthorizationServer","isArray":true},{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"Policy","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"Policy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"EventHook","isArray":true},{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]},{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"},{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"},{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"responseModel":"GroupRule","isArray":true},{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"responseModel":"Group"},{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}]},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true},{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","type":"string"}],"responseModel":"InlineHook","isArray":true},{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"LogEvent","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"LinkedObject","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"UserType","isArray":true},{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]},{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy","isArray":true},{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true},{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]},{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"responseModel":"SmsTemplate","isArray":true},{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]},{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"TrustedOrigin","isArray":true},{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users in your organization with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.","summary":"List Users","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"responseModel":"User","isArray":true},{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"},{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"},{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true},{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"},{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"},{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}],"models":[{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["Application"]},{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Application"]},{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]},{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]},{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"Policy","isArray":true}},{"alias":"createPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"deletePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"Policy"}},{"alias":"updatePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"listOAuth2Scopes","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}},{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}},{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}},{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}},{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]},{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"]},{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"hotp"}},{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}},{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]},{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]}}],"tags":["EventHook"]},{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"FactorProvider","enum":["OKTA","RSA","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM"],"tags":["UserFactor"]},{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]},{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]},{"modelName":"FactorType","enum":["call","email","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]},{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"}}],"tags":["Feature"]},{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"]},{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]},{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]},{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]},{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Group"]},{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"]},{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["GroupRule"]},{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]},{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]},{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}},{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL_DOMAIN"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]}}],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}},{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]}}],"tags":["InlineHook"]},{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]},{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]},{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"]},{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"]},{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"alg","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"e","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"n","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"x5t","commonType":"string"},{"readOnly":true,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":true,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]}}],"tags":["LinkedObject"]},{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"]},{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]},{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]},{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY"],"tags":["Log"]},{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]},{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]},{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]},{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"OAuthAuthorizationPolicy","properties":[],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}},{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt"],"tags":["Application"]},{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]},{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]},{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}},{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}},{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}},{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"propertyName":"initiate_login_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationIssuerMode","propertyName":"issuer_mode","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationIssuerMode"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClientKeys","propertyName":"jwks","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClientKeys"},{"propertyName":"logo_uri","commonType":"string"},{"propertyName":"policy_uri","commonType":"string"},{"propertyName":"post_logout_redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"response_types","commonType":"array","isArray":true,"model":"OAuthResponseType"},{"propertyName":"tos_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]},{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]},{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]},{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY"],"tags":["Policy"]},{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]},{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}},{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ResponseLinks","properties":[],"methods":[],"crud":[],"tags":["User"]},{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}}],"crud":[],"tags":["User"]},{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]},{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]},{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN"],"tags":["Role"]},{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"Scope","properties":[{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"ScopeType","enum":["CORS","REDIRECT"],"tags":["Role"]},{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}},{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}},{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]}}],"tags":["Session"]},{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]},{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"]},{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]},{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]},{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]}}],"tags":["Template"]},{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"]},{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]},{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}},{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"enum":["ACCESS","REFRESH"],"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}},{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}},{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]}}],"tags":["TrustedOrigin"]},{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}},{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["User"]},{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]},{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]},{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]}}],"tags":["UserType"]},{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}},{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}},{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}},{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}]}},{"src":"templates/model.go.hbs","dest":"okta/acsEndpoint.go","context":{"operations":{},"model":{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/activateFactorRequest.go","context":{"operations":{},"model":{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstanceConditionEvaluatorAppOrInstance.go","context":{"operations":{},"model":{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appLink.go","context":{"operations":{},"model":{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUser.go","context":{"operations":{"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},"model":{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUserCredentials.go","context":{"operations":{},"model":{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUserPasswordCredential.go","context":{"operations":{},"model":{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/application.go","context":{"operations":{"getApplication":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"},"updateApplication":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"},"deleteApplication":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"listApplications":{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"responseModel":"Application","isArray":true},"createApplication":{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","responseModel":"Application"},"listCsrsForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},"generateCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},"revokeCsrFromApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},"getCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},"publishCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishBinaryPemCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"listApplicationKeys":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"generateApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"},"getApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"cloneApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"listScopeConsentGrants":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"grantConsentToScope":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"},"revokeScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},"getScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},"listApplicationGroupAssignments":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true},"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"getApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"},"createApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"},"activateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"deactivateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"revokeOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"listOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true},"revokeOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"},"listApplicationUsers":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true},"assignUserToApplication":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"getApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"},"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},"model":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}}}},{"src":"templates/model.go.hbs","dest":"okta/applicationAccessibility.go","context":{"operations":{},"model":{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentials.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsOAuthClient.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsScheme.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigningUse.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsUsernameTemplate.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationGroupAssignment.go","context":{"operations":{"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},"model":{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationLicensing.go","context":{"operations":{},"model":{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettings.go","context":{"operations":{},"model":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotifications.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpn.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpnNetwork.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSignOnMode.go","context":{"operations":{},"model":{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibility.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibilityHide.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/assignRoleRequest.go","context":{"operations":{},"model":{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProviderType.go","context":{"operations":{},"model":{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServer.go","context":{"operations":{"createAuthorizationServer":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},"getAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"},"updateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},"deleteAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"listAuthorizationServers":{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"AuthorizationServer","isArray":true},"listOAuth2Claims":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true},"createOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},"deleteOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]},"getOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"},"updateOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},"listOAuth2ClientsForAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},"revokeRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"},"listAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"rotateAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true},"activateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"deactivateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"listAuthorizationServerPolicies":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"Policy","isArray":true},"createAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"},"deleteAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},"getAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"Policy"},"updateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"},"listOAuth2Scopes":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true},"createOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},"deleteOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]},"getOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"},"updateOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},"model":{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"Policy","isArray":true}},{"alias":"createPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"deletePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"Policy"}},{"alias":"updatePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"listOAuth2Scopes","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentials.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsRotationMode.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsSigningConfig.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsUse.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplication.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettings.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/basicAuthApplication.go","context":{"operations":{},"model":{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}}}},{"src":"templates/model.go.hbs","dest":"okta/beforeScheduledActionPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/browserPluginApplication.go","context":{"operations":{},"model":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactor.go","context":{"operations":{},"model":{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplication.go","context":{"operations":{},"model":{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplicationStatus.go","context":{"operations":{},"model":{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/changePasswordRequest.go","context":{"operations":{},"model":{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/clientPolicyCondition.go","context":{"operations":{},"model":{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/contextPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/createSessionRequest.go","context":{"operations":{},"model":{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/createUserRequest.go","context":{"operations":{},"model":{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/csr.go","context":{"operations":{},"model":{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadata.go","context":{"operations":{},"model":{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubject.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubjectAltNames.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactor.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"hotp"}}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleConditionPlatform.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/duration.go","context":{"operations":{},"model":{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactor.go","context":{"operations":{},"model":{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/enabledStatus.go","context":{"operations":{},"model":{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHook.go","context":{"operations":{"createEventHook":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},"getEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"updateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},"deleteEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]},"listEventHooks":{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"EventHook","isArray":true},"activateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"deactivateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"verifyEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},"model":{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]}}],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannel.go","context":{"operations":{},"model":{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthSchemeType.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigHeader.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventSubscriptions.go","context":{"operations":{},"model":{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorProvider.go","context":{"operations":{},"model":{"modelName":"FactorProvider","enum":["OKTA","RSA","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorResultType.go","context":{"operations":{},"model":{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorStatus.go","context":{"operations":{},"model":{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorType.go","context":{"operations":{},"model":{"modelName":"FactorType","enum":["call","email","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/feature.go","context":{"operations":{"getFeature":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"},"listFeatures":{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"Feature","isArray":true},"listFeatureDependencies":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},"listFeatureDependents":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},"updateFeatureLifecycle":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},"model":{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"}}],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStage.go","context":{"operations":{},"model":{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageState.go","context":{"operations":{},"model":{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageValue.go","context":{"operations":{},"model":{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureType.go","context":{"operations":{},"model":{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/forgotPasswordResponse.go","context":{"operations":{},"model":{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/grantTypePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/group.go","context":{"operations":{"updateGroup":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},"deleteGroup":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]},"listGroups":{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"responseModel":"Group","isArray":true},"createGroup":{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},"listGroupRules":{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"responseModel":"GroupRule","isArray":true},"createGroupRule":{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"GroupRule"},"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"activateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"deactivateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getGroup":{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"responseModel":"Group"},"listAssignedApplicationsForGroup":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true},"listGroupAssignedRoles":{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},"assignRoleToGroup":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},"removeRoleFromGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"getRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"responseModel":"Role"},"listApplicationTargetsForApplicationAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"addApplicationTargetToAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"removeApplicationTargetFromAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"addApplicationInstanceTargetToAppAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"listGroupTargetsForGroupRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},"removeGroupTargetFromGroupAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},"addGroupTargetToGroupAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},"listGroupUsers":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true},"removeUserFromGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},"addUserToGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},"model":{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupCondition.go","context":{"operations":{},"model":{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupProfile.go","context":{"operations":{},"model":{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRule.go","context":{"operations":{"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleAction.go","context":{"operations":{},"model":{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleConditions.go","context":{"operations":{},"model":{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleExpression.go","context":{"operations":{},"model":{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupAssignment.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRulePeopleCondition.go","context":{"operations":{},"model":{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleStatus.go","context":{"operations":{},"model":{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleUserCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupType.go","context":{"operations":{},"model":{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactor.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProvider.go","context":{"operations":{"createIdentityProvider":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},"getIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"updateIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},"deleteIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]},"listIdentityProviders":{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"responseModel":"IdentityProvider","isArray":true},"listIdentityProviderKeys":{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"JsonWebKey","isArray":true},"createIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","responseModel":"JsonWebKey"},"deleteIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}]},"getIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"listCsrsForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},"generateCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},"revokeCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},"getCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},"publishCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishBinaryPemCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"listIdentityProviderSigningKeys":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"generateIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"},"getIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"cloneIdentityProviderKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"activateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"deactivateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"listIdentityProviderApplicationUsers":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true},"unlinkUserFromIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},"getIdentityProviderApplicationUser":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"},"linkUserToIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"},"listSocialAuthTokens":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}},"model":{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL_DOMAIN"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]}}],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderApplicationUser.go","context":{"operations":{},"model":{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentials.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsClient.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsTrust.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicy.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/inactivityPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHook.go","context":{"operations":{"createInlineHook":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},"getInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},"updateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},"deleteInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]},"listInlineHooks":{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","type":"string"}],"responseModel":"InlineHook","isArray":true},"executeInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"},"activateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},"deactivateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},"model":{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]}}],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannel.go","context":{"operations":{},"model":{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigHeaders.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookPayload.go","context":{"operations":{},"model":{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponse.go","context":{"operations":{},"model":{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommandValue.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommands.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookStatus.go","context":{"operations":{},"model":{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookType.go","context":{"operations":{},"model":{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionField.go","context":{"operations":{},"model":{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionForm.go","context":{"operations":{},"model":{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"]}}},{"src":"templates/model.go.hbs","dest":"okta/jsonWebKey.go","context":{"operations":{},"model":{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"alg","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"e","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"n","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"x5t","commonType":"string"},{"readOnly":true,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":true,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/jwkUse.go","context":{"operations":{},"model":{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObject.go","context":{"operations":{"addLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"},"getLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"},"deleteLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]},"listLinkedObjectDefinitions":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"LinkedObject","isArray":true}},"model":{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]}}],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetails.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetailsType.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/logActor.go","context":{"operations":{},"model":{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationContext.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationProvider.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logClient.go","context":{"operations":{},"model":{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialProvider.go","context":{"operations":{},"model":{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialType.go","context":{"operations":{},"model":{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logDebugContext.go","context":{"operations":{},"model":{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logEvent.go","context":{"operations":{"getLogs":{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"LogEvent","isArray":true}},"model":{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logGeographicalContext.go","context":{"operations":{},"model":{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logGeolocation.go","context":{"operations":{},"model":{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logIpAddress.go","context":{"operations":{},"model":{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logIssuer.go","context":{"operations":{},"model":{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logOutcome.go","context":{"operations":{},"model":{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logRequest.go","context":{"operations":{},"model":{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logSecurityContext.go","context":{"operations":{},"model":{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logSeverity.go","context":{"operations":{},"model":{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTarget.go","context":{"operations":{},"model":{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTransaction.go","context":{"operations":{},"model":{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logUserAgent.go","context":{"operations":{},"model":{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/mdmEnrollmentPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Actor.go","context":{"operations":{},"model":{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Claim.go","context":{"operations":{},"model":{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ClaimConditions.go","context":{"operations":{},"model":{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Client.go","context":{"operations":{},"model":{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2RefreshToken.go","context":{"operations":{},"model":{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Scope.go","context":{"operations":{},"model":{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrant.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantSource.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantStatus.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopesMediationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Token.go","context":{"operations":{},"model":{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthAuthorizationPolicy.go","context":{"operations":{},"model":{"modelName":"OAuthAuthorizationPolicy","properties":[],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthEndpointAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthGrantType.go","context":{"operations":{},"model":{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthResponseType.go","context":{"operations":{},"model":{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicy.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRule.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonSessionActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplication.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationConsentMethod.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIssuerMode.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettings.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClient.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"propertyName":"initiate_login_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationIssuerMode","propertyName":"issuer_mode","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationIssuerMode"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClientKeys","propertyName":"jwks","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClientKeys"},{"propertyName":"logo_uri","commonType":"string"},{"propertyName":"policy_uri","commonType":"string"},{"propertyName":"post_logout_redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"response_types","commonType":"array","isArray":true,"model":"OAuthResponseType"},{"propertyName":"tos_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClientKeys.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredential.go","context":{"operations":{},"model":{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHash.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHashAlgorithm.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHook.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionary.go","context":{"operations":{},"model":{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionaryCommon.go","context":{"operations":{},"model":{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicy.go","context":{"operations":{},"model":{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyAuthenticationProviderCondition.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettingsOptions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsAge.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsLockout.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmail.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailRecoveryToken.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactorSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactors.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestion.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoverySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRule.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatform.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystem.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystemVersion.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policy.go","context":{"operations":{"getPolicy":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"},"updatePolicy":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"},"deletePolicy":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"listPolicies":{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy","isArray":true},"createPolicy":{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","responseModel":"Policy"},"activatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"deactivatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"listPolicyRules":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true},"createPolicyRule":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getPolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"},"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"activatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"deactivatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLink.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilter.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilterGroups.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyNetworkCondition.go","context":{"operations":{},"model":{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyPeopleCondition.go","context":{"operations":{},"model":{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRule.go","context":{"operations":{"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleAuthContextCondition.go","context":{"operations":{},"model":{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policySubject.go","context":{"operations":{},"model":{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policySubjectMatchType.go","context":{"operations":{},"model":{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyType.go","context":{"operations":{},"model":{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyUserNameTemplate.go","context":{"operations":{},"model":{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocol.go","context":{"operations":{},"model":{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmType.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmTypeSignature.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithms.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoint.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoints.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayState.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayStateFormat.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolSettings.go","context":{"operations":{},"model":{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioning.go","context":{"operations":{},"model":{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConditions.go","context":{"operations":{},"model":{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningDeprovisionedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningGroups.go","context":{"operations":{},"model":{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningSuspendedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactor.go","context":{"operations":{},"model":{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/recoveryQuestionCredential.go","context":{"operations":{},"model":{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/resetPasswordToken.go","context":{"operations":{},"model":{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/responseLinks.go","context":{"operations":{},"model":{"modelName":"ResponseLinks","properties":[],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/riskPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/riskScorePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/role.go","context":{"operations":{},"model":{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}}],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleAssignmentType.go","context":{"operations":{},"model":{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleStatus.go","context":{"operations":{},"model":{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleType.go","context":{"operations":{},"model":{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplication.go","context":{"operations":{},"model":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlAttributeStatement.go","context":{"operations":{},"model":{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/scheduledUserLifecycleAction.go","context":{"operations":{},"model":{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/schemeApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/scope.go","context":{"operations":{},"model":{"modelName":"Scope","properties":[{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/scopeType.go","context":{"operations":{},"model":{"modelName":"ScopeType","enum":["CORS","REDIRECT"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestion.go","context":{"operations":{},"model":{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactor.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/session.go","context":{"operations":{"getSession":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},"endSession":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]},"createSession":{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","responseModel":"Session"},"refreshSession":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},"model":{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]}}],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProvider.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProviderType.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionStatus.go","context":{"operations":{},"model":{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplate.go","context":{"operations":{"createSmsTemplate":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},"getSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"},"updateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},"deleteSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]},"listSmsTemplates":{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"responseModel":"SmsTemplate","isArray":true},"partialUpdateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},"model":{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]}}],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateTranslations.go","context":{"operations":{},"model":{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateType.go","context":{"operations":{},"model":{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactor.go","context":{"operations":{},"model":{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/socialAuthToken.go","context":{"operations":{},"model":{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"enum":["ACCESS","REFRESH"],"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/tempPassword.go","context":{"operations":{},"model":{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactor.go","context":{"operations":{},"model":{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactor.go","context":{"operations":{},"model":{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/trustedOrigin.go","context":{"operations":{"createOrigin":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},"getOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},"updateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},"deleteOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]},"listOrigins":{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"TrustedOrigin","isArray":true},"activateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},"deactivateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},"model":{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]}}],"tags":["TrustedOrigin"]}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactor.go","context":{"operations":{},"model":{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/user.go","context":{"operations":{"createUser":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"},"getUser":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},"updateUser":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"},"deactivateOrDeleteUser":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"listUsers":{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users in your organization with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.","summary":"List Users","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"responseModel":"User","isArray":true},"setLinkedObjectForUser":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]},"partialUpdateUser":{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","responseModel":"User"},"listAppLinks":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true},"listUserClients":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},"revokeGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listRefreshTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getRefreshTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"},"changePassword":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"},"changeRecoveryQuestion":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"},"forgotPasswordGenerateOneTimeToken":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"},"forgotPasswordSetNewPassword":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"},"revokeUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"listUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},"getUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},"listUserGroups":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true},"listUserIdentityProviders":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true},"activateUser":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"},"deactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"expirePassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},"expirePasswordAndGetTemporaryPassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"},"reactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"},"resetFactors":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"resetPassword":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"},"suspendUser":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"unlockUser":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"unsuspendUser":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"removeLinkedObjectForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]},"getLinkedObjectsForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true},"listAssignedRolesForUser":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},"assignRoleToUser":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},"removeRoleFromUser":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"listApplicationTargetsForApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},"addAllAppsAsTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"removeApplicationTargetFromApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"addApplicationTargetToAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"removeApplicationTargetFromAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"addApplicationTargetToAppAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"listGroupTargetsForRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},"removeGroupTargetFromRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"addGroupTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"clearUserSessions":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},"model":{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userActivationToken.go","context":{"operations":{},"model":{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userCondition.go","context":{"operations":{},"model":{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userCredentials.go","context":{"operations":{},"model":{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userFactor.go","context":{"operations":{"deleteFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]},"listFactors":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},"enrollFactor":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"},"listSupportedFactors":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},"listSupportedSecurityQuestions":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true},"getFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"},"activateFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"},"getFactorTransactionStatus":{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"responseModel":"VerifyUserFactorResponse"},"verifyFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}},"model":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierConditionEvaluatorPattern.go","context":{"operations":{},"model":{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentityProviderLinkRequest.go","context":{"operations":{},"model":{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userLifecycleAttributePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userNextLogin.go","context":{"operations":{},"model":{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userProfile.go","context":{"operations":{},"model":{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatus.go","context":{"operations":{},"model":{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatusPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userType.go","context":{"operations":{"createUserType":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},"updateUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},"getUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"},"deleteUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]},"listUserTypes":{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"UserType","isArray":true},"replaceUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},"model":{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]}}],"tags":["UserType"]}}},{"src":"templates/model.go.hbs","dest":"okta/verifyFactorRequest.go","context":{"operations":{},"model":{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/verifyUserFactorResponse.go","context":{"operations":{},"model":{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactor.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactor.go","context":{"operations":{},"model":{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettings.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}}] \ No newline at end of file +[{"src":"templates/query.go.hbs","dest":"okta/query/query.go","context":{"queryOptions":[{"name":"q","type":"string"},{"name":"after","type":"string"},{"name":"limit","type":"int64"},{"name":"filter","type":"string"},{"name":"expand","type":"string"},{"name":"includeNonDeleted","type":"bool"},{"name":"activate","type":"bool"},{"name":"validityYears","type":"int64"},{"name":"targetAid","type":"string"},{"name":"query_scope","type":"string"},{"name":"sendEmail","type":"bool"},{"name":"cursor","type":"string"},{"name":"mode","type":"string"},{"name":"search","type":"string"},{"name":"disableNotifications","type":"string"},{"name":"type","type":"string"},{"name":"targetIdpId","type":"string"},{"name":"since","type":"string"},{"name":"until","type":"string"},{"name":"sortOrder","type":"string"},{"name":"status","type":"string"},{"name":"templateType","type":"string"},{"name":"sortBy","type":"string"},{"name":"provider","type":"bool"},{"name":"nextLogin","type":"string"},{"name":"strict","type":"bool"},{"name":"updatePhone","type":"bool"},{"name":"templateId","type":"string"},{"name":"tokenLifetimeSeconds","type":"int64"},{"name":"scopeId","type":"string"},{"name":"oauthTokens","type":"bool"}]}},{"src":"templates/okta.go.hbs","dest":"okta/okta.go","context":{"operations":[{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"responseModel":"Application","isArray":true},{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"},{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true},{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"AuthorizationServer","isArray":true},{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"Policy","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"Policy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"EventHook","isArray":true},{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]},{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"},{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"},{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"responseModel":"GroupRule","isArray":true},{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"responseModel":"Group"},{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}]},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true},{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","type":"string"}],"responseModel":"InlineHook","isArray":true},{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"LogEvent","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"LinkedObject","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"UserType","isArray":true},{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]},{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy","isArray":true},{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true},{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]},{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"responseModel":"SmsTemplate","isArray":true},{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]},{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"TrustedOrigin","isArray":true},{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users in your organization with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.","summary":"List Users","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"responseModel":"User","isArray":true},{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"},{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"},{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true},{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"},{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"},{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}],"models":[{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["Application"]},{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Application"]},{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]},{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]},{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"Policy","isArray":true}},{"alias":"createPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"deletePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"Policy"}},{"alias":"updatePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"listOAuth2Scopes","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}},{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}},{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}},{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}},{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]},{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"]},{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hotp"}},{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}},{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]},{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]}}],"tags":["EventHook"]},{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"FactorProvider","enum":["OKTA","RSA","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM"],"tags":["UserFactor"]},{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]},{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]},{"modelName":"FactorType","enum":["call","email","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]},{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"}}],"tags":["Feature"]},{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"]},{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]},{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]},{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]},{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Group"]},{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"]},{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["GroupRule"]},{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]},{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]},{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}},{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL_DOMAIN"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]}}],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}},{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]}}],"tags":["InlineHook"]},{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]},{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]},{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"]},{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"]},{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":false,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"kid","commonType":"string"},{"readOnly":false,"propertyName":"kty","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":false,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"x5t","commonType":"string"},{"readOnly":false,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":false,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]}}],"tags":["LinkedObject"]},{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"]},{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]},{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]},{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY"],"tags":["Log"]},{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]},{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]},{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]},{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"OAuthAuthorizationPolicy","properties":[],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}},{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt"],"tags":["Application"]},{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]},{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]},{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}},{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}},{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}},{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"propertyName":"initiate_login_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationIssuerMode","propertyName":"issuer_mode","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationIssuerMode"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClientKeys","propertyName":"jwks","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClientKeys"},{"propertyName":"logo_uri","commonType":"string"},{"propertyName":"policy_uri","commonType":"string"},{"propertyName":"post_logout_redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"redirect_uris","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsRefreshToken","propertyName":"refresh_token","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsRefreshToken"},{"propertyName":"response_types","commonType":"array","isArray":true,"model":"OAuthResponseType"},{"propertyName":"tos_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]},{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]},{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]},{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]},{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY"],"tags":["Policy"]},{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]},{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}},{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ResponseLinks","properties":[],"methods":[],"crud":[],"tags":["User"]},{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}}],"crud":[],"tags":["User"]},{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]},{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]},{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN"],"tags":["Role"]},{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"Scope","properties":[{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"ScopeType","enum":["CORS","REDIRECT"],"tags":["Role"]},{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}},{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}},{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]}}],"tags":["Session"]},{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]},{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"]},{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]},{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]},{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]}}],"tags":["Template"]},{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"]},{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]},{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}},{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"enum":["ACCESS","REFRESH"],"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}},{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}},{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]}}],"tags":["TrustedOrigin"]},{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}},{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["User"]},{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]},{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]},{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]}}],"tags":["UserType"]},{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}},{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}},{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}},{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}]}},{"src":"templates/model.go.hbs","dest":"okta/acsEndpoint.go","context":{"operations":{},"model":{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/activateFactorRequest.go","context":{"operations":{},"model":{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstanceConditionEvaluatorAppOrInstance.go","context":{"operations":{},"model":{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appLink.go","context":{"operations":{},"model":{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUser.go","context":{"operations":{"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},"model":{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUserCredentials.go","context":{"operations":{},"model":{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUserPasswordCredential.go","context":{"operations":{},"model":{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/application.go","context":{"operations":{"getApplication":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"},"updateApplication":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"},"deleteApplication":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"listApplications":{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"responseModel":"Application","isArray":true},"createApplication":{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","responseModel":"Application"},"listCsrsForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},"generateCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},"revokeCsrFromApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},"getCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},"publishCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishBinaryPemCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"listApplicationKeys":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"generateApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"},"getApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"cloneApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"listScopeConsentGrants":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"grantConsentToScope":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"},"revokeScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},"getScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},"listApplicationGroupAssignments":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true},"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"getApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"},"createApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"},"activateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"deactivateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"revokeOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"listOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true},"revokeOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"},"listApplicationUsers":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true},"assignUserToApplication":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"getApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"},"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},"model":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}}}},{"src":"templates/model.go.hbs","dest":"okta/applicationAccessibility.go","context":{"operations":{},"model":{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentials.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsOAuthClient.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsScheme.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigningUse.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsUsernameTemplate.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationGroupAssignment.go","context":{"operations":{"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},"model":{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationLicensing.go","context":{"operations":{},"model":{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettings.go","context":{"operations":{},"model":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotifications.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpn.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpnNetwork.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSignOnMode.go","context":{"operations":{},"model":{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibility.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibilityHide.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/assignRoleRequest.go","context":{"operations":{},"model":{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProviderType.go","context":{"operations":{},"model":{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServer.go","context":{"operations":{"createAuthorizationServer":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},"getAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"},"updateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},"deleteAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"listAuthorizationServers":{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"AuthorizationServer","isArray":true},"listOAuth2Claims":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true},"createOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},"deleteOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]},"getOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"},"updateOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},"listOAuth2ClientsForAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},"revokeRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"},"listAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"rotateAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true},"activateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"deactivateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"listAuthorizationServerPolicies":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"Policy","isArray":true},"createAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"},"deleteAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},"getAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"Policy"},"updateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"},"listOAuth2Scopes":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true},"createOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},"deleteOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]},"getOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"},"updateOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},"model":{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"Policy","isArray":true}},{"alias":"createPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"deletePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"Policy"}},{"alias":"updatePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"listOAuth2Scopes","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentials.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsRotationMode.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsSigningConfig.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsUse.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplication.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettings.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/basicAuthApplication.go","context":{"operations":{},"model":{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}}}},{"src":"templates/model.go.hbs","dest":"okta/beforeScheduledActionPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/browserPluginApplication.go","context":{"operations":{},"model":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactor.go","context":{"operations":{},"model":{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplication.go","context":{"operations":{},"model":{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplicationStatus.go","context":{"operations":{},"model":{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/changePasswordRequest.go","context":{"operations":{},"model":{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/clientPolicyCondition.go","context":{"operations":{},"model":{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/contextPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/createSessionRequest.go","context":{"operations":{},"model":{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/createUserRequest.go","context":{"operations":{},"model":{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/csr.go","context":{"operations":{},"model":{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadata.go","context":{"operations":{},"model":{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubject.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubjectAltNames.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactor.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hotp"}}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleConditionPlatform.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/duration.go","context":{"operations":{},"model":{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactor.go","context":{"operations":{},"model":{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/enabledStatus.go","context":{"operations":{},"model":{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHook.go","context":{"operations":{"createEventHook":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},"getEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"updateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},"deleteEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]},"listEventHooks":{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"EventHook","isArray":true},"activateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"deactivateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"verifyEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},"model":{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]}}],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannel.go","context":{"operations":{},"model":{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthSchemeType.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigHeader.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventSubscriptions.go","context":{"operations":{},"model":{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorProvider.go","context":{"operations":{},"model":{"modelName":"FactorProvider","enum":["OKTA","RSA","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorResultType.go","context":{"operations":{},"model":{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorStatus.go","context":{"operations":{},"model":{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorType.go","context":{"operations":{},"model":{"modelName":"FactorType","enum":["call","email","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/feature.go","context":{"operations":{"getFeature":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"},"listFeatures":{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"Feature","isArray":true},"listFeatureDependencies":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},"listFeatureDependents":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},"updateFeatureLifecycle":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},"model":{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"}}],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStage.go","context":{"operations":{},"model":{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageState.go","context":{"operations":{},"model":{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageValue.go","context":{"operations":{},"model":{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureType.go","context":{"operations":{},"model":{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/forgotPasswordResponse.go","context":{"operations":{},"model":{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/grantTypePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/group.go","context":{"operations":{"updateGroup":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},"deleteGroup":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]},"listGroups":{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"responseModel":"Group","isArray":true},"createGroup":{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},"listGroupRules":{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"responseModel":"GroupRule","isArray":true},"createGroupRule":{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"GroupRule"},"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"activateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"deactivateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getGroup":{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"responseModel":"Group"},"listAssignedApplicationsForGroup":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true},"listGroupAssignedRoles":{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},"assignRoleToGroup":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},"removeRoleFromGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"getRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"responseModel":"Role"},"listApplicationTargetsForApplicationAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"addApplicationTargetToAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"removeApplicationTargetFromAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"addApplicationInstanceTargetToAppAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"listGroupTargetsForGroupRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},"removeGroupTargetFromGroupAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},"addGroupTargetToGroupAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},"listGroupUsers":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true},"removeUserFromGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},"addUserToGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},"model":{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupCondition.go","context":{"operations":{},"model":{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupProfile.go","context":{"operations":{},"model":{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRule.go","context":{"operations":{"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleAction.go","context":{"operations":{},"model":{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleConditions.go","context":{"operations":{},"model":{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleExpression.go","context":{"operations":{},"model":{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupAssignment.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRulePeopleCondition.go","context":{"operations":{},"model":{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleStatus.go","context":{"operations":{},"model":{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleUserCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupType.go","context":{"operations":{},"model":{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactor.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProvider.go","context":{"operations":{"createIdentityProvider":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},"getIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"updateIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},"deleteIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]},"listIdentityProviders":{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"responseModel":"IdentityProvider","isArray":true},"listIdentityProviderKeys":{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"JsonWebKey","isArray":true},"createIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","responseModel":"JsonWebKey"},"deleteIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}]},"getIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"listCsrsForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},"generateCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},"revokeCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},"getCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},"publishCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishBinaryPemCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"listIdentityProviderSigningKeys":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"generateIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"},"getIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"cloneIdentityProviderKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"activateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"deactivateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"listIdentityProviderApplicationUsers":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true},"unlinkUserFromIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},"getIdentityProviderApplicationUser":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"},"linkUserToIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"},"listSocialAuthTokens":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}},"model":{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL_DOMAIN"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]}}],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderApplicationUser.go","context":{"operations":{},"model":{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentials.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsClient.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsTrust.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicy.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/inactivityPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHook.go","context":{"operations":{"createInlineHook":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},"getInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},"updateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},"deleteInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]},"listInlineHooks":{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","type":"string"}],"responseModel":"InlineHook","isArray":true},"executeInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"},"activateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},"deactivateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},"model":{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]}}],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannel.go","context":{"operations":{},"model":{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigHeaders.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookPayload.go","context":{"operations":{},"model":{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponse.go","context":{"operations":{},"model":{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommandValue.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommands.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookStatus.go","context":{"operations":{},"model":{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookType.go","context":{"operations":{},"model":{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionField.go","context":{"operations":{},"model":{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionForm.go","context":{"operations":{},"model":{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"]}}},{"src":"templates/model.go.hbs","dest":"okta/jsonWebKey.go","context":{"operations":{},"model":{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":false,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"kid","commonType":"string"},{"readOnly":false,"propertyName":"kty","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":false,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"x5t","commonType":"string"},{"readOnly":false,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":false,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/jwkUse.go","context":{"operations":{},"model":{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObject.go","context":{"operations":{"addLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"},"getLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"},"deleteLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]},"listLinkedObjectDefinitions":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"LinkedObject","isArray":true}},"model":{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]}}],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetails.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetailsType.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/logActor.go","context":{"operations":{},"model":{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationContext.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationProvider.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logClient.go","context":{"operations":{},"model":{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialProvider.go","context":{"operations":{},"model":{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialType.go","context":{"operations":{},"model":{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logDebugContext.go","context":{"operations":{},"model":{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logEvent.go","context":{"operations":{"getLogs":{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"LogEvent","isArray":true}},"model":{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logGeographicalContext.go","context":{"operations":{},"model":{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logGeolocation.go","context":{"operations":{},"model":{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logIpAddress.go","context":{"operations":{},"model":{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logIssuer.go","context":{"operations":{},"model":{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logOutcome.go","context":{"operations":{},"model":{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logRequest.go","context":{"operations":{},"model":{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logSecurityContext.go","context":{"operations":{},"model":{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logSeverity.go","context":{"operations":{},"model":{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTarget.go","context":{"operations":{},"model":{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTransaction.go","context":{"operations":{},"model":{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logUserAgent.go","context":{"operations":{},"model":{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/mdmEnrollmentPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Actor.go","context":{"operations":{},"model":{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Claim.go","context":{"operations":{},"model":{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ClaimConditions.go","context":{"operations":{},"model":{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Client.go","context":{"operations":{},"model":{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2RefreshToken.go","context":{"operations":{},"model":{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Scope.go","context":{"operations":{},"model":{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrant.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantSource.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantStatus.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopesMediationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Token.go","context":{"operations":{},"model":{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthAuthorizationPolicy.go","context":{"operations":{},"model":{"modelName":"OAuthAuthorizationPolicy","properties":[],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthEndpointAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthGrantType.go","context":{"operations":{},"model":{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthResponseType.go","context":{"operations":{},"model":{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicy.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRule.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonSessionActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplication.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationConsentMethod.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIssuerMode.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettings.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClient.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"propertyName":"initiate_login_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationIssuerMode","propertyName":"issuer_mode","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationIssuerMode"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClientKeys","propertyName":"jwks","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClientKeys"},{"propertyName":"logo_uri","commonType":"string"},{"propertyName":"policy_uri","commonType":"string"},{"propertyName":"post_logout_redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"redirect_uris","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsRefreshToken","propertyName":"refresh_token","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsRefreshToken"},{"propertyName":"response_types","commonType":"array","isArray":true,"model":"OAuthResponseType"},{"propertyName":"tos_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClientKeys.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsRefreshToken.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectRefreshTokenRotationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredential.go","context":{"operations":{},"model":{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHash.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHashAlgorithm.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHook.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionary.go","context":{"operations":{},"model":{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionaryCommon.go","context":{"operations":{},"model":{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicy.go","context":{"operations":{},"model":{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyAuthenticationProviderCondition.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettingsOptions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsAge.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsLockout.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmail.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailRecoveryToken.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactorSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactors.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestion.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoverySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRule.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatform.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystem.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystemVersion.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policy.go","context":{"operations":{"getPolicy":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"},"updatePolicy":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"},"deletePolicy":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"listPolicies":{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy","isArray":true},"createPolicy":{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","responseModel":"Policy"},"activatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"deactivatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"listPolicyRules":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true},"createPolicyRule":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getPolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"},"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"activatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"deactivatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLink.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilter.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilterGroups.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyNetworkCondition.go","context":{"operations":{},"model":{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyPeopleCondition.go","context":{"operations":{},"model":{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRule.go","context":{"operations":{"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleAuthContextCondition.go","context":{"operations":{},"model":{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policySubject.go","context":{"operations":{},"model":{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policySubjectMatchType.go","context":{"operations":{},"model":{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyType.go","context":{"operations":{},"model":{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyUserNameTemplate.go","context":{"operations":{},"model":{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocol.go","context":{"operations":{},"model":{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmType.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmTypeSignature.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithms.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoint.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoints.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayState.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayStateFormat.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolSettings.go","context":{"operations":{},"model":{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioning.go","context":{"operations":{},"model":{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConditions.go","context":{"operations":{},"model":{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningDeprovisionedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningGroups.go","context":{"operations":{},"model":{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningSuspendedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactor.go","context":{"operations":{},"model":{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/recoveryQuestionCredential.go","context":{"operations":{},"model":{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/resetPasswordToken.go","context":{"operations":{},"model":{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/responseLinks.go","context":{"operations":{},"model":{"modelName":"ResponseLinks","properties":[],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/riskPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/riskScorePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/role.go","context":{"operations":{},"model":{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}}],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleAssignmentType.go","context":{"operations":{},"model":{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleStatus.go","context":{"operations":{},"model":{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleType.go","context":{"operations":{},"model":{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplication.go","context":{"operations":{},"model":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlAttributeStatement.go","context":{"operations":{},"model":{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/scheduledUserLifecycleAction.go","context":{"operations":{},"model":{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/schemeApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/scope.go","context":{"operations":{},"model":{"modelName":"Scope","properties":[{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/scopeType.go","context":{"operations":{},"model":{"modelName":"ScopeType","enum":["CORS","REDIRECT"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestion.go","context":{"operations":{},"model":{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactor.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/session.go","context":{"operations":{"getSession":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},"endSession":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]},"createSession":{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","responseModel":"Session"},"refreshSession":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},"model":{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]}}],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProvider.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProviderType.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionStatus.go","context":{"operations":{},"model":{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplate.go","context":{"operations":{"createSmsTemplate":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},"getSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"},"updateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},"deleteSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]},"listSmsTemplates":{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"responseModel":"SmsTemplate","isArray":true},"partialUpdateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},"model":{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]}}],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateTranslations.go","context":{"operations":{},"model":{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateType.go","context":{"operations":{},"model":{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactor.go","context":{"operations":{},"model":{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/socialAuthToken.go","context":{"operations":{},"model":{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"enum":["ACCESS","REFRESH"],"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/tempPassword.go","context":{"operations":{},"model":{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactor.go","context":{"operations":{},"model":{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactor.go","context":{"operations":{},"model":{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/trustedOrigin.go","context":{"operations":{"createOrigin":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},"getOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},"updateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},"deleteOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]},"listOrigins":{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"TrustedOrigin","isArray":true},"activateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},"deactivateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},"model":{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]}}],"tags":["TrustedOrigin"]}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactor.go","context":{"operations":{},"model":{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/user.go","context":{"operations":{"createUser":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"},"getUser":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},"updateUser":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"},"deactivateOrDeleteUser":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"listUsers":{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users in your organization with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.","summary":"List Users","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"responseModel":"User","isArray":true},"setLinkedObjectForUser":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]},"partialUpdateUser":{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","responseModel":"User"},"listAppLinks":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true},"listUserClients":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},"revokeGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listRefreshTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getRefreshTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"},"changePassword":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"},"changeRecoveryQuestion":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"},"forgotPasswordGenerateOneTimeToken":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"},"forgotPasswordSetNewPassword":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"},"revokeUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"listUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},"getUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},"listUserGroups":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true},"listUserIdentityProviders":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true},"activateUser":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"},"deactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"expirePassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},"expirePasswordAndGetTemporaryPassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"},"reactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"},"resetFactors":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"resetPassword":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"},"suspendUser":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"unlockUser":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"unsuspendUser":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"removeLinkedObjectForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]},"getLinkedObjectsForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true},"listAssignedRolesForUser":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},"assignRoleToUser":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},"removeRoleFromUser":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"listApplicationTargetsForApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},"addAllAppsAsTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"removeApplicationTargetFromApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"addApplicationTargetToAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"removeApplicationTargetFromAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"addApplicationTargetToAppAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"listGroupTargetsForRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},"removeGroupTargetFromRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"addGroupTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"clearUserSessions":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},"model":{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userActivationToken.go","context":{"operations":{},"model":{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userCondition.go","context":{"operations":{},"model":{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userCredentials.go","context":{"operations":{},"model":{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userFactor.go","context":{"operations":{"deleteFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]},"listFactors":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},"enrollFactor":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"},"listSupportedFactors":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},"listSupportedSecurityQuestions":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true},"getFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"},"activateFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"},"getFactorTransactionStatus":{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"responseModel":"VerifyUserFactorResponse"},"verifyFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}},"model":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierConditionEvaluatorPattern.go","context":{"operations":{},"model":{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentityProviderLinkRequest.go","context":{"operations":{},"model":{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userLifecycleAttributePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userNextLogin.go","context":{"operations":{},"model":{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userProfile.go","context":{"operations":{},"model":{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatus.go","context":{"operations":{},"model":{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatusPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userType.go","context":{"operations":{"createUserType":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},"updateUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},"getUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"},"deleteUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]},"listUserTypes":{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"UserType","isArray":true},"replaceUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},"model":{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]}}],"tags":["UserType"]}}},{"src":"templates/model.go.hbs","dest":"okta/verifyFactorRequest.go","context":{"operations":{},"model":{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/verifyUserFactorResponse.go","context":{"operations":{},"model":{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactor.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactor.go","context":{"operations":{},"model":{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettings.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}}] \ No newline at end of file diff --git a/openapi/generator/index.js b/openapi/generator/index.js index 1b3286433..2a6d79832 100644 --- a/openapi/generator/index.js +++ b/openapi/generator/index.js @@ -397,6 +397,7 @@ function isInstance(model) { model.modelName == "OAuth2Scope" || model.modelName == "WebAuthnUserFactorProfile" || model.modelName == "OpenIdConnectApplicationSettingsClientKeys" || + model.modelName == "OpenIdConnectApplicationSettingsRefreshToken" || model.modelName == "OAuth2ScopesMediationPolicyRuleCondition") { return false } diff --git a/openapi/yarn.lock b/openapi/yarn.lock index f33f80030..29ad8bf48 100644 --- a/openapi/yarn.lock +++ b/openapi/yarn.lock @@ -3,9 +3,9 @@ "@okta/openapi@~2.1.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@okta/openapi/-/openapi-2.1.2.tgz#b8bf11b0d3196553f6a6f2ac9092b2d9187d6643" - integrity sha512-rjNiV+333D4tjMG2/UklZvtwefUOk8o5YXUNoJxv2rBrj+5JQeGnojDLKboC4ccYmnlzCLlqjaMfTAYCpFBRKg== + version "2.1.6" + resolved "https://registry.yarnpkg.com/@okta/openapi/-/openapi-2.1.6.tgz#dd5b83daf3a7b22fa0cb36c1757c68f8aaa3f7f5" + integrity sha512-9Ln2TKp/tv9pq8WNOpC2wIgz4PuSWrC8YeYBdH3S5ICf9Q9wYFtk6/KF7ArCYVIs0WGGeOfd0vgJPqjvd/lvgw== dependencies: commander "2.9.0" fs-extra "3.0.1" @@ -356,9 +356,9 @@ swagger-parser@^8.0.4: z-schema "^4.2.2" uglify-js@^3.1.4: - version "3.11.4" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.11.4.tgz#b47b7ae99d4bd1dca65b53aaa69caa0909e6fadf" - integrity sha512-FyYnoxVL1D6+jDGQpbK5jW6y/2JlVfRfEeQ67BPCUg5wfCjaKOpr2XeceE4QL+MkhxliLtf5EbrMDZgzpt2CNw== + version "3.11.5" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.11.5.tgz#d6788bc83cf35ff18ea78a65763e480803409bc6" + integrity sha512-btvv/baMqe7HxP7zJSF7Uc16h1mSfuuSplT0/qdjxseesDU+yYzH33eHBH+eMdeRXwujXspaCTooWHQVVBh09w== universalify@^0.1.0: version "0.1.2" From 9ed1299b6e64d973fe7d3b0a8df6804bb5b82dee Mon Sep 17 00:00:00 2001 From: Brian Retterer Date: Thu, 5 Nov 2020 12:48:44 -0500 Subject: [PATCH 2/2] Update version --- okta/okta.go | 2 +- openapi/generator/templates/okta.go.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/okta/okta.go b/okta/okta.go index 2166d8621..d37d4e859 100644 --- a/okta/okta.go +++ b/okta/okta.go @@ -33,7 +33,7 @@ import ( "github.com/kelseyhightower/envconfig" ) -const Version = "2.1.0" +const Version = "2.3.0" type Client struct { config *config diff --git a/openapi/generator/templates/okta.go.hbs b/openapi/generator/templates/okta.go.hbs index 732916648..69e1cb6b3 100644 --- a/openapi/generator/templates/okta.go.hbs +++ b/openapi/generator/templates/okta.go.hbs @@ -17,7 +17,7 @@ import ( "github.com/kelseyhightower/envconfig" ) -const Version = "2.1.0" +const Version = "2.3.0" type Client struct { config *config