From bf0336a671f30245a63f3d0560c83a40a30453da Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 2 Mar 2023 17:24:51 -0800 Subject: [PATCH 1/4] Generator for int64 and *int64 --- openapi/generator/createdFiles.json | 2 +- openapi/generator/index.js | 73 ++++++++++++++++++++++-- openapi/generator/templates/model.go.hbs | 32 ++++++++++- openapi/generator/templates/okta.go.hbs | 2 +- 4 files changed, 101 insertions(+), 8 deletions(-) diff --git a/openapi/generator/createdFiles.json b/openapi/generator/createdFiles.json index a94caf139..214f76b11 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":"removeUsers","type":"bool"},{"name":"disableNotifications","type":"bool"},{"name":"type","type":"string"},{"name":"targetIdpId","type":"string"},{"name":"since","type":"string"},{"name":"until","type":"string"},{"name":"sortOrder","type":"string"},{"name":"sourceId","type":"string"},{"name":"targetId","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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"},{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"},{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/secrets","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listClientSecretsForApplication","description":"Enumerates the client's collection of secrets","summary":"List client secrets","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ClientSecret"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/secrets","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"createNewClientSecretForApplication","description":"Adds a new secret to the client's collection of secrets.","summary":"Add new client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/ClientSecretMetadata"}}],"bodyModel":"ClientSecretMetadata","formData":[],"responseModel":"ClientSecret"},{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"deleteClientSecretForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"getClientSecretForApplication","description":"Gets a specific client secret by secretId","summary":"Get client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"activateClientSecretForApplication","description":"Activates a specific client secret by secretId","summary":"Activate a client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"deactivateClientSecretForApplication","description":"Deactivates a specific client secret by secretId","summary":"Deactivate a client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true},{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"},{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"responseModel":"AppUser"},{"path":"/api/v1/authenticators","method":"get","queryParams":[],"pathParams":[],"operationId":"listAuthenticators","description":"List Authenticators","summary":"Lists all available Authenticators","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Authenticator"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Authenticator","isArray":true},{"path":"/api/v1/authenticators","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createAuthenticator","description":"Create Authenticator","summary":"Create an Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"query","name":"activate","type":"boolean"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServer"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"AuthorizationServer","isArray":true},{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicyRules","description":"Enumerates all policy rules for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicyRule","description":"Creates a policy rule for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicyRule","description":"Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"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","formData":[],"responseModel":"OAuth2Scope"},{"path":"/api/v1/brands","method":"get","queryParams":[],"pathParams":[],"operationId":"listBrands","description":"List all the brands in your org.","summary":"List Brands","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Brand"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Brand","isArray":true},{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"},{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"},{"path":"/api/v1/brands/{brandId}/templates/email","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listEmailTemplates","description":"List email templates in your organization with pagination.","summary":"List Email Templates","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplate"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"EmailTemplate","isArray":true},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]},{"path":"/api/v1/brands/{brandId}/themes","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listBrandThemes","description":"List all the themes in your brand","summary":"Get Brand Themes","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ThemeResponse"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse","isArray":true},{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/domains","method":"get","queryParams":[],"pathParams":[],"operationId":"listDomains","description":"List all verified custom Domains for the org.","summary":"List Domains","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DomainListResponse"}}},"parameters":[],"formData":[],"responseModel":"DomainListResponse"},{"path":"/api/v1/domains","method":"post","queryParams":[],"pathParams":[],"operationId":"createDomain","description":"Creates your domain.","summary":"Create Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","formData":[],"responseModel":"Domain"},{"path":"/api/v1/domains/{domainId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"deleteDomain","description":"Deletes a Domain by `id`.","summary":"Delete Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/domains/{domainId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"getDomain","description":"Fetches a Domain by `id`.","summary":"Get Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]},{"path":"/api/v1/domains/{domainId}/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"verifyDomain","description":"Verifies the Domain by `id`.","summary":"Verify Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EventHook"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"EventHook","isArray":true},{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"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"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/GroupRule"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Fetches a group from your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/InlineHook"},"type":"array"}}},"parameters":[{"in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"InlineHook","isArray":true},{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LogEvent"},"type":"array"}}},"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"}],"formData":[],"responseModel":"LogEvent","isArray":true},{"path":"/api/v1/mappings","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"pathParams":[],"operationId":"listProfileMappings","description":"Enumerates Profile Mappings in your organization with pagination.","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ProfileMapping"},"type":"array"}}},"parameters":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"formData":[],"responseModel":"ProfileMapping","isArray":true},{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"},{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"},{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"getApplicationUserSchema","description":"Fetches the Schema for an App User","summary":"Fetches the Schema for an App User","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"updateApplicationUserProfile","description":"Partial updates on the User Profile properties of the Application User Schema.","summary":"Partial updates on the User Profile properties of the Application User Schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/group/default","method":"get","queryParams":[],"pathParams":[],"operationId":"getGroupSchema","description":"Fetches the group schema","summary":"Fetches the group schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[],"formData":[],"responseModel":"GroupSchema"},{"path":"/api/v1/meta/schemas/group/default","method":"post","queryParams":[],"pathParams":[],"operationId":"updateGroupSchema","description":"Updates, adds ore removes one or more custom Group Profile properties in the schema","summary":"Updates, adds ore removes one or more custom Group Profile properties in the schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/GroupSchema"}}],"bodyModel":"GroupSchema","formData":[],"responseModel":"GroupSchema"},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LinkedObject"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"getUserSchema","description":"Fetches the schema for a Schema Id.","summary":"Fetches the schema for a Schema Id.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"updateUserProfile","description":"Partial updates on the User Profile properties of the user schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserType"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true},{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"},{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"},{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Policy"},"type":"array"}}},"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SmsTemplate"},"type":"array"}}},"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"},{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/TrustedOrigin"},"type":"array"}}},"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"}],"formData":[],"responseModel":"TrustedOrigin","isArray":true},{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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 that do not have a status of 'DEPROVISIONED' (by default), up to the maximum (200 for most orgs), 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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"204":{"description":"Success"}},"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"}],"formData":[]},{"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"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/zones","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of network zones","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 zones by usage or id expression","in":"query","name":"filter","type":"string"}],"pathParams":[],"operationId":"listNetworkZones","description":"Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.","summary":"List Network Zones","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/NetworkZone"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of network zones","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 zones by usage or id expression","in":"query","name":"filter","type":"string"}],"formData":[],"responseModel":"NetworkZone","isArray":true},{"path":"/api/v1/zones","method":"post","queryParams":[],"pathParams":[],"operationId":"createNetworkZone","description":"Adds a new network zone to your Okta organization.","summary":"Add Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}],"models":[{"modelName":"AccessPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}},{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyConstraints","properties":[{"$ref":"#/definitions/KnowledgeConstraint","propertyName":"knowledge","commonType":"object","isObject":true,"model":"KnowledgeConstraint"},{"$ref":"#/definitions/PossessionConstraint","propertyName":"possession","commonType":"object","isObject":true,"model":"PossessionConstraint"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyRule","properties":[{"$ref":"#/definitions/AccessPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AccessPolicyRuleActions"},{"$ref":"#/definitions/AccessPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AccessPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}},{"modelName":"AccessPolicyRuleActions","properties":[{"$ref":"#/definitions/AccessPolicyRuleApplicationSignOn","propertyName":"appSignOn","commonType":"object","isObject":true,"model":"AccessPolicyRuleApplicationSignOn"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"AccessPolicyRuleApplicationSignOn","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/VerificationMethod","propertyName":"verificationMethod","commonType":"object","isObject":true,"model":"VerificationMethod"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyRuleConditions","properties":[{"$ref":"#/definitions/DeviceAccessPolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DeviceAccessPolicyRuleCondition"},{"$ref":"#/definitions/AccessPolicyRuleCustomCondition","propertyName":"elCondition","commonType":"object","isObject":true,"model":"AccessPolicyRuleCustomCondition"},{"$ref":"#/definitions/UserTypeCondition","propertyName":"userType","commonType":"object","isObject":true,"model":"UserTypeCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"modelName":"AccessPolicyRuleCustomCondition","properties":[{"propertyName":"condition","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"AllowedForEnum","enum":["recovery","sso","any","none"],"tags":["Authenticator"]},{"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"],"isExtensible":false},{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}}],"tags":["Application"],"isExtensible":false},{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"propertyName":"pkce_required","commonType":"boolean"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"pushStatus","commonType":"string"},{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationFeature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/CapabilitiesObject","propertyName":"capabilities","commonType":"object","isObject":true,"model":"CapabilitiesObject"},{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[{"alias":"listFeaturesForApplication","operation":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true}}],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotes","properties":[{"propertyName":"admin","commonType":"string"},{"propertyName":"enduser","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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":"autoLaunch","commonType":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]},{"modelName":"Authenticator","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"key","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticatorProvider"},{"$ref":"#/definitions/AuthenticatorSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AuthenticatorSettings"},{"$ref":"#/definitions/AuthenticatorStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"AuthenticatorStatus"},{"$ref":"#/definitions/AuthenticatorType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticatorType"}],"methods":[{"alias":"activate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"deactivate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"update","arguments":[{"dest":"authenticatorId","src":"id"},{"dest":"authenticator","self":true}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"}}],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProvider","properties":[{"$ref":"#/definitions/AuthenticatorProviderConfiguration","propertyName":"configuration","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfiguration"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProviderConfiguration","properties":[{"propertyName":"authPort","commonType":"integer"},{"propertyName":"host","commonType":"string"},{"propertyName":"hostName","commonType":"string"},{"propertyName":"instanceId","commonType":"string"},{"propertyName":"integrationKey","commonType":"string"},{"propertyName":"secretKey","commonType":"string"},{"propertyName":"sharedSecret","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProviderConfigurationUserNamePlate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfigurationUserNamePlate"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProviderConfigurationUserNamePlate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorSettings","properties":[{"$ref":"#/definitions/AllowedForEnum","propertyName":"allowedFor","commonType":"enum","isEnum":true,"model":"AllowedForEnum"},{"propertyName":"appInstanceId","commonType":"string"},{"$ref":"#/definitions/ChannelBinding","propertyName":"channelBinding","commonType":"object","isObject":true,"model":"ChannelBinding"},{"$ref":"#/definitions/Compliance","propertyName":"compliance","commonType":"object","isObject":true,"model":"Compliance"},{"propertyName":"tokenLifetimeInMinutes","commonType":"integer"},{"$ref":"#/definitions/UserVerificationEnum","propertyName":"userVerification","commonType":"enum","isEnum":true,"model":"UserVerificationEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorStatus","enum":["ACTIVE","INACTIVE"],"tags":["Authenticator"]},{"modelName":"AuthenticatorType","enum":["app","password","security_question","phone","email","security_key","federated"],"tags":["Authenticator"]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerPolicy","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":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicyRules","description":"Enumerates all policy rules for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true}},{"alias":"createPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicyRule","description":"Creates a policy rule for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicyRule","description":"Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"deletePolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"delete","arguments":[{"dest":"policyId","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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRule","properties":[{"$ref":"#/definitions/AuthorizationServerPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleActions"},{"$ref":"#/definitions/AuthorizationServerPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["RESOURCE_ACCESS"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRuleConditions","properties":[{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"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"},{"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"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false},{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"Brand","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"agreeToCustomPrivacyPolicy","commonType":"boolean"},{"propertyName":"customPrivacyPolicyUrl","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"removePoweredByOkta","commonType":"boolean"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"brandId","src":"id"}],"operation":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"}},{"alias":"update","arguments":[{"dest":"brandId","src":"id"},{"dest":"brand","self":true}],"operation":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"}}],"tags":["Brand"],"isExtensible":false},{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"CapabilitiesCreateObject","properties":[{"$ref":"#/definitions/LifecycleCreateSettingObject","propertyName":"lifecycleCreate","commonType":"object","isObject":true,"model":"LifecycleCreateSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CapabilitiesObject","properties":[{"$ref":"#/definitions/CapabilitiesCreateObject","propertyName":"create","commonType":"object","isObject":true,"model":"CapabilitiesCreateObject"},{"$ref":"#/definitions/CapabilitiesUpdateObject","propertyName":"update","commonType":"object","isObject":true,"model":"CapabilitiesUpdateObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CapabilitiesUpdateObject","properties":[{"$ref":"#/definitions/LifecycleDeactivateSettingObject","propertyName":"lifecycleDeactivate","commonType":"object","isObject":true,"model":"LifecycleDeactivateSettingObject"},{"$ref":"#/definitions/PasswordSettingObject","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordSettingObject"},{"$ref":"#/definitions/ProfileSettingObject","propertyName":"profile","commonType":"object","isObject":true,"model":"ProfileSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]},{"modelName":"ChangeEnum","enum":["KEEP_EXISTING","CHANGE"],"tags":["Application"]},{"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"],"isExtensible":false},{"modelName":"ChannelBinding","properties":[{"$ref":"#/definitions/RequiredEnum","propertyName":"required","commonType":"enum","isEnum":true,"model":"RequiredEnum"},{"propertyName":"style","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ClientSecret","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"client_secret","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"secret_hash","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ClientSecretMetadata","properties":[{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Compliance","properties":[{"$ref":"#/definitions/FipsEnum","propertyName":"fips","commonType":"enum","isEnum":true,"model":"FipsEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"DNSRecord","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fqdn","commonType":"string"},{"$ref":"#/definitions/DNSRecordType","propertyName":"recordType","commonType":"enum","isEnum":true,"model":"DNSRecordType"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]},{"modelName":"DeviceAccessPolicyRuleCondition","properties":[{"propertyName":"managed","commonType":"boolean"},{"propertyName":"registered","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"DevicePolicyRuleCondition","parent":{"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"],"isExtensible":false}},{"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"],"isExtensible":false},{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Domain","properties":[{"$ref":"#/definitions/DomainCertificateSourceType","propertyName":"certificateSourceType","commonType":"enum","isEnum":true,"model":"DomainCertificateSourceType"},{"propertyName":"dnsRecords","commonType":"array","isArray":true,"model":"DNSRecord"},{"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/DomainCertificateMetadata","propertyName":"publicCertificate","commonType":"object","isObject":true,"model":"DomainCertificateMetadata"},{"$ref":"#/definitions/DomainValidationStatus","propertyName":"validationStatus","commonType":"enum","isEnum":true,"model":"DomainValidationStatus"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificate","properties":[{"propertyName":"certificate","commonType":"string"},{"propertyName":"certificateChain","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"$ref":"#/definitions/DomainCertificateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"DomainCertificateType"}],"methods":[{"alias":"createCertificate","arguments":[{"dest":"certificate","self":true}],"operation":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]}}],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificateSourceType","enum":["MANUAL","OKTA_MANAGED"],"tags":["Domain"]},{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]},{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","FAILED_TO_VERIFY","DOMAIN_TAKEN","COMPLETED"],"tags":["Domain"]},{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"EmailTemplate","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"name","commonType":"string"}],"methods":[{"alias":"getEmailTemplate","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},{"alias":"deleteEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]}},{"alias":"listEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true}},{"alias":"createEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"deleteEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]}},{"alias":"getEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"updateEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"getEmailTemplateCustomizationPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContent","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContentPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"sendTestEmail","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}}],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateContent","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"propertyName":"fromAddress","commonType":"string"},{"propertyName":"fromName","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateCustomization","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateCustomizationRequest","properties":[{"propertyName":"body","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateTestRequest","properties":[{"propertyName":"customizationId","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateTouchPointVariant","enum":["OKTA_DEFAULT","FULL_THEME"],"tags":["Brand"]},{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]},{"modelName":"EndUserDashboardTouchPointVariant","enum":["OKTA_DEFAULT","WHITE_LOGO_BACKGROUND","FULL_THEME","LOGO_ON_FULL_WHITE_BACKGROUND"],"tags":["Brand"]},{"modelName":"ErrorPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["EventHook"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM","APPLE"],"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","hotp","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"}}],"tags":["Feature"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]},{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]},{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]},{"modelName":"FipsEnum","enum":["REQUIRED","OPTIONAL"],"tags":["Authenticator"]},{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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":"boolean"}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Group"],"isExtensible":false},{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"],"isExtensible":true},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}}],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"GroupSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/GroupSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"GroupSchemaDefinitions"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/GroupSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"GroupSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaBaseProperties","properties":[{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"description","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"},{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"name","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaCustom","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"GroupSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaDefinitions","properties":[{"$ref":"#/definitions/GroupSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"GroupSchemaBase"},{"$ref":"#/definitions/GroupSchemaCustom","propertyName":"custom","commonType":"object","isObject":true,"model":"GroupSchemaCustom"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"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"],"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","knownValues":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"]}],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]}}],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"propertyName":"teamId","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false},{"modelName":"IdpPolicyRuleAction","properties":[{"propertyName":"providers","commonType":"array","isArray":true,"model":"IdpPolicyRuleActionProvider"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IdpPolicyRuleActionProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IframeEmbedScopeAllowedApps","enum":["OKTA_ENDUSER"],"tags":["Role"]},{"modelName":"ImageUploadResponse","properties":[{"readOnly":true,"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false},{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["InlineHook"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":true},{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":false,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":false,"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":false,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":false,"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"],"isExtensible":false},{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"KnowledgeConstraint","properties":[],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"LifecycleCreateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"LifecycleDeactivateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]}}],"tags":["LinkedObject"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY","APPLE"],"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"NetworkZone","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"asns","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"gateways","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"locations","commonType":"array","isArray":true,"model":"NetworkZoneLocation"},{"propertyName":"name","commonType":"string"},{"propertyName":"proxies","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"propertyName":"proxyType","commonType":"string"},{"$ref":"#/definitions/NetworkZoneStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"NetworkZoneStatus"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/NetworkZoneType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneType"},{"$ref":"#/definitions/NetworkZoneUsage","propertyName":"usage","commonType":"enum","isEnum":true,"model":"NetworkZoneUsage"}],"methods":[{"alias":"activate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"deactivate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}}],"crud":[{"alias":"read","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"update","arguments":[{"dest":"zoneId","src":"id"},{"dest":"zone","self":true}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"}},{"alias":"delete","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]}}],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]},{"modelName":"NotificationType","enum":["CONNECTOR_AGENT","USER_LOCKED_OUT","APP_IMPORT","LDAP_AGENT","AD_AGENT","OKTA_ANNOUNCEMENT","OKTA_ISSUE","OKTA_UPDATE","IWA_AGENT","USER_DEPROVISION","REPORT_SUSPICIOUS_ACTIVITY","RATELIMIT_NOTIFICATION"],"tags":["Subscription"]},{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false}},{"modelName":"OAuthAuthorizationPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}},{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt","private_key_jwt"],"tags":["Application"]},{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials","saml2_bearer","device_code","token_exchange","interaction_code"],"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"},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","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"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"},{"$ref":"#/definitions/OpenIdConnectApplicationIdpInitiatedLogin","propertyName":"idp_initiated_login","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationIdpInitiatedLogin"},{"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"},{"propertyName":"wildcard_redirect","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]},{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]},{"modelName":"Org2OrgApplication","properties":[{"default":"okta_org2org","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/Org2OrgApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplication","parent":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"}},"resolution":{"fieldName":"name","fieldValue":"okta_org2org"}},{"modelName":"Org2OrgApplicationSettings","properties":[{"$ref":"#/definitions/Org2OrgApplicationSettingsApp","propertyName":"app","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettingsApp"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplicationSettings","parent":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"modelName":"Org2OrgApplicationSettingsApp","properties":[{"propertyName":"acsUrl","commonType":"string"},{"propertyName":"audRestriction","commonType":"string"},{"propertyName":"baseUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"OrgContactType","enum":["BILLING","TECHNICAL"],"tags":["Org"]},{"modelName":"OrgContactTypeObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"$ref":"#/definitions/OrgContactType","propertyName":"contactType","commonType":"enum","isEnum":true,"model":"OrgContactType"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgOktaCommunicationSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"optOutEmailUsers","commonType":"boolean"}],"methods":[{"alias":"optInUsersToOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"optOutUsersFromOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgOktaSupportSetting","enum":["DISABLED","ENABLED"],"tags":["Org"]},{"modelName":"OrgOktaSupportSettingsObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"expiration","commonType":"dateTime"},{"$ref":"#/definitions/OrgOktaSupportSetting","readOnly":true,"propertyName":"support","commonType":"enum","isEnum":true,"model":"OrgOktaSupportSetting"}],"methods":[{"alias":"extendOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"grantOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"revokeOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgPreferences","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"showEndUserFooter","commonType":"boolean"}],"methods":[{"alias":"hideEndUserFooter","operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showEndUserFooter","operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"propertyName":"address1","commonType":"string"},{"propertyName":"address2","commonType":"string"},{"propertyName":"city","commonType":"string"},{"propertyName":"companyName","commonType":"string"},{"propertyName":"country","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"endUserSupportHelpURL","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"phoneNumber","commonType":"string"},{"propertyName":"postalCode","commonType":"string"},{"propertyName":"state","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"subdomain","commonType":"string"},{"propertyName":"supportPhoneNumber","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}},{"alias":"getContactTypes","operation":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true}},{"alias":"getOrgContactUser","operation":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"}},{"alias":"getSupportSettings","operation":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"communicationSettings","operation":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"orgPreferences","operation":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"hideFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"updateOrgLogo","operation":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}}],"crud":[{"alias":"read","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"}},{"alias":"update","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}}],"tags":["Org"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]},{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"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"],"isExtensible":false},{"modelName":"PasswordSettingObject","properties":[{"$ref":"#/definitions/ChangeEnum","propertyName":"change","commonType":"enum","isEnum":true,"model":"ChangeEnum"},{"$ref":"#/definitions/SeedEnum","propertyName":"seed","commonType":"enum","isEnum":true,"model":"SeedEnum"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},{"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"],"isExtensible":false},{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]},{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]},{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY","PROFILE_ENROLLMENT","ACCESS_POLICY"],"tags":["Policy"]},{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PossessionConstraint","properties":[{"propertyName":"deviceBound","commonType":"string"},{"propertyName":"hardwareProtection","commonType":"string"},{"propertyName":"phishingResistant","commonType":"string"},{"propertyName":"userPresence","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PreRegistrationInlineHook","properties":[{"propertyName":"inlineHookId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}},{"modelName":"ProfileEnrollmentPolicyRule","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActions"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}},{"modelName":"ProfileEnrollmentPolicyRuleAction","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActivationRequirement","propertyName":"activationRequirements","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActivationRequirement"},{"propertyName":"preRegistrationInlineHooks","commonType":"array","isArray":true,"model":"PreRegistrationInlineHook"},{"propertyName":"profileAttributes","commonType":"array","isArray":true,"model":"ProfileEnrollmentPolicyRuleProfileAttribute"},{"propertyName":"targetGroupIds","commonType":"array","isArray":true,"model":"string"},{"propertyName":"uiSchemaId","commonType":"string"},{"propertyName":"unknownUserAction","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicyRuleActions","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleAction","propertyName":"profileEnrollment","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"ProfileEnrollmentPolicyRuleActivationRequirement","properties":[{"propertyName":"emailVerification","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicyRuleProfileAttribute","properties":[{"propertyName":"label","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileMapping","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"properties","commonType":"hash","isHash":true,"model":"ProfileMappingProperty"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"source","commonType":"object","isObject":true,"model":"ProfileMappingSource"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"target","commonType":"object","isObject":true,"model":"ProfileMappingSource"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"}},{"alias":"update","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileMappingPropertyPushStatus","enum":["PUSH","DONT_PUSH"],"tags":["ProfileMapping"]},{"modelName":"ProfileMappingSource","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]},{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ProvisioningConnection","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"$ref":"#/definitions/ProvisioningConnectionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionStatus"}],"methods":[{"alias":"getDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"}},{"alias":"activateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionAuthScheme","enum":["TOKEN","UNKNOWN"],"tags":["Application"]},{"modelName":"ProvisioningConnectionProfile","properties":[{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"propertyName":"token","commonType":"string"}],"methods":[{"alias":"setDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionRequest","properties":[{"$ref":"#/definitions/ProvisioningConnectionProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"ProvisioningConnectionProfile"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionStatus","enum":["DISABLED","ENABLED","UNKNOWN"],"tags":["Application"]},{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RequiredEnum","enum":["ALWAYS","HIGH_RISK_ONLY","NEVER"],"tags":["Authenticator"]},{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"ResponseLinks","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}}],"crud":[],"tags":["User"],"isExtensible":false},{"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","GROUP_MEMBERSHIP_ADMIN"],"tags":["Role"]},{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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":"inlineHooks","commonType":"array","isArray":true,"model":"SignOnInlineHook"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$ref":"#/definitions/SingleLogout","propertyName":"slo","commonType":"object","isObject":true,"model":"SingleLogout"},{"$ref":"#/definitions/SpCertificate","propertyName":"spCertificate","commonType":"object","isObject":true,"model":"SpCertificate"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false,"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"],"isExtensible":false}},{"modelName":"Scope","properties":[{"propertyName":"allowedOktaApps","commonType":"array","isArray":true,"model":"IframeEmbedScopeAllowedApps"},{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"ScopeType","enum":["CORS","REDIRECT","IFRAME_EMBED"],"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"SeedEnum","enum":["OKTA","RANDOM"],"tags":["Application"]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]}}],"tags":["Session"],"isExtensible":false},{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa","mca","sc"],"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"],"isExtensible":false},{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]},{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]},{"modelName":"SignInPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]},{"modelName":"SignOnInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]}}],"tags":["Template"],"isExtensible":false},{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"],"isExtensible":true},{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]},{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"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"},{"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Subscription","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"channels","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/NotificationType","propertyName":"notificationType","commonType":"enum","isEnum":true,"model":"NotificationType"},{"$ref":"#/definitions/SubscriptionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"SubscriptionStatus"}],"methods":[{"alias":"listRoleSubscriptions","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"getRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"getUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"listUserSubscriptions","operation":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"subscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"subscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"SubscriptionStatus","enum":["subscribed","unsubscribed"],"tags":["Role"]},{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"checkbox","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"Theme","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[{"alias":"uploadBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"}},{"alias":"update","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}}],"tags":["Brand"],"isExtensible":false},{"modelName":"ThemeResponse","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"readOnly":true,"propertyName":"favicon","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"logo","commonType":"string"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false},{"modelName":"ThreatInsightConfiguration","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"action","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"excludeZones","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"}],"methods":[],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"}},{"alias":"update","arguments":[{"dest":"threatInsightConfiguration","self":true}],"operation":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"],"isExtensible":false},{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleActionInlineHook","propertyName":"inlineHook","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleActionInlineHook"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"TokenAuthorizationServerPolicyRuleActionInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]}}],"tags":["TrustedOrigin"],"isExtensible":false},{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}},{"alias":"getRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},{"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["User"],"isExtensible":false},{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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":"UserIdString","properties":[{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false,"extends":"OrgContactUser","parent":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}},{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":true},{"modelName":"UserSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/UserSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"UserSchemaDefinitions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"pattern","commonType":"string"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeItems","properties":[{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMaster","properties":[{"propertyName":"priority","commonType":"array","isArray":true,"model":"UserSchemaAttributeMasterPriority"},{"$ref":"#/definitions/UserSchemaAttributeMasterType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeMasterType"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeScope","enum":["SELF","NONE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeType","enum":["string","boolean","number","integer","array"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeUnion","enum":["DISABLE","ENABLE"],"tags":["UserSchema"]},{"modelName":"UserSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/UserSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaBaseProperties","properties":[{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"city","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"costCenter","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"countryCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"department","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"displayName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"division","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"email","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"employeeNumber","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"firstName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificPrefix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificSuffix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"lastName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"locale","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"login","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"manager","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"managerId","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"middleName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"mobilePhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"nickName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"organization","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"postalAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"preferredLanguage","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"primaryPhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"profileUrl","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"secondEmail","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"state","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"streetAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"timezone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"title","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"userType","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"zipCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaDefinitions","properties":[{"$ref":"#/definitions/UserSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"UserSchemaBase"},{"$ref":"#/definitions/UserSchemaPublic","propertyName":"custom","commonType":"object","isObject":true,"model":"UserSchemaPublic"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPublic","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"UserSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"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"],"isExtensible":false},{"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":[{"alias":"replaceUserType","arguments":[{"dest":"roleId","src":"id"}],"operation":{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserType"],"isExtensible":false},{"modelName":"UserTypeCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserVerificationEnum","enum":["REQUIRED","PREFERRED"],"tags":["Authenticator"]},{"modelName":"VerificationMethod","properties":[{"propertyName":"constraints","commonType":"array","isArray":true,"model":"AccessPolicyConstraints"},{"propertyName":"factorMode","commonType":"string"},{"propertyName":"inactivityPeriod","commonType":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}],"version":"2.16.0"}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicy.go","context":{"operations":{},"model":{"modelName":"AccessPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyConstraint.go","context":{"operations":{},"model":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyConstraints.go","context":{"operations":{},"model":{"modelName":"AccessPolicyConstraints","properties":[{"$ref":"#/definitions/KnowledgeConstraint","propertyName":"knowledge","commonType":"object","isObject":true,"model":"KnowledgeConstraint"},{"$ref":"#/definitions/PossessionConstraint","propertyName":"possession","commonType":"object","isObject":true,"model":"PossessionConstraint"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRule.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRule","properties":[{"$ref":"#/definitions/AccessPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AccessPolicyRuleActions"},{"$ref":"#/definitions/AccessPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AccessPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleActions","properties":[{"$ref":"#/definitions/AccessPolicyRuleApplicationSignOn","propertyName":"appSignOn","commonType":"object","isObject":true,"model":"AccessPolicyRuleApplicationSignOn"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleApplicationSignOn.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleApplicationSignOn","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/VerificationMethod","propertyName":"verificationMethod","commonType":"object","isObject":true,"model":"VerificationMethod"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleConditions","properties":[{"$ref":"#/definitions/DeviceAccessPolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DeviceAccessPolicyRuleCondition"},{"$ref":"#/definitions/AccessPolicyRuleCustomCondition","propertyName":"elCondition","commonType":"object","isObject":true,"model":"AccessPolicyRuleCustomCondition"},{"$ref":"#/definitions/UserTypeCondition","propertyName":"userType","commonType":"object","isObject":true,"model":"UserTypeCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleCustomCondition.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleCustomCondition","properties":[{"propertyName":"condition","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/allowedForEnum.go","context":{"operations":{},"model":{"modelName":"AllowedForEnum","enum":["recovery","sso","any","none"],"tags":["Authenticator"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}}],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appUserPasswordCredential.go","context":{"operations":{},"model":{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"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","formData":[],"responseModel":"Application"},"getDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"},"setDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"},"activateDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"deactivateDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"responseModel":"JsonWebKey"},"listClientSecretsForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listClientSecretsForApplication","description":"Enumerates the client's collection of secrets","summary":"List client secrets","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ClientSecret"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret","isArray":true},"createNewClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"createNewClientSecretForApplication","description":"Adds a new secret to the client's collection of secrets.","summary":"Add new client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/ClientSecretMetadata"}}],"bodyModel":"ClientSecretMetadata","formData":[],"responseModel":"ClientSecret"},"deleteClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"deleteClientSecretForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[]},"getClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"getClientSecretForApplication","description":"Gets a specific client secret by secretId","summary":"Get client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},"activateClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"activateClientSecretForApplication","description":"Activates a specific client secret by secretId","summary":"Activate a client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},"deactivateClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"deactivateClientSecretForApplication","description":"Deactivates a specific client secret by secretId","summary":"Deactivate a client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},"listFeaturesForApplication":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true},"getFeatureForApplication":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"},"updateFeatureForApplication":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"uploadApplicationLogo":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},"updateApplicationPolicy":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"propertyName":"pkce_required","commonType":"boolean"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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":"pushStatus","commonType":"string"},{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationFeature.go","context":{"operations":{},"model":{"modelName":"ApplicationFeature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/CapabilitiesObject","propertyName":"capabilities","commonType":"object","isObject":true,"model":"CapabilitiesObject"},{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[{"alias":"listFeaturesForApplication","operation":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationLicensing.go","context":{"operations":{},"model":{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotes.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotes","properties":[{"propertyName":"admin","commonType":"string"},{"propertyName":"enduser","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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":"autoLaunch","commonType":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/authenticator.go","context":{"operations":{"getAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},"updateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},"listAuthenticators":{"path":"/api/v1/authenticators","method":"get","queryParams":[],"pathParams":[],"operationId":"listAuthenticators","description":"List Authenticators","summary":"Lists all available Authenticators","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Authenticator"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Authenticator","isArray":true},"createAuthenticator":{"path":"/api/v1/authenticators","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createAuthenticator","description":"Create Authenticator","summary":"Create an Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"query","name":"activate","type":"boolean"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},"activateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},"deactivateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},"model":{"modelName":"Authenticator","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"key","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticatorProvider"},{"$ref":"#/definitions/AuthenticatorSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AuthenticatorSettings"},{"$ref":"#/definitions/AuthenticatorStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"AuthenticatorStatus"},{"$ref":"#/definitions/AuthenticatorType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticatorType"}],"methods":[{"alias":"activate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"deactivate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"update","arguments":[{"dest":"authenticatorId","src":"id"},{"dest":"authenticator","self":true}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"}}],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProvider","properties":[{"$ref":"#/definitions/AuthenticatorProviderConfiguration","propertyName":"configuration","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfiguration"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProviderConfiguration.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProviderConfiguration","properties":[{"propertyName":"authPort","commonType":"integer"},{"propertyName":"host","commonType":"string"},{"propertyName":"hostName","commonType":"string"},{"propertyName":"instanceId","commonType":"string"},{"propertyName":"integrationKey","commonType":"string"},{"propertyName":"secretKey","commonType":"string"},{"propertyName":"sharedSecret","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProviderConfigurationUserNamePlate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfigurationUserNamePlate"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProviderConfigurationUserNamePlate.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProviderConfigurationUserNamePlate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorSettings.go","context":{"operations":{},"model":{"modelName":"AuthenticatorSettings","properties":[{"$ref":"#/definitions/AllowedForEnum","propertyName":"allowedFor","commonType":"enum","isEnum":true,"model":"AllowedForEnum"},{"propertyName":"appInstanceId","commonType":"string"},{"$ref":"#/definitions/ChannelBinding","propertyName":"channelBinding","commonType":"object","isObject":true,"model":"ChannelBinding"},{"$ref":"#/definitions/Compliance","propertyName":"compliance","commonType":"object","isObject":true,"model":"Compliance"},{"propertyName":"tokenLifetimeInMinutes","commonType":"integer"},{"$ref":"#/definitions/UserVerificationEnum","propertyName":"userVerification","commonType":"enum","isEnum":true,"model":"UserVerificationEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorStatus.go","context":{"operations":{},"model":{"modelName":"AuthenticatorStatus","enum":["ACTIVE","INACTIVE"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorType.go","context":{"operations":{},"model":{"modelName":"AuthenticatorType","enum":["app","password","security_question","phone","email","security_key","federated"],"tags":["Authenticator"]}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServer"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"activateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"listAuthorizationServerPolicyRules":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicyRules","description":"Enumerates all policy rules for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true},"createAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicyRule","description":"Creates a policy rule for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},"deleteAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"getAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicyRule","description":"Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"},"updateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},"activateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/authorizationServerPolicy.go","context":{"operations":{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"AuthorizationServerPolicy","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":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicyRules","description":"Enumerates all policy rules for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true}},{"alias":"createPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicyRule","description":"Creates a policy rule for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicyRule","description":"Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"deletePolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"delete","arguments":[{"dest":"policyId","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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRule.go","context":{"operations":{"updateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},"deleteAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"AuthorizationServerPolicyRule","properties":[{"$ref":"#/definitions/AuthorizationServerPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleActions"},{"$ref":"#/definitions/AuthorizationServerPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["RESOURCE_ACCESS"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerPolicyRuleConditions","properties":[{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"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"},{"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"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false}}},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/brand.go","context":{"operations":{"getBrand":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"},"updateBrand":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"},"listBrands":{"path":"/api/v1/brands","method":"get","queryParams":[],"pathParams":[],"operationId":"listBrands","description":"List all the brands in your org.","summary":"List Brands","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Brand"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Brand","isArray":true},"listEmailTemplates":{"path":"/api/v1/brands/{brandId}/templates/email","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listEmailTemplates","description":"List email templates in your organization with pagination.","summary":"List Email Templates","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplate"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"EmailTemplate","isArray":true},"getEmailTemplate":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"},"deleteEmailTemplateCustomizations":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]},"listEmailTemplateCustomizations":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true},"createEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},"deleteEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]},"getEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"},"updateEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},"getEmailTemplateCustomizationPreview":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"getEmailTemplateDefaultContent":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"getEmailTemplateDefaultContentPreview":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"sendTestEmail":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]},"listBrandThemes":{"path":"/api/v1/brands/{brandId}/themes","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listBrandThemes","description":"List all the themes in your brand","summary":"Get Brand Themes","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ThemeResponse"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse","isArray":true},"getBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},"updateBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"},"deleteBrandThemeBackgroundImage":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeBackgroundImage":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},"deleteBrandThemeFavicon":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeFavicon":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},"deleteBrandThemeLogo":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeLogo":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},"model":{"modelName":"Brand","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"agreeToCustomPrivacyPolicy","commonType":"boolean"},{"propertyName":"customPrivacyPolicyUrl","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"removePoweredByOkta","commonType":"boolean"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"brandId","src":"id"}],"operation":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"}},{"alias":"update","arguments":[{"dest":"brandId","src":"id"},{"dest":"brand","self":true}],"operation":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"}}],"tags":["Brand"],"isExtensible":false}}},{"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"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesCreateObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesCreateObject","properties":[{"$ref":"#/definitions/LifecycleCreateSettingObject","propertyName":"lifecycleCreate","commonType":"object","isObject":true,"model":"LifecycleCreateSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesObject","properties":[{"$ref":"#/definitions/CapabilitiesCreateObject","propertyName":"create","commonType":"object","isObject":true,"model":"CapabilitiesCreateObject"},{"$ref":"#/definitions/CapabilitiesUpdateObject","propertyName":"update","commonType":"object","isObject":true,"model":"CapabilitiesUpdateObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesUpdateObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesUpdateObject","properties":[{"$ref":"#/definitions/LifecycleDeactivateSettingObject","propertyName":"lifecycleDeactivate","commonType":"object","isObject":true,"model":"LifecycleDeactivateSettingObject"},{"$ref":"#/definitions/PasswordSettingObject","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordSettingObject"},{"$ref":"#/definitions/ProfileSettingObject","propertyName":"profile","commonType":"object","isObject":true,"model":"ProfileSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/changeEnum.go","context":{"operations":{},"model":{"modelName":"ChangeEnum","enum":["KEEP_EXISTING","CHANGE"],"tags":["Application"]}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/channelBinding.go","context":{"operations":{},"model":{"modelName":"ChannelBinding","properties":[{"$ref":"#/definitions/RequiredEnum","propertyName":"required","commonType":"enum","isEnum":true,"model":"RequiredEnum"},{"propertyName":"style","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/clientSecret.go","context":{"operations":{},"model":{"modelName":"ClientSecret","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"client_secret","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"secret_hash","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/clientSecretMetadata.go","context":{"operations":{},"model":{"modelName":"ClientSecretMetadata","properties":[{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/compliance.go","context":{"operations":{},"model":{"modelName":"Compliance","properties":[{"$ref":"#/definitions/FipsEnum","propertyName":"fips","commonType":"enum","isEnum":true,"model":"FipsEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/contextPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/createSessionRequest.go","context":{"operations":{},"model":{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/dnsRecord.go","context":{"operations":{},"model":{"modelName":"DNSRecord","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fqdn","commonType":"string"},{"$ref":"#/definitions/DNSRecordType","propertyName":"recordType","commonType":"enum","isEnum":true,"model":"DNSRecordType"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/dnsRecordType.go","context":{"operations":{},"model":{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/deviceAccessPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DeviceAccessPolicyRuleCondition","properties":[{"propertyName":"managed","commonType":"boolean"},{"propertyName":"registered","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"DevicePolicyRuleCondition","parent":{"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"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domain.go","context":{"operations":{"listDomains":{"path":"/api/v1/domains","method":"get","queryParams":[],"pathParams":[],"operationId":"listDomains","description":"List all verified custom Domains for the org.","summary":"List Domains","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DomainListResponse"}}},"parameters":[],"formData":[],"responseModel":"DomainListResponse"},"createDomain":{"path":"/api/v1/domains","method":"post","queryParams":[],"pathParams":[],"operationId":"createDomain","description":"Creates your domain.","summary":"Create Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","formData":[],"responseModel":"Domain"},"deleteDomain":{"path":"/api/v1/domains/{domainId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"deleteDomain","description":"Deletes a Domain by `id`.","summary":"Delete Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[]},"getDomain":{"path":"/api/v1/domains/{domainId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"getDomain","description":"Fetches a Domain by `id`.","summary":"Get Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},"createCertificate":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]},"verifyDomain":{"path":"/api/v1/domains/{domainId}/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"verifyDomain","description":"Verifies the Domain by `id`.","summary":"Verify Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"}},"model":{"modelName":"Domain","properties":[{"$ref":"#/definitions/DomainCertificateSourceType","propertyName":"certificateSourceType","commonType":"enum","isEnum":true,"model":"DomainCertificateSourceType"},{"propertyName":"dnsRecords","commonType":"array","isArray":true,"model":"DNSRecord"},{"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/DomainCertificateMetadata","propertyName":"publicCertificate","commonType":"object","isObject":true,"model":"DomainCertificateMetadata"},{"$ref":"#/definitions/DomainValidationStatus","propertyName":"validationStatus","commonType":"enum","isEnum":true,"model":"DomainValidationStatus"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificate.go","context":{"operations":{},"model":{"modelName":"DomainCertificate","properties":[{"propertyName":"certificate","commonType":"string"},{"propertyName":"certificateChain","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"$ref":"#/definitions/DomainCertificateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"DomainCertificateType"}],"methods":[{"alias":"createCertificate","arguments":[{"dest":"certificate","self":true}],"operation":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]}}],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateMetadata.go","context":{"operations":{},"model":{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateSourceType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateSourceType","enum":["MANUAL","OKTA_MANAGED"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainListResponse.go","context":{"operations":{},"model":{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainValidationStatus.go","context":{"operations":{},"model":{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","FAILED_TO_VERIFY","DOMAIN_TAKEN","COMPLETED"],"tags":["Domain"]}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplate.go","context":{"operations":{"getEmailTemplate":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},"model":{"modelName":"EmailTemplate","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"name","commonType":"string"}],"methods":[{"alias":"getEmailTemplate","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},{"alias":"deleteEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]}},{"alias":"listEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true}},{"alias":"createEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"deleteEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]}},{"alias":"getEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"updateEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"getEmailTemplateCustomizationPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContent","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContentPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"sendTestEmail","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}}],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateContent.go","context":{"operations":{},"model":{"modelName":"EmailTemplateContent","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"propertyName":"fromAddress","commonType":"string"},{"propertyName":"fromName","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateCustomization.go","context":{"operations":{},"model":{"modelName":"EmailTemplateCustomization","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateCustomizationRequest.go","context":{"operations":{},"model":{"modelName":"EmailTemplateCustomizationRequest","properties":[{"propertyName":"body","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateTestRequest.go","context":{"operations":{},"model":{"modelName":"EmailTemplateTestRequest","properties":[{"propertyName":"customizationId","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"EmailTemplateTouchPointVariant","enum":["OKTA_DEFAULT","FULL_THEME"],"tags":["Brand"]}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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/endUserDashboardTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"EndUserDashboardTouchPointVariant","enum":["OKTA_DEFAULT","WHITE_LOGO_BACKGROUND","FULL_THEME","LOGO_ON_FULL_WHITE_BACKGROUND"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/errorPageTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"ErrorPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]},"listEventHooks":{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EventHook"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["EventHook"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/factorProvider.go","context":{"operations":{},"model":{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM","APPLE"],"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","hotp","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"},"listFeatures":{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"}}],"tags":["Feature"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/fipsEnum.go","context":{"operations":{},"model":{"modelName":"FipsEnum","enum":["REQUIRED","OPTIONAL"],"tags":["Authenticator"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"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"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/GroupRule"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"getGroup":{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Fetches a group from your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},"assignRoleToGroup":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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":"boolean"}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Group"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":true}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}}],"tags":["GroupRule"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchema.go","context":{"operations":{"getGroupSchema":{"path":"/api/v1/meta/schemas/group/default","method":"get","queryParams":[],"pathParams":[],"operationId":"getGroupSchema","description":"Fetches the group schema","summary":"Fetches the group schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[],"formData":[],"responseModel":"GroupSchema"},"updateGroupSchema":{"path":"/api/v1/meta/schemas/group/default","method":"post","queryParams":[],"pathParams":[],"operationId":"updateGroupSchema","description":"Updates, adds ore removes one or more custom Group Profile properties in the schema","summary":"Updates, adds ore removes one or more custom Group Profile properties in the schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/GroupSchema"}}],"bodyModel":"GroupSchema","formData":[],"responseModel":"GroupSchema"}},"model":{"modelName":"GroupSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/GroupSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"GroupSchemaDefinitions"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaAttribute.go","context":{"operations":{},"model":{"modelName":"GroupSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaBase.go","context":{"operations":{},"model":{"modelName":"GroupSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/GroupSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"GroupSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaBaseProperties.go","context":{"operations":{},"model":{"modelName":"GroupSchemaBaseProperties","properties":[{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"description","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"},{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"name","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaCustom.go","context":{"operations":{},"model":{"modelName":"GroupSchemaCustom","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"GroupSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaDefinitions.go","context":{"operations":{},"model":{"modelName":"GroupSchemaDefinitions","properties":[{"$ref":"#/definitions/GroupSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"GroupSchemaBase"},{"$ref":"#/definitions/GroupSchemaCustom","propertyName":"custom","commonType":"object","isObject":true,"model":"GroupSchemaCustom"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"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","knownValues":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"]}],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]}}],"tags":["IdentityProvider"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"propertyName":"teamId","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/idpPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"IdpPolicyRuleAction","properties":[{"propertyName":"providers","commonType":"array","isArray":true,"model":"IdpPolicyRuleActionProvider"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/idpPolicyRuleActionProvider.go","context":{"operations":{},"model":{"modelName":"IdpPolicyRuleActionProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/iframeEmbedScopeAllowedApps.go","context":{"operations":{},"model":{"modelName":"IframeEmbedScopeAllowedApps","enum":["OKTA_ENDUSER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/imageUploadResponse.go","context":{"operations":{},"model":{"modelName":"ImageUploadResponse","properties":[{"readOnly":true,"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/InlineHook"},"type":"array"}}},"parameters":[{"in":"query","name":"type","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["InlineHook"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookPayload.go","context":{"operations":{},"model":{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":true}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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":false,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":false,"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":false,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":false,"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/knowledgeConstraint.go","context":{"operations":{},"model":{"modelName":"KnowledgeConstraint","properties":[],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleCreateSettingObject.go","context":{"operations":{},"model":{"modelName":"LifecycleCreateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleDeactivateSettingObject.go","context":{"operations":{},"model":{"modelName":"LifecycleDeactivateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]},"listLinkedObjectDefinitions":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LinkedObject"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]}}],"tags":["LinkedObject"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialProvider.go","context":{"operations":{},"model":{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY","APPLE"],"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LogEvent"},"type":"array"}}},"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"}],"formData":[],"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZone.go","context":{"operations":{"getNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},"updateNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},"deleteNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]},"listNetworkZones":{"path":"/api/v1/zones","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of network zones","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 zones by usage or id expression","in":"query","name":"filter","type":"string"}],"pathParams":[],"operationId":"listNetworkZones","description":"Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.","summary":"List Network Zones","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/NetworkZone"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of network zones","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 zones by usage or id expression","in":"query","name":"filter","type":"string"}],"formData":[],"responseModel":"NetworkZone","isArray":true},"createNetworkZone":{"path":"/api/v1/zones","method":"post","queryParams":[],"pathParams":[],"operationId":"createNetworkZone","description":"Adds a new network zone to your Okta organization.","summary":"Add Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},"activateNetworkZone":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},"deactivateNetworkZone":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},"model":{"modelName":"NetworkZone","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"asns","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"gateways","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"locations","commonType":"array","isArray":true,"model":"NetworkZoneLocation"},{"propertyName":"name","commonType":"string"},{"propertyName":"proxies","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"propertyName":"proxyType","commonType":"string"},{"$ref":"#/definitions/NetworkZoneStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"NetworkZoneStatus"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/NetworkZoneType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneType"},{"$ref":"#/definitions/NetworkZoneUsage","propertyName":"usage","commonType":"enum","isEnum":true,"model":"NetworkZoneUsage"}],"methods":[{"alias":"activate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"deactivate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}}],"crud":[{"alias":"read","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"update","arguments":[{"dest":"zoneId","src":"id"},{"dest":"zone","self":true}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"}},{"alias":"delete","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]}}],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneAddress.go","context":{"operations":{},"model":{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneAddressType.go","context":{"operations":{},"model":{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneLocation.go","context":{"operations":{},"model":{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneStatus.go","context":{"operations":{},"model":{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneType.go","context":{"operations":{},"model":{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneUsage.go","context":{"operations":{},"model":{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/notificationType.go","context":{"operations":{},"model":{"modelName":"NotificationType","enum":["CONNECTOR_AGENT","USER_LOCKED_OUT","APP_IMPORT","LDAP_AGENT","AD_AGENT","OKTA_ANNOUNCEMENT","OKTA_ISSUE","OKTA_UPDATE","IWA_AGENT","USER_DEPROVISION","REPORT_SUSPICIOUS_ACTIVITY","RATELIMIT_NOTIFICATION"],"tags":["Subscription"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false,"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"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthAuthorizationPolicy.go","context":{"operations":{},"model":{"modelName":"OAuthAuthorizationPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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","private_key_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","saml2_bearer","device_code","token_exchange","interaction_code"],"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"},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","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"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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/openIdConnectApplicationIdpInitiatedLogin.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"},{"$ref":"#/definitions/OpenIdConnectApplicationIdpInitiatedLogin","propertyName":"idp_initiated_login","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationIdpInitiatedLogin"},{"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"},{"propertyName":"wildcard_redirect","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/org2OrgApplication.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplication","properties":[{"default":"okta_org2org","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/Org2OrgApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplication","parent":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"}},"resolution":{"fieldName":"name","fieldValue":"okta_org2org"}}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplicationSettings.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplicationSettings","properties":[{"$ref":"#/definitions/Org2OrgApplicationSettingsApp","propertyName":"app","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettingsApp"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplicationSettings","parent":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplicationSettingsApp.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplicationSettingsApp","properties":[{"propertyName":"acsUrl","commonType":"string"},{"propertyName":"audRestriction","commonType":"string"},{"propertyName":"baseUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactType.go","context":{"operations":{},"model":{"modelName":"OrgContactType","enum":["BILLING","TECHNICAL"],"tags":["Org"]}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactTypeObj.go","context":{"operations":{},"model":{"modelName":"OrgContactTypeObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"$ref":"#/definitions/OrgContactType","propertyName":"contactType","commonType":"enum","isEnum":true,"model":"OrgContactType"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactUser.go","context":{"operations":{},"model":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaCommunicationSetting.go","context":{"operations":{},"model":{"modelName":"OrgOktaCommunicationSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"optOutEmailUsers","commonType":"boolean"}],"methods":[{"alias":"optInUsersToOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"optOutUsersFromOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaSupportSetting.go","context":{"operations":{},"model":{"modelName":"OrgOktaSupportSetting","enum":["DISABLED","ENABLED"],"tags":["Org"]}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaSupportSettingsObj.go","context":{"operations":{},"model":{"modelName":"OrgOktaSupportSettingsObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"expiration","commonType":"dateTime"},{"$ref":"#/definitions/OrgOktaSupportSetting","readOnly":true,"propertyName":"support","commonType":"enum","isEnum":true,"model":"OrgOktaSupportSetting"}],"methods":[{"alias":"extendOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"grantOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"revokeOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgPreferences.go","context":{"operations":{},"model":{"modelName":"OrgPreferences","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"showEndUserFooter","commonType":"boolean"}],"methods":[{"alias":"hideEndUserFooter","operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showEndUserFooter","operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgSetting.go","context":{"operations":{"getOrgSettings":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"},"updateOrgSetting":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},"partialUpdateOrgSetting":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},"getOrgContactTypes":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true},"getOrgContactUser":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"},"updateOrgContactUser":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"},"updateOrgLogo":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},"getOrgPreferences":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"hideOktaUIFooter":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"showOktaUIFooter":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"getOktaCommunicationSettings":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"optInUsersToOktaCommunicationEmails":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"optOutUsersFromOktaCommunicationEmails":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"getOrgOktaSupportSettings":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"extendOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"grantOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"revokeOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},"model":{"modelName":"OrgSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"propertyName":"address1","commonType":"string"},{"propertyName":"address2","commonType":"string"},{"propertyName":"city","commonType":"string"},{"propertyName":"companyName","commonType":"string"},{"propertyName":"country","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"endUserSupportHelpURL","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"phoneNumber","commonType":"string"},{"propertyName":"postalCode","commonType":"string"},{"propertyName":"state","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"subdomain","commonType":"string"},{"propertyName":"supportPhoneNumber","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}},{"alias":"getContactTypes","operation":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true}},{"alias":"getOrgContactUser","operation":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"}},{"alias":"getSupportSettings","operation":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"communicationSettings","operation":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"orgPreferences","operation":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"hideFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"updateOrgLogo","operation":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}}],"crud":[{"alias":"read","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"}},{"alias":"update","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}}],"tags":["Org"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false}}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettingsOptions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","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"],"isExtensible":false}}},{"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"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordSettingObject.go","context":{"operations":{},"model":{"modelName":"PasswordSettingObject","properties":[{"$ref":"#/definitions/ChangeEnum","propertyName":"change","commonType":"enum","isEnum":true,"model":"ChangeEnum"},{"$ref":"#/definitions/SeedEnum","propertyName":"seed","commonType":"enum","isEnum":true,"model":"SeedEnum"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Policy"},"type":"array"}}},"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActionsEnroll.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActionsEnrollSelf.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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","PROFILE_ENROLLMENT","ACCESS_POLICY"],"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/possessionConstraint.go","context":{"operations":{},"model":{"modelName":"PossessionConstraint","properties":[{"propertyName":"deviceBound","commonType":"string"},{"propertyName":"hardwareProtection","commonType":"string"},{"propertyName":"phishingResistant","commonType":"string"},{"propertyName":"userPresence","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/preRegistrationInlineHook.go","context":{"operations":{},"model":{"modelName":"PreRegistrationInlineHook","properties":[{"propertyName":"inlineHookId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicy.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRule.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRule","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActions"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleAction","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActivationRequirement","propertyName":"activationRequirements","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActivationRequirement"},{"propertyName":"preRegistrationInlineHooks","commonType":"array","isArray":true,"model":"PreRegistrationInlineHook"},{"propertyName":"profileAttributes","commonType":"array","isArray":true,"model":"ProfileEnrollmentPolicyRuleProfileAttribute"},{"propertyName":"targetGroupIds","commonType":"array","isArray":true,"model":"string"},{"propertyName":"uiSchemaId","commonType":"string"},{"propertyName":"unknownUserAction","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleActions","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleAction","propertyName":"profileEnrollment","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleActivationRequirement.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleActivationRequirement","properties":[{"propertyName":"emailVerification","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleProfileAttribute.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleProfileAttribute","properties":[{"propertyName":"label","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMapping.go","context":{"operations":{"getProfileMapping":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"},"updateProfileMapping":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"},"listProfileMappings":{"path":"/api/v1/mappings","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"pathParams":[],"operationId":"listProfileMappings","description":"Enumerates Profile Mappings in your organization with pagination.","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ProfileMapping"},"type":"array"}}},"parameters":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"formData":[],"responseModel":"ProfileMapping","isArray":true}},"model":{"modelName":"ProfileMapping","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"properties","commonType":"hash","isHash":true,"model":"ProfileMappingProperty"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"source","commonType":"object","isObject":true,"model":"ProfileMappingSource"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"target","commonType":"object","isObject":true,"model":"ProfileMappingSource"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"}},{"alias":"update","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingProperty.go","context":{"operations":{},"model":{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingPropertyPushStatus.go","context":{"operations":{},"model":{"modelName":"ProfileMappingPropertyPushStatus","enum":["PUSH","DONT_PUSH"],"tags":["ProfileMapping"]}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingSource.go","context":{"operations":{},"model":{"modelName":"ProfileMappingSource","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileSettingObject.go","context":{"operations":{},"model":{"modelName":"ProfileSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnection.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnection","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"$ref":"#/definitions/ProvisioningConnectionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionStatus"}],"methods":[{"alias":"getDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"}},{"alias":"activateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionAuthScheme.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionAuthScheme","enum":["TOKEN","UNKNOWN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionProfile.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionProfile","properties":[{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"propertyName":"token","commonType":"string"}],"methods":[{"alias":"setDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionRequest.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionRequest","properties":[{"$ref":"#/definitions/ProvisioningConnectionProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"ProvisioningConnectionProfile"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionStatus.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionStatus","enum":["DISABLED","ENABLED","UNKNOWN"],"tags":["Application"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/requiredEnum.go","context":{"operations":{},"model":{"modelName":"RequiredEnum","enum":["ALWAYS","HIGH_RISK_ONLY","NEVER"],"tags":["Authenticator"]}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/responseLinks.go","context":{"operations":{},"model":{"modelName":"ResponseLinks","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/riskScorePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}}],"crud":[],"tags":["User"],"isExtensible":false}}},{"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","GROUP_MEMBERSHIP_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"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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":"inlineHooks","commonType":"array","isArray":true,"model":"SignOnInlineHook"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$ref":"#/definitions/SingleLogout","propertyName":"slo","commonType":"object","isObject":true,"model":"SingleLogout"},{"$ref":"#/definitions/SpCertificate","propertyName":"spCertificate","commonType":"object","isObject":true,"model":"SpCertificate"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false,"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"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/scope.go","context":{"operations":{},"model":{"modelName":"Scope","properties":[{"propertyName":"allowedOktaApps","commonType":"array","isArray":true,"model":"IframeEmbedScopeAllowedApps"},{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/scopeType.go","context":{"operations":{},"model":{"modelName":"ScopeType","enum":["CORS","REDIRECT","IFRAME_EMBED"],"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/seedEnum.go","context":{"operations":{},"model":{"modelName":"SeedEnum","enum":["OKTA","RANDOM"],"tags":["Application"]}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]}}],"tags":["Session"],"isExtensible":false}}},{"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","mca","sc"],"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"],"isExtensible":false}}},{"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/signInPageTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"SignInPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/signOnInlineHook.go","context":{"operations":{},"model":{"modelName":"SignOnInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/singleLogout.go","context":{"operations":{},"model":{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SmsTemplate"},"type":"array"}}},"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]}}],"tags":["Template"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateTranslations.go","context":{"operations":{},"model":{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"],"isExtensible":true}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"},{"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/spCertificate.go","context":{"operations":{},"model":{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/subscription.go","context":{"operations":{"listRoleSubscriptions":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},"getRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},"subscribeRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"unsubscribeRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"subscribeUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"unsubscribeUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"Subscription","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"channels","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/NotificationType","propertyName":"notificationType","commonType":"enum","isEnum":true,"model":"NotificationType"},{"$ref":"#/definitions/SubscriptionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"SubscriptionStatus"}],"methods":[{"alias":"listRoleSubscriptions","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"getRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"getUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"listUserSubscriptions","operation":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"subscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"subscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/subscriptionStatus.go","context":{"operations":{},"model":{"modelName":"SubscriptionStatus","enum":["subscribed","unsubscribed"],"tags":["Role"]}}},{"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"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"checkbox","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/theme.go","context":{"operations":{"getBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},"updateBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}},"model":{"modelName":"Theme","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[{"alias":"uploadBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"}},{"alias":"update","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}}],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/themeResponse.go","context":{"operations":{},"model":{"modelName":"ThemeResponse","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"readOnly":true,"propertyName":"favicon","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"logo","commonType":"string"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/threatInsightConfiguration.go","context":{"operations":{"getCurrentConfiguration":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"},"updateConfiguration":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}},"model":{"modelName":"ThreatInsightConfiguration","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"action","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"excludeZones","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"}],"methods":[],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"}},{"alias":"update","arguments":[{"dest":"threatInsightConfiguration","self":true}],"operation":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleActionInlineHook","propertyName":"inlineHook","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleActionInlineHook"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleActionInlineHook.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleActionInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/TrustedOrigin"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]}}],"tags":["TrustedOrigin"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"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 that do not have a status of 'DEPROVISIONED' (by default), up to the maximum (200 for most orgs), 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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"Success"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},"assignRoleToUser":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"getUserRole":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"listUserSubscriptions":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},"getUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}},{"alias":"getRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},{"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["User"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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/userIdString.go","context":{"operations":{},"model":{"modelName":"UserIdString","properties":[{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false,"extends":"OrgContactUser","parent":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentityProviderLinkRequest.go","context":{"operations":{},"model":{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/userSchema.go","context":{"operations":{"getApplicationUserSchema":{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"getApplicationUserSchema","description":"Fetches the Schema for an App User","summary":"Fetches the Schema for an App User","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},"updateApplicationUserProfile":{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"updateApplicationUserProfile","description":"Partial updates on the User Profile properties of the Application User Schema.","summary":"Partial updates on the User Profile properties of the Application User Schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},"getUserSchema":{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"getUserSchema","description":"Fetches the schema for a Schema Id.","summary":"Fetches the schema for a Schema Id.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},"updateUserProfile":{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"updateUserProfile","description":"Partial updates on the User Profile properties of the user schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"}},"model":{"modelName":"UserSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/UserSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"UserSchemaDefinitions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttribute.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"pattern","commonType":"string"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeEnum.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeItems.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeItems","properties":[{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMaster.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMaster","properties":[{"propertyName":"priority","commonType":"array","isArray":true,"model":"UserSchemaAttributeMasterPriority"},{"$ref":"#/definitions/UserSchemaAttributeMasterType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeMasterType"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterPriority.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterType.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributePermission.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeScope.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeScope","enum":["SELF","NONE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeType.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeType","enum":["string","boolean","number","integer","array"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeUnion.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeUnion","enum":["DISABLE","ENABLE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaBase.go","context":{"operations":{},"model":{"modelName":"UserSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/UserSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaBaseProperties.go","context":{"operations":{},"model":{"modelName":"UserSchemaBaseProperties","properties":[{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"city","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"costCenter","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"countryCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"department","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"displayName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"division","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"email","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"employeeNumber","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"firstName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificPrefix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificSuffix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"lastName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"locale","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"login","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"manager","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"managerId","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"middleName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"mobilePhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"nickName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"organization","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"postalAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"preferredLanguage","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"primaryPhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"profileUrl","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"secondEmail","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"state","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"streetAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"timezone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"title","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"userType","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"zipCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaDefinitions.go","context":{"operations":{},"model":{"modelName":"UserSchemaDefinitions","properties":[{"$ref":"#/definitions/UserSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"UserSchemaBase"},{"$ref":"#/definitions/UserSchemaPublic","propertyName":"custom","commonType":"object","isObject":true,"model":"UserSchemaPublic"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaProperties.go","context":{"operations":{},"model":{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfile.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfileItem.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPublic.go","context":{"operations":{},"model":{"modelName":"UserSchemaPublic","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"UserSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserType"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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":[{"alias":"replaceUserType","arguments":[{"dest":"roleId","src":"id"}],"operation":{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserType"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userTypeCondition.go","context":{"operations":{},"model":{"modelName":"UserTypeCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userVerificationEnum.go","context":{"operations":{},"model":{"modelName":"UserVerificationEnum","enum":["REQUIRED","PREFERRED"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/verificationMethod.go","context":{"operations":{},"model":{"modelName":"VerificationMethod","properties":[{"propertyName":"constraints","commonType":"array","isArray":true,"model":"AccessPolicyConstraints"},{"propertyName":"factorMode","commonType":"string"},{"propertyName":"inactivityPeriod","commonType":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}}] \ 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":"kid","type":"string"},{"name":"query_scope","type":"string"},{"name":"sendEmail","type":"bool"},{"name":"cursor","type":"string"},{"name":"mode","type":"string"},{"name":"search","type":"string"},{"name":"removeUsers","type":"bool"},{"name":"disableNotifications","type":"bool"},{"name":"type","type":"string"},{"name":"targetIdpId","type":"string"},{"name":"since","type":"string"},{"name":"until","type":"string"},{"name":"sortOrder","type":"string"},{"name":"sourceId","type":"string"},{"name":"targetId","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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"},{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"},{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/secrets","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listClientSecretsForApplication","description":"Enumerates the client's collection of secrets","summary":"List client secrets","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ClientSecret"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/secrets","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"createNewClientSecretForApplication","description":"Adds a new secret to the client's collection of secrets.","summary":"Add new client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/ClientSecretMetadata"}}],"bodyModel":"ClientSecretMetadata","formData":[],"responseModel":"ClientSecret"},{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"deleteClientSecretForApplication","description":"Removes a secret from the client's collection of secrets.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"getClientSecretForApplication","description":"Gets a specific client secret by secretId","summary":"Get client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"activateClientSecretForApplication","description":"Activates a specific client secret by secretId","summary":"Activate a client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"deactivateClientSecretForApplication","description":"Deactivates a specific client secret by secretId","summary":"Deactivate a client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true},{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"},{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/sso/saml/metadata","method":"get","queryParams":[{"description":"unique key identifier of an Application Key Credential","in":"query","name":"kid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"previewSAMLAppMetadata","description":"Previews SAML metadata based on a specific key credential for an application","tags":["Application"],"consumes":["application/json"],"produces":["application/xml"],"responses":{"200":{"description":"Success","schema":{"properties":{"EntityDescriptor":{"properties":{"IDPSSODescriptor":{"properties":{"KeyDescriptor":{"properties":{"KeyInfo":{"properties":{"X509Data":{"properties":{"X509Certificate":{"type":"string"}},"type":"object"}},"type":"object"},"use":{"type":"string","xml":{"attribute":true}}},"type":"object"},"NameIDFormat":{"items":{"type":"string"},"type":"array"},"SingleLogoutService":{"items":{"type":"string"},"properties":{"Binding":{"type":"string","xml":{"attribute":true}},"Location":{"type":"string","xml":{"attribute":true}}},"type":"array"},"SingleSignOnService":{"items":{"type":"string"},"properties":{"Binding":{"type":"string","xml":{"attribute":true}},"Location":{"type":"string","xml":{"attribute":true}}},"type":"array"},"WantAuthnRequestsSigned":{"type":"boolean","xml":{"attribute":true}},"protocolSupportEnumeration":{"type":"string","xml":{"attribute":true}}},"type":"object"},"entityID":{"type":"string","xml":{"attribute":true}}},"type":"object"}},"type":"object"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"description":"unique key identifier of an Application Key Credential","in":"query","name":"kid","required":true,"type":"string"}],"formData":[],"returnType":"object"},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"responseModel":"AppUser"},{"path":"/api/v1/authenticators","method":"get","queryParams":[],"pathParams":[],"operationId":"listAuthenticators","description":"List Authenticators","summary":"Lists all available Authenticators","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Authenticator"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Authenticator","isArray":true},{"path":"/api/v1/authenticators","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createAuthenticator","description":"Create Authenticator","summary":"Create an Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"query","name":"activate","type":"boolean"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServer"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"AuthorizationServer","isArray":true},{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicyRules","description":"Enumerates all policy rules for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicyRule","description":"Creates a policy rule for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicyRule","description":"Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"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","formData":[],"responseModel":"OAuth2Scope"},{"path":"/api/v1/brands","method":"get","queryParams":[],"pathParams":[],"operationId":"listBrands","description":"List all the brands in your org.","summary":"List Brands","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Brand"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Brand","isArray":true},{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"},{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"},{"path":"/api/v1/brands/{brandId}/templates/email","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listEmailTemplates","description":"List email templates in your organization with pagination.","summary":"List Email Templates","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplate"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"EmailTemplate","isArray":true},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]},{"path":"/api/v1/brands/{brandId}/themes","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listBrandThemes","description":"List all the themes in your brand","summary":"Get Brand Themes","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ThemeResponse"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse","isArray":true},{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/domains","method":"get","queryParams":[],"pathParams":[],"operationId":"listDomains","description":"List all verified custom Domains for the org.","summary":"List Domains","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DomainListResponse"}}},"parameters":[],"formData":[],"responseModel":"DomainListResponse"},{"path":"/api/v1/domains","method":"post","queryParams":[],"pathParams":[],"operationId":"createDomain","description":"Creates your domain.","summary":"Create Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","formData":[],"responseModel":"Domain"},{"path":"/api/v1/domains/{domainId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"deleteDomain","description":"Deletes a Domain by `id`.","summary":"Delete Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/domains/{domainId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"getDomain","description":"Fetches a Domain by `id`.","summary":"Get Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]},{"path":"/api/v1/domains/{domainId}/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"verifyDomain","description":"Verifies the Domain by `id`.","summary":"Verify Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EventHook"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"EventHook","isArray":true},{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"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"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/GroupRule"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Fetches a group from your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/InlineHook"},"type":"array"}}},"parameters":[{"in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"InlineHook","isArray":true},{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LogEvent"},"type":"array"}}},"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"}],"formData":[],"responseModel":"LogEvent","isArray":true},{"path":"/api/v1/mappings","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"pathParams":[],"operationId":"listProfileMappings","description":"Enumerates Profile Mappings in your organization with pagination.","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ProfileMapping"},"type":"array"}}},"parameters":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"formData":[],"responseModel":"ProfileMapping","isArray":true},{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"},{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"},{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"getApplicationUserSchema","description":"Fetches the Schema for an App User","summary":"Fetches the Schema for an App User","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"updateApplicationUserProfile","description":"Partial updates on the User Profile properties of the Application User Schema.","summary":"Partial updates on the User Profile properties of the Application User Schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/group/default","method":"get","queryParams":[],"pathParams":[],"operationId":"getGroupSchema","description":"Fetches the group schema","summary":"Fetches the group schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[],"formData":[],"responseModel":"GroupSchema"},{"path":"/api/v1/meta/schemas/group/default","method":"post","queryParams":[],"pathParams":[],"operationId":"updateGroupSchema","description":"Updates, adds ore removes one or more custom Group Profile properties in the schema","summary":"Updates, adds ore removes one or more custom Group Profile properties in the schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/GroupSchema"}}],"bodyModel":"GroupSchema","formData":[],"responseModel":"GroupSchema"},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LinkedObject"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"getUserSchema","description":"Fetches the schema for a Schema Id.","summary":"Fetches the schema for a Schema Id.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"updateUserProfile","description":"Partial updates on the User Profile properties of the user schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserType"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true},{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"},{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"},{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Policy"},"type":"array"}}},"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SmsTemplate"},"type":"array"}}},"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"},{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/TrustedOrigin"},"type":"array"}}},"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"}],"formData":[],"responseModel":"TrustedOrigin","isArray":true},{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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 that do not have a status of 'DEPROVISIONED' (by default), up to the maximum (200 for most orgs), 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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"204":{"description":"Success"}},"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"}],"formData":[]},{"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"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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":"Update a user's profile or credentials with partial update semantics.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/zones","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of network zones","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 zones by usage or id expression","in":"query","name":"filter","type":"string"}],"pathParams":[],"operationId":"listNetworkZones","description":"Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.","summary":"List Network Zones","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/NetworkZone"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of network zones","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 zones by usage or id expression","in":"query","name":"filter","type":"string"}],"formData":[],"responseModel":"NetworkZone","isArray":true},{"path":"/api/v1/zones","method":"post","queryParams":[],"pathParams":[],"operationId":"createNetworkZone","description":"Adds a new network zone to your Okta organization.","summary":"Add Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}],"models":[{"modelName":"AccessPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}},{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyConstraints","properties":[{"$ref":"#/definitions/KnowledgeConstraint","propertyName":"knowledge","commonType":"object","isObject":true,"model":"KnowledgeConstraint"},{"$ref":"#/definitions/PossessionConstraint","propertyName":"possession","commonType":"object","isObject":true,"model":"PossessionConstraint"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyRule","properties":[{"$ref":"#/definitions/AccessPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AccessPolicyRuleActions"},{"$ref":"#/definitions/AccessPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AccessPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}},{"modelName":"AccessPolicyRuleActions","properties":[{"$ref":"#/definitions/AccessPolicyRuleApplicationSignOn","propertyName":"appSignOn","commonType":"object","isObject":true,"model":"AccessPolicyRuleApplicationSignOn"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"AccessPolicyRuleApplicationSignOn","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/VerificationMethod","propertyName":"verificationMethod","commonType":"object","isObject":true,"model":"VerificationMethod"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyRuleConditions","properties":[{"$ref":"#/definitions/DeviceAccessPolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DeviceAccessPolicyRuleCondition"},{"$ref":"#/definitions/AccessPolicyRuleCustomCondition","propertyName":"elCondition","commonType":"object","isObject":true,"model":"AccessPolicyRuleCustomCondition"},{"$ref":"#/definitions/UserTypeCondition","propertyName":"userType","commonType":"object","isObject":true,"model":"UserTypeCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"modelName":"AccessPolicyRuleCustomCondition","properties":[{"propertyName":"condition","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"AllowedForEnum","enum":["recovery","sso","any","none"],"tags":["Authenticator"]},{"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"],"isExtensible":false},{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}}],"tags":["Application"],"isExtensible":false},{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"propertyName":"pkce_required","commonType":"boolean"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"pushStatus","commonType":"string"},{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationFeature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/CapabilitiesObject","propertyName":"capabilities","commonType":"object","isObject":true,"model":"CapabilitiesObject"},{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[{"alias":"listFeaturesForApplication","operation":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true}}],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotes","properties":[{"propertyName":"admin","commonType":"string"},{"propertyName":"enduser","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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":"autoLaunch","commonType":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]},{"modelName":"Authenticator","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"key","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticatorProvider"},{"$ref":"#/definitions/AuthenticatorSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AuthenticatorSettings"},{"$ref":"#/definitions/AuthenticatorStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"AuthenticatorStatus"},{"$ref":"#/definitions/AuthenticatorType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticatorType"}],"methods":[{"alias":"activate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"deactivate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"update","arguments":[{"dest":"authenticatorId","src":"id"},{"dest":"authenticator","self":true}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"}}],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProvider","properties":[{"$ref":"#/definitions/AuthenticatorProviderConfiguration","propertyName":"configuration","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfiguration"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProviderConfiguration","properties":[{"propertyName":"authPort","commonType":"integer"},{"propertyName":"host","commonType":"string"},{"propertyName":"hostName","commonType":"string"},{"propertyName":"instanceId","commonType":"string"},{"propertyName":"integrationKey","commonType":"string"},{"propertyName":"secretKey","commonType":"string"},{"propertyName":"sharedSecret","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProviderConfigurationUserNamePlate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfigurationUserNamePlate"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProviderConfigurationUserNamePlate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorSettings","properties":[{"$ref":"#/definitions/AllowedForEnum","propertyName":"allowedFor","commonType":"enum","isEnum":true,"model":"AllowedForEnum"},{"propertyName":"appInstanceId","commonType":"string"},{"$ref":"#/definitions/ChannelBinding","propertyName":"channelBinding","commonType":"object","isObject":true,"model":"ChannelBinding"},{"$ref":"#/definitions/Compliance","propertyName":"compliance","commonType":"object","isObject":true,"model":"Compliance"},{"propertyName":"tokenLifetimeInMinutes","commonType":"integer"},{"$ref":"#/definitions/UserVerificationEnum","propertyName":"userVerification","commonType":"enum","isEnum":true,"model":"UserVerificationEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorStatus","enum":["ACTIVE","INACTIVE"],"tags":["Authenticator"]},{"modelName":"AuthenticatorType","enum":["app","password","security_question","phone","email","security_key","federated"],"tags":["Authenticator"]},{"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"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL","DYNAMIC"],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerPolicy","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":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicyRules","description":"Enumerates all policy rules for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true}},{"alias":"createPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicyRule","description":"Creates a policy rule for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicyRule","description":"Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"deletePolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"delete","arguments":[{"dest":"policyId","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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRule","properties":[{"$ref":"#/definitions/AuthorizationServerPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleActions"},{"$ref":"#/definitions/AuthorizationServerPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["RESOURCE_ACCESS"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRuleConditions","properties":[{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"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"},{"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"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false},{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"Brand","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"agreeToCustomPrivacyPolicy","commonType":"boolean"},{"propertyName":"customPrivacyPolicyUrl","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"removePoweredByOkta","commonType":"boolean"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"brandId","src":"id"}],"operation":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"}},{"alias":"update","arguments":[{"dest":"brandId","src":"id"},{"dest":"brand","self":true}],"operation":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"}}],"tags":["Brand"],"isExtensible":false},{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"CapabilitiesCreateObject","properties":[{"$ref":"#/definitions/LifecycleCreateSettingObject","propertyName":"lifecycleCreate","commonType":"object","isObject":true,"model":"LifecycleCreateSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CapabilitiesObject","properties":[{"$ref":"#/definitions/CapabilitiesCreateObject","propertyName":"create","commonType":"object","isObject":true,"model":"CapabilitiesCreateObject"},{"$ref":"#/definitions/CapabilitiesUpdateObject","propertyName":"update","commonType":"object","isObject":true,"model":"CapabilitiesUpdateObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CapabilitiesUpdateObject","properties":[{"$ref":"#/definitions/LifecycleDeactivateSettingObject","propertyName":"lifecycleDeactivate","commonType":"object","isObject":true,"model":"LifecycleDeactivateSettingObject"},{"$ref":"#/definitions/PasswordSettingObject","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordSettingObject"},{"$ref":"#/definitions/ProfileSettingObject","propertyName":"profile","commonType":"object","isObject":true,"model":"ProfileSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]},{"modelName":"ChangeEnum","enum":["KEEP_EXISTING","CHANGE"],"tags":["Application"]},{"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"],"isExtensible":false},{"modelName":"ChannelBinding","properties":[{"$ref":"#/definitions/RequiredEnum","propertyName":"required","commonType":"enum","isEnum":true,"model":"RequiredEnum"},{"propertyName":"style","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ClientSecret","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"client_secret","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"secret_hash","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ClientSecretMetadata","properties":[{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Compliance","properties":[{"$ref":"#/definitions/FipsEnum","propertyName":"fips","commonType":"enum","isEnum":true,"model":"FipsEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"DNSRecord","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fqdn","commonType":"string"},{"$ref":"#/definitions/DNSRecordType","propertyName":"recordType","commonType":"enum","isEnum":true,"model":"DNSRecordType"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]},{"modelName":"DeviceAccessPolicyRuleCondition","properties":[{"propertyName":"managed","commonType":"boolean"},{"propertyName":"registered","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"DevicePolicyRuleCondition","parent":{"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"],"isExtensible":false}},{"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"],"isExtensible":false},{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Domain","properties":[{"$ref":"#/definitions/DomainCertificateSourceType","propertyName":"certificateSourceType","commonType":"enum","isEnum":true,"model":"DomainCertificateSourceType"},{"propertyName":"dnsRecords","commonType":"array","isArray":true,"model":"DNSRecord"},{"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/DomainCertificateMetadata","propertyName":"publicCertificate","commonType":"object","isObject":true,"model":"DomainCertificateMetadata"},{"$ref":"#/definitions/DomainValidationStatus","propertyName":"validationStatus","commonType":"enum","isEnum":true,"model":"DomainValidationStatus"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificate","properties":[{"propertyName":"certificate","commonType":"string"},{"propertyName":"certificateChain","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"$ref":"#/definitions/DomainCertificateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"DomainCertificateType"}],"methods":[{"alias":"createCertificate","arguments":[{"dest":"certificate","self":true}],"operation":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]}}],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificateSourceType","enum":["MANUAL","OKTA_MANAGED"],"tags":["Domain"]},{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]},{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","FAILED_TO_VERIFY","DOMAIN_TAKEN","COMPLETED"],"tags":["Domain"]},{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"EmailTemplate","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"name","commonType":"string"}],"methods":[{"alias":"getEmailTemplate","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},{"alias":"deleteEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]}},{"alias":"listEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true}},{"alias":"createEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"deleteEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]}},{"alias":"getEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"updateEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"getEmailTemplateCustomizationPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContent","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContentPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"sendTestEmail","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}}],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateContent","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"propertyName":"fromAddress","commonType":"string"},{"propertyName":"fromName","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateCustomization","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateCustomizationRequest","properties":[{"propertyName":"body","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateTestRequest","properties":[{"propertyName":"customizationId","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateTouchPointVariant","enum":["OKTA_DEFAULT","FULL_THEME"],"tags":["Brand"]},{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]},{"modelName":"EndUserDashboardTouchPointVariant","enum":["OKTA_DEFAULT","WHITE_LOGO_BACKGROUND","FULL_THEME","LOGO_ON_FULL_WHITE_BACKGROUND"],"tags":["Brand"]},{"modelName":"ErrorPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["EventHook"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM","APPLE"],"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","hotp","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"}}],"tags":["Feature"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]},{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]},{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]},{"modelName":"FipsEnum","enum":["REQUIRED","OPTIONAL"],"tags":["Authenticator"]},{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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":"boolean"}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Group"],"isExtensible":false},{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"],"isExtensible":true},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}}],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"GroupSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/GroupSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"GroupSchemaDefinitions"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/GroupSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"GroupSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaBaseProperties","properties":[{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"description","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"},{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"name","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaCustom","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"GroupSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaDefinitions","properties":[{"$ref":"#/definitions/GroupSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"GroupSchemaBase"},{"$ref":"#/definitions/GroupSchemaCustom","propertyName":"custom","commonType":"object","isObject":true,"model":"GroupSchemaCustom"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"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","DYNAMIC"],"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","knownValues":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"]}],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]}}],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"propertyName":"teamId","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false},{"modelName":"IdpPolicyRuleAction","properties":[{"propertyName":"providers","commonType":"array","isArray":true,"model":"IdpPolicyRuleActionProvider"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IdpPolicyRuleActionProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IframeEmbedScopeAllowedApps","enum":["OKTA_ENDUSER"],"tags":["Role"]},{"modelName":"ImageUploadResponse","properties":[{"readOnly":true,"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false},{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["InlineHook"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":true},{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":false,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":false,"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":false,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":false,"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"],"isExtensible":false},{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"KnowledgeConstraint","properties":[],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"LifecycleCreateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"LifecycleDeactivateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]}}],"tags":["LinkedObject"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY","APPLE"],"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"MultifactorEnrollmentPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"MFA_ENROLL"}},{"modelName":"MultifactorEnrollmentPolicyAuthenticatorSettings","properties":[{"minimum":0,"properties":{"aaguidGroups":{"items":{"type":"string","uniqueItems":true},"type":"array"}},"x-okta-lifecycle":{"features":["WEBAUTHN_MDS_CATALOG_BASED_AAGUID_ALLOWLIST"]},"propertyName":"constraints","commonType":"object","isObject":true},{"properties":{"self":{"$ref":"#/definitions/MultifactorEnrollmentPolicyAuthenticatorStatus"}},"propertyName":"enroll","commonType":"object","isObject":true},{"$ref":"#/definitions/MultifactorEnrollmentPolicyAuthenticatorType","propertyName":"key","commonType":"enum","isEnum":true,"model":"MultifactorEnrollmentPolicyAuthenticatorType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"MultifactorEnrollmentPolicyAuthenticatorStatus","enum":["NOT_ALLOWED","OPTIONAL","REQUIRED"],"tags":["Policy"]},{"modelName":"MultifactorEnrollmentPolicyAuthenticatorType","enum":["custom_app","custom_otp","duo","external_idp","google_otp","okta_email","okta_password","okta_verify","onprem_mfa","phone_number","rsa_token","security_question","symantec_vip","webauthn","yubikey_token"],"tags":["Policy"]},{"modelName":"MultifactorEnrollmentPolicySettings","properties":[{"propertyName":"authenticators","commonType":"array","isArray":true,"model":"MultifactorEnrollmentPolicyAuthenticatorSettings"},{"$ref":"#/definitions/MultifactorEnrollmentPolicySettingsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"MultifactorEnrollmentPolicySettingsType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"MultifactorEnrollmentPolicySettingsType","enum":["AUTHENTICATORS"],"tags":["Policy"]},{"modelName":"NetworkZone","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"asns","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"gateways","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"locations","commonType":"array","isArray":true,"model":"NetworkZoneLocation"},{"propertyName":"name","commonType":"string"},{"propertyName":"proxies","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"propertyName":"proxyType","commonType":"string"},{"$ref":"#/definitions/NetworkZoneStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"NetworkZoneStatus"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/NetworkZoneType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneType"},{"$ref":"#/definitions/NetworkZoneUsage","propertyName":"usage","commonType":"enum","isEnum":true,"model":"NetworkZoneUsage"}],"methods":[{"alias":"activate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"deactivate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}}],"crud":[{"alias":"read","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"update","arguments":[{"dest":"zoneId","src":"id"},{"dest":"zone","self":true}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"}},{"alias":"delete","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]}}],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]},{"modelName":"NotificationType","enum":["CONNECTOR_AGENT","USER_LOCKED_OUT","APP_IMPORT","LDAP_AGENT","AD_AGENT","OKTA_ANNOUNCEMENT","OKTA_ISSUE","OKTA_UPDATE","IWA_AGENT","USER_DEPROVISION","REPORT_SUSPICIOUS_ACTIVITY","RATELIMIT_NOTIFICATION"],"tags":["Subscription"]},{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false}},{"modelName":"OAuthAuthorizationPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}},{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt","private_key_jwt"],"tags":["Application"]},{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials","saml2_bearer","device_code","token_exchange","interaction_code"],"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"},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","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"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL","DYNAMIC"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"},{"$ref":"#/definitions/OpenIdConnectApplicationIdpInitiatedLogin","propertyName":"idp_initiated_login","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationIdpInitiatedLogin"},{"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"},{"propertyName":"wildcard_redirect","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]},{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]},{"modelName":"Org2OrgApplication","properties":[{"default":"okta_org2org","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/Org2OrgApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplication","parent":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"}},"resolution":{"fieldName":"name","fieldValue":"okta_org2org"}},{"modelName":"Org2OrgApplicationSettings","properties":[{"$ref":"#/definitions/Org2OrgApplicationSettingsApp","propertyName":"app","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettingsApp"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplicationSettings","parent":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"modelName":"Org2OrgApplicationSettingsApp","properties":[{"propertyName":"acsUrl","commonType":"string"},{"propertyName":"audRestriction","commonType":"string"},{"propertyName":"baseUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"OrgContactType","enum":["BILLING","TECHNICAL"],"tags":["Org"]},{"modelName":"OrgContactTypeObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"$ref":"#/definitions/OrgContactType","propertyName":"contactType","commonType":"enum","isEnum":true,"model":"OrgContactType"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgOktaCommunicationSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"optOutEmailUsers","commonType":"boolean"}],"methods":[{"alias":"optInUsersToOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"optOutUsersFromOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgOktaSupportSetting","enum":["DISABLED","ENABLED"],"tags":["Org"]},{"modelName":"OrgOktaSupportSettingsObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"expiration","commonType":"dateTime"},{"$ref":"#/definitions/OrgOktaSupportSetting","readOnly":true,"propertyName":"support","commonType":"enum","isEnum":true,"model":"OrgOktaSupportSetting"}],"methods":[{"alias":"extendOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"grantOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"revokeOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgPreferences","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"showEndUserFooter","commonType":"boolean"}],"methods":[{"alias":"hideEndUserFooter","operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showEndUserFooter","operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"propertyName":"address1","commonType":"string"},{"propertyName":"address2","commonType":"string"},{"propertyName":"city","commonType":"string"},{"propertyName":"companyName","commonType":"string"},{"propertyName":"country","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"endUserSupportHelpURL","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"phoneNumber","commonType":"string"},{"propertyName":"postalCode","commonType":"string"},{"propertyName":"state","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"subdomain","commonType":"string"},{"propertyName":"supportPhoneNumber","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}},{"alias":"getContactTypes","operation":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true}},{"alias":"getOrgContactUser","operation":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"}},{"alias":"getSupportSettings","operation":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"communicationSettings","operation":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"orgPreferences","operation":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"hideFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"updateOrgLogo","operation":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}}],"crud":[{"alias":"read","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"}},{"alias":"update","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}}],"tags":["Org"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]},{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}},{"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"],"isExtensible":false},{"modelName":"PasswordSettingObject","properties":[{"$ref":"#/definitions/ChangeEnum","propertyName":"change","commonType":"enum","isEnum":true,"model":"ChangeEnum"},{"$ref":"#/definitions/SeedEnum","propertyName":"seed","commonType":"enum","isEnum":true,"model":"SeedEnum"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},{"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"],"isExtensible":false},{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]},{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]},{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY","PROFILE_ENROLLMENT","ACCESS_POLICY","MFA_ENROLL"],"tags":["Policy"]},{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PossessionConstraint","properties":[{"propertyName":"deviceBound","commonType":"string"},{"propertyName":"hardwareProtection","commonType":"string"},{"propertyName":"phishingResistant","commonType":"string"},{"propertyName":"userPresence","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PreRegistrationInlineHook","properties":[{"propertyName":"inlineHookId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}},{"modelName":"ProfileEnrollmentPolicyRule","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActions"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}},{"modelName":"ProfileEnrollmentPolicyRuleAction","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActivationRequirement","propertyName":"activationRequirements","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActivationRequirement"},{"propertyName":"preRegistrationInlineHooks","commonType":"array","isArray":true,"model":"PreRegistrationInlineHook"},{"propertyName":"profileAttributes","commonType":"array","isArray":true,"model":"ProfileEnrollmentPolicyRuleProfileAttribute"},{"propertyName":"targetGroupIds","commonType":"array","isArray":true,"model":"string"},{"propertyName":"uiSchemaId","commonType":"string"},{"propertyName":"unknownUserAction","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicyRuleActions","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleAction","propertyName":"profileEnrollment","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"ProfileEnrollmentPolicyRuleActivationRequirement","properties":[{"propertyName":"emailVerification","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicyRuleProfileAttribute","properties":[{"propertyName":"label","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileMapping","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"properties","commonType":"hash","isHash":true,"model":"ProfileMappingProperty"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"source","commonType":"object","isObject":true,"model":"ProfileMappingSource"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"target","commonType":"object","isObject":true,"model":"ProfileMappingSource"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"}},{"alias":"update","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileMappingPropertyPushStatus","enum":["PUSH","DONT_PUSH"],"tags":["ProfileMapping"]},{"modelName":"ProfileMappingSource","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]},{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ProvisioningConnection","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"$ref":"#/definitions/ProvisioningConnectionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionStatus"}],"methods":[{"alias":"getDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"}},{"alias":"activateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionAuthScheme","enum":["TOKEN","UNKNOWN"],"tags":["Application"]},{"modelName":"ProvisioningConnectionProfile","properties":[{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"propertyName":"token","commonType":"string"}],"methods":[{"alias":"setDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionRequest","properties":[{"$ref":"#/definitions/ProvisioningConnectionProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"ProvisioningConnectionProfile"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionStatus","enum":["DISABLED","ENABLED","UNKNOWN"],"tags":["Application"]},{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RequiredEnum","enum":["ALWAYS","HIGH_RISK_ONLY","NEVER"],"tags":["Authenticator"]},{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"ResponseLinks","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}}],"crud":[],"tags":["User"],"isExtensible":false},{"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","GROUP_MEMBERSHIP_ADMIN","CUSTOM"],"tags":["Role"]},{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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":"inlineHooks","commonType":"array","isArray":true,"model":"SignOnInlineHook"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"samlSignedRequestEnabled","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$ref":"#/definitions/SingleLogout","propertyName":"slo","commonType":"object","isObject":true,"model":"SingleLogout"},{"$ref":"#/definitions/SpCertificate","propertyName":"spCertificate","commonType":"object","isObject":true,"model":"SpCertificate"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false,"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"],"isExtensible":false}},{"modelName":"Scope","properties":[{"propertyName":"allowedOktaApps","commonType":"array","isArray":true,"model":"IframeEmbedScopeAllowedApps"},{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"ScopeType","enum":["CORS","REDIRECT","IFRAME_EMBED"],"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"SeedEnum","enum":["OKTA","RANDOM"],"tags":["Application"]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]}}],"tags":["Session"],"isExtensible":false},{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa","mca","sc"],"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"],"isExtensible":false},{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]},{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]},{"modelName":"SignInPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]},{"modelName":"SignOnInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]}}],"tags":["Template"],"isExtensible":false},{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"],"isExtensible":true},{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]},{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"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"},{"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Subscription","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"channels","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/NotificationType","propertyName":"notificationType","commonType":"enum","isEnum":true,"model":"NotificationType"},{"$ref":"#/definitions/SubscriptionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"SubscriptionStatus"}],"methods":[{"alias":"listRoleSubscriptions","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"getRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"getUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"listUserSubscriptions","operation":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"subscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"subscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"SubscriptionStatus","enum":["subscribed","unsubscribed"],"tags":["Role"]},{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"checkbox","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"Theme","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[{"alias":"uploadBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"}},{"alias":"update","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}}],"tags":["Brand"],"isExtensible":false},{"modelName":"ThemeResponse","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"readOnly":true,"propertyName":"favicon","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"logo","commonType":"string"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false},{"modelName":"ThreatInsightConfiguration","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"action","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"excludeZones","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"}],"methods":[],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"}},{"alias":"update","arguments":[{"dest":"threatInsightConfiguration","self":true}],"operation":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"],"isExtensible":false},{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleActionInlineHook","propertyName":"inlineHook","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleActionInlineHook"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"TokenAuthorizationServerPolicyRuleActionInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]}}],"tags":["TrustedOrigin"],"isExtensible":false},{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}},{"alias":"getRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},{"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["User"],"isExtensible":false},{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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":"UserIdString","properties":[{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false,"extends":"OrgContactUser","parent":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}},{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":true},{"modelName":"UserSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/UserSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"UserSchemaDefinitions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"pattern","commonType":"string"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeItems","properties":[{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMaster","properties":[{"propertyName":"priority","commonType":"array","isArray":true,"model":"UserSchemaAttributeMasterPriority"},{"$ref":"#/definitions/UserSchemaAttributeMasterType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeMasterType"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeScope","enum":["SELF","NONE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeType","enum":["string","boolean","number","integer","array"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeUnion","enum":["DISABLE","ENABLE"],"tags":["UserSchema"]},{"modelName":"UserSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/UserSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaBaseProperties","properties":[{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"city","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"costCenter","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"countryCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"department","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"displayName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"division","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"email","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"employeeNumber","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"firstName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificPrefix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificSuffix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"lastName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"locale","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"login","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"manager","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"managerId","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"middleName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"mobilePhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"nickName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"organization","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"postalAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"preferredLanguage","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"primaryPhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"profileUrl","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"secondEmail","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"state","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"streetAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"timezone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"title","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"userType","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"zipCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaDefinitions","properties":[{"$ref":"#/definitions/UserSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"UserSchemaBase"},{"$ref":"#/definitions/UserSchemaPublic","propertyName":"custom","commonType":"object","isObject":true,"model":"UserSchemaPublic"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPublic","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"UserSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"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"],"isExtensible":false},{"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":[{"alias":"replaceUserType","arguments":[{"dest":"roleId","src":"id"}],"operation":{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserType"],"isExtensible":false},{"modelName":"UserTypeCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserVerificationEnum","enum":["REQUIRED","PREFERRED"],"tags":["Authenticator"]},{"modelName":"VerificationMethod","properties":[{"propertyName":"constraints","commonType":"array","isArray":true,"model":"AccessPolicyConstraints"},{"propertyName":"factorMode","commonType":"string"},{"propertyName":"inactivityPeriod","commonType":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"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"],"isExtensible":false},{"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"],"isExtensible":false},{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false},{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}],"version":"2.17.0"}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicy.go","context":{"operations":{},"model":{"modelName":"AccessPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyConstraint.go","context":{"operations":{},"model":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyConstraints.go","context":{"operations":{},"model":{"modelName":"AccessPolicyConstraints","properties":[{"$ref":"#/definitions/KnowledgeConstraint","propertyName":"knowledge","commonType":"object","isObject":true,"model":"KnowledgeConstraint"},{"$ref":"#/definitions/PossessionConstraint","propertyName":"possession","commonType":"object","isObject":true,"model":"PossessionConstraint"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRule.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRule","properties":[{"$ref":"#/definitions/AccessPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AccessPolicyRuleActions"},{"$ref":"#/definitions/AccessPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AccessPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleActions","properties":[{"$ref":"#/definitions/AccessPolicyRuleApplicationSignOn","propertyName":"appSignOn","commonType":"object","isObject":true,"model":"AccessPolicyRuleApplicationSignOn"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleApplicationSignOn.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleApplicationSignOn","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/VerificationMethod","propertyName":"verificationMethod","commonType":"object","isObject":true,"model":"VerificationMethod"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleConditions","properties":[{"$ref":"#/definitions/DeviceAccessPolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DeviceAccessPolicyRuleCondition"},{"$ref":"#/definitions/AccessPolicyRuleCustomCondition","propertyName":"elCondition","commonType":"object","isObject":true,"model":"AccessPolicyRuleCustomCondition"},{"$ref":"#/definitions/UserTypeCondition","propertyName":"userType","commonType":"object","isObject":true,"model":"UserTypeCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleCustomCondition.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleCustomCondition","properties":[{"propertyName":"condition","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/allowedForEnum.go","context":{"operations":{},"model":{"modelName":"AllowedForEnum","enum":["recovery","sso","any","none"],"tags":["Authenticator"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}}],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appUserPasswordCredential.go","context":{"operations":{},"model":{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"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","formData":[],"responseModel":"Application"},"getDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"},"setDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"},"activateDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"deactivateDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"responseModel":"JsonWebKey"},"listClientSecretsForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listClientSecretsForApplication","description":"Enumerates the client's collection of secrets","summary":"List client secrets","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ClientSecret"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret","isArray":true},"createNewClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"createNewClientSecretForApplication","description":"Adds a new secret to the client's collection of secrets.","summary":"Add new client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/ClientSecretMetadata"}}],"bodyModel":"ClientSecretMetadata","formData":[],"responseModel":"ClientSecret"},"deleteClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"deleteClientSecretForApplication","description":"Removes a secret from the client's collection of secrets.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[]},"getClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"getClientSecretForApplication","description":"Gets a specific client secret by secretId","summary":"Get client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},"activateClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"activateClientSecretForApplication","description":"Activates a specific client secret by secretId","summary":"Activate a client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},"deactivateClientSecretForApplication":{"path":"/api/v1/apps/{appId}/credentials/secrets/{secretId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"operationId":"deactivateClientSecretForApplication","description":"Deactivates a specific client secret by secretId","summary":"Deactivate a client secret","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ClientSecret"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"secretId","required":true,"type":"string"}],"formData":[],"responseModel":"ClientSecret"},"listFeaturesForApplication":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true},"getFeatureForApplication":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"},"updateFeatureForApplication":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"uploadApplicationLogo":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},"updateApplicationPolicy":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"previewSAMLAppMetadata":{"path":"/api/v1/apps/{appId}/sso/saml/metadata","method":"get","queryParams":[{"description":"unique key identifier of an Application Key Credential","in":"query","name":"kid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"previewSAMLAppMetadata","description":"Previews SAML metadata based on a specific key credential for an application","tags":["Application"],"consumes":["application/json"],"produces":["application/xml"],"responses":{"200":{"description":"Success","schema":{"properties":{"EntityDescriptor":{"properties":{"IDPSSODescriptor":{"properties":{"KeyDescriptor":{"properties":{"KeyInfo":{"properties":{"X509Data":{"properties":{"X509Certificate":{"type":"string"}},"type":"object"}},"type":"object"},"use":{"type":"string","xml":{"attribute":true}}},"type":"object"},"NameIDFormat":{"items":{"type":"string"},"type":"array"},"SingleLogoutService":{"items":{"type":"string"},"properties":{"Binding":{"type":"string","xml":{"attribute":true}},"Location":{"type":"string","xml":{"attribute":true}}},"type":"array"},"SingleSignOnService":{"items":{"type":"string"},"properties":{"Binding":{"type":"string","xml":{"attribute":true}},"Location":{"type":"string","xml":{"attribute":true}}},"type":"array"},"WantAuthnRequestsSigned":{"type":"boolean","xml":{"attribute":true}},"protocolSupportEnumeration":{"type":"string","xml":{"attribute":true}}},"type":"object"},"entityID":{"type":"string","xml":{"attribute":true}}},"type":"object"}},"type":"object"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"description":"unique key identifier of an Application Key Credential","in":"query","name":"kid","required":true,"type":"string"}],"formData":[],"returnType":"object"},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"propertyName":"pkce_required","commonType":"boolean"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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":"pushStatus","commonType":"string"},{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationFeature.go","context":{"operations":{},"model":{"modelName":"ApplicationFeature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/CapabilitiesObject","propertyName":"capabilities","commonType":"object","isObject":true,"model":"CapabilitiesObject"},{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[{"alias":"listFeaturesForApplication","operation":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationLicensing.go","context":{"operations":{},"model":{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotes.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotes","properties":[{"propertyName":"admin","commonType":"string"},{"propertyName":"enduser","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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":"autoLaunch","commonType":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/authenticator.go","context":{"operations":{"getAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},"updateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},"listAuthenticators":{"path":"/api/v1/authenticators","method":"get","queryParams":[],"pathParams":[],"operationId":"listAuthenticators","description":"List Authenticators","summary":"Lists all available Authenticators","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Authenticator"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Authenticator","isArray":true},"createAuthenticator":{"path":"/api/v1/authenticators","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createAuthenticator","description":"Create Authenticator","summary":"Create an Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"query","name":"activate","type":"boolean"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},"activateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},"deactivateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},"model":{"modelName":"Authenticator","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"key","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticatorProvider"},{"$ref":"#/definitions/AuthenticatorSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AuthenticatorSettings"},{"$ref":"#/definitions/AuthenticatorStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"AuthenticatorStatus"},{"$ref":"#/definitions/AuthenticatorType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticatorType"}],"methods":[{"alias":"activate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"deactivate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"update","arguments":[{"dest":"authenticatorId","src":"id"},{"dest":"authenticator","self":true}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"}}],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProvider","properties":[{"$ref":"#/definitions/AuthenticatorProviderConfiguration","propertyName":"configuration","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfiguration"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProviderConfiguration.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProviderConfiguration","properties":[{"propertyName":"authPort","commonType":"integer"},{"propertyName":"host","commonType":"string"},{"propertyName":"hostName","commonType":"string"},{"propertyName":"instanceId","commonType":"string"},{"propertyName":"integrationKey","commonType":"string"},{"propertyName":"secretKey","commonType":"string"},{"propertyName":"sharedSecret","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProviderConfigurationUserNamePlate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfigurationUserNamePlate"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProviderConfigurationUserNamePlate.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProviderConfigurationUserNamePlate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorSettings.go","context":{"operations":{},"model":{"modelName":"AuthenticatorSettings","properties":[{"$ref":"#/definitions/AllowedForEnum","propertyName":"allowedFor","commonType":"enum","isEnum":true,"model":"AllowedForEnum"},{"propertyName":"appInstanceId","commonType":"string"},{"$ref":"#/definitions/ChannelBinding","propertyName":"channelBinding","commonType":"object","isObject":true,"model":"ChannelBinding"},{"$ref":"#/definitions/Compliance","propertyName":"compliance","commonType":"object","isObject":true,"model":"Compliance"},{"propertyName":"tokenLifetimeInMinutes","commonType":"integer"},{"$ref":"#/definitions/UserVerificationEnum","propertyName":"userVerification","commonType":"enum","isEnum":true,"model":"UserVerificationEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorStatus.go","context":{"operations":{},"model":{"modelName":"AuthenticatorStatus","enum":["ACTIVE","INACTIVE"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorType.go","context":{"operations":{},"model":{"modelName":"AuthenticatorType","enum":["app","password","security_question","phone","email","security_key","federated"],"tags":["Authenticator"]}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServer"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"activateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"listAuthorizationServerPolicyRules":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicyRules","description":"Enumerates all policy rules for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true},"createAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicyRule","description":"Creates a policy rule for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},"deleteAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"getAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicyRule","description":"Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"},"updateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},"activateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"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","formData":[],"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"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL","DYNAMIC"],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/authorizationServerPolicy.go","context":{"operations":{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"AuthorizationServerPolicy","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":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicyRules","description":"Enumerates all policy rules for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true}},{"alias":"createPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicyRule","description":"Creates a policy rule for the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicyRule","description":"Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"deletePolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"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/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"delete","arguments":[{"dest":"policyId","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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRule.go","context":{"operations":{"updateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"},"deleteAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"AuthorizationServerPolicyRule","properties":[{"$ref":"#/definitions/AuthorizationServerPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleActions"},{"$ref":"#/definitions/AuthorizationServerPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["RESOURCE_ACCESS"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicyRule","description":"Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"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/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicyRule","description":"Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerPolicyRuleConditions","properties":[{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"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"},{"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"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false}}},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/brand.go","context":{"operations":{"getBrand":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"},"updateBrand":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"},"listBrands":{"path":"/api/v1/brands","method":"get","queryParams":[],"pathParams":[],"operationId":"listBrands","description":"List all the brands in your org.","summary":"List Brands","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Brand"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Brand","isArray":true},"listEmailTemplates":{"path":"/api/v1/brands/{brandId}/templates/email","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listEmailTemplates","description":"List email templates in your organization with pagination.","summary":"List Email Templates","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplate"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"EmailTemplate","isArray":true},"getEmailTemplate":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"},"deleteEmailTemplateCustomizations":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]},"listEmailTemplateCustomizations":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true},"createEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},"deleteEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]},"getEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"},"updateEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},"getEmailTemplateCustomizationPreview":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"getEmailTemplateDefaultContent":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"getEmailTemplateDefaultContentPreview":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"sendTestEmail":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]},"listBrandThemes":{"path":"/api/v1/brands/{brandId}/themes","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listBrandThemes","description":"List all the themes in your brand","summary":"Get Brand Themes","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ThemeResponse"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse","isArray":true},"getBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},"updateBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"},"deleteBrandThemeBackgroundImage":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeBackgroundImage":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},"deleteBrandThemeFavicon":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeFavicon":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},"deleteBrandThemeLogo":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeLogo":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},"model":{"modelName":"Brand","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"agreeToCustomPrivacyPolicy","commonType":"boolean"},{"propertyName":"customPrivacyPolicyUrl","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"removePoweredByOkta","commonType":"boolean"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"brandId","src":"id"}],"operation":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"}},{"alias":"update","arguments":[{"dest":"brandId","src":"id"},{"dest":"brand","self":true}],"operation":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"}}],"tags":["Brand"],"isExtensible":false}}},{"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"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesCreateObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesCreateObject","properties":[{"$ref":"#/definitions/LifecycleCreateSettingObject","propertyName":"lifecycleCreate","commonType":"object","isObject":true,"model":"LifecycleCreateSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesObject","properties":[{"$ref":"#/definitions/CapabilitiesCreateObject","propertyName":"create","commonType":"object","isObject":true,"model":"CapabilitiesCreateObject"},{"$ref":"#/definitions/CapabilitiesUpdateObject","propertyName":"update","commonType":"object","isObject":true,"model":"CapabilitiesUpdateObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesUpdateObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesUpdateObject","properties":[{"$ref":"#/definitions/LifecycleDeactivateSettingObject","propertyName":"lifecycleDeactivate","commonType":"object","isObject":true,"model":"LifecycleDeactivateSettingObject"},{"$ref":"#/definitions/PasswordSettingObject","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordSettingObject"},{"$ref":"#/definitions/ProfileSettingObject","propertyName":"profile","commonType":"object","isObject":true,"model":"ProfileSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/changeEnum.go","context":{"operations":{},"model":{"modelName":"ChangeEnum","enum":["KEEP_EXISTING","CHANGE"],"tags":["Application"]}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/channelBinding.go","context":{"operations":{},"model":{"modelName":"ChannelBinding","properties":[{"$ref":"#/definitions/RequiredEnum","propertyName":"required","commonType":"enum","isEnum":true,"model":"RequiredEnum"},{"propertyName":"style","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/clientSecret.go","context":{"operations":{},"model":{"modelName":"ClientSecret","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"client_secret","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"secret_hash","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/clientSecretMetadata.go","context":{"operations":{},"model":{"modelName":"ClientSecretMetadata","properties":[{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/compliance.go","context":{"operations":{},"model":{"modelName":"Compliance","properties":[{"$ref":"#/definitions/FipsEnum","propertyName":"fips","commonType":"enum","isEnum":true,"model":"FipsEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/contextPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/createSessionRequest.go","context":{"operations":{},"model":{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/dnsRecord.go","context":{"operations":{},"model":{"modelName":"DNSRecord","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fqdn","commonType":"string"},{"$ref":"#/definitions/DNSRecordType","propertyName":"recordType","commonType":"enum","isEnum":true,"model":"DNSRecordType"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/dnsRecordType.go","context":{"operations":{},"model":{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/deviceAccessPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DeviceAccessPolicyRuleCondition","properties":[{"propertyName":"managed","commonType":"boolean"},{"propertyName":"registered","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"DevicePolicyRuleCondition","parent":{"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"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domain.go","context":{"operations":{"listDomains":{"path":"/api/v1/domains","method":"get","queryParams":[],"pathParams":[],"operationId":"listDomains","description":"List all verified custom Domains for the org.","summary":"List Domains","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DomainListResponse"}}},"parameters":[],"formData":[],"responseModel":"DomainListResponse"},"createDomain":{"path":"/api/v1/domains","method":"post","queryParams":[],"pathParams":[],"operationId":"createDomain","description":"Creates your domain.","summary":"Create Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","formData":[],"responseModel":"Domain"},"deleteDomain":{"path":"/api/v1/domains/{domainId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"deleteDomain","description":"Deletes a Domain by `id`.","summary":"Delete Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[]},"getDomain":{"path":"/api/v1/domains/{domainId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"getDomain","description":"Fetches a Domain by `id`.","summary":"Get Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},"createCertificate":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]},"verifyDomain":{"path":"/api/v1/domains/{domainId}/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"verifyDomain","description":"Verifies the Domain by `id`.","summary":"Verify Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"}},"model":{"modelName":"Domain","properties":[{"$ref":"#/definitions/DomainCertificateSourceType","propertyName":"certificateSourceType","commonType":"enum","isEnum":true,"model":"DomainCertificateSourceType"},{"propertyName":"dnsRecords","commonType":"array","isArray":true,"model":"DNSRecord"},{"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/DomainCertificateMetadata","propertyName":"publicCertificate","commonType":"object","isObject":true,"model":"DomainCertificateMetadata"},{"$ref":"#/definitions/DomainValidationStatus","propertyName":"validationStatus","commonType":"enum","isEnum":true,"model":"DomainValidationStatus"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificate.go","context":{"operations":{},"model":{"modelName":"DomainCertificate","properties":[{"propertyName":"certificate","commonType":"string"},{"propertyName":"certificateChain","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"$ref":"#/definitions/DomainCertificateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"DomainCertificateType"}],"methods":[{"alias":"createCertificate","arguments":[{"dest":"certificate","self":true}],"operation":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]}}],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateMetadata.go","context":{"operations":{},"model":{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateSourceType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateSourceType","enum":["MANUAL","OKTA_MANAGED"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainListResponse.go","context":{"operations":{},"model":{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainValidationStatus.go","context":{"operations":{},"model":{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","FAILED_TO_VERIFY","DOMAIN_TAKEN","COMPLETED"],"tags":["Domain"]}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplate.go","context":{"operations":{"getEmailTemplate":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},"model":{"modelName":"EmailTemplate","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"name","commonType":"string"}],"methods":[{"alias":"getEmailTemplate","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},{"alias":"deleteEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]}},{"alias":"listEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true}},{"alias":"createEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"deleteEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]}},{"alias":"getEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"updateEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"getEmailTemplateCustomizationPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContent","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContentPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"sendTestEmail","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}}],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateContent.go","context":{"operations":{},"model":{"modelName":"EmailTemplateContent","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"propertyName":"fromAddress","commonType":"string"},{"propertyName":"fromName","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateCustomization.go","context":{"operations":{},"model":{"modelName":"EmailTemplateCustomization","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateCustomizationRequest.go","context":{"operations":{},"model":{"modelName":"EmailTemplateCustomizationRequest","properties":[{"propertyName":"body","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateTestRequest.go","context":{"operations":{},"model":{"modelName":"EmailTemplateTestRequest","properties":[{"propertyName":"customizationId","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"EmailTemplateTouchPointVariant","enum":["OKTA_DEFAULT","FULL_THEME"],"tags":["Brand"]}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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/endUserDashboardTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"EndUserDashboardTouchPointVariant","enum":["OKTA_DEFAULT","WHITE_LOGO_BACKGROUND","FULL_THEME","LOGO_ON_FULL_WHITE_BACKGROUND"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/errorPageTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"ErrorPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]},"listEventHooks":{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EventHook"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["EventHook"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/factorProvider.go","context":{"operations":{},"model":{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM","APPLE"],"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","hotp","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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"},"listFeatures":{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"}}],"tags":["Feature"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/fipsEnum.go","context":{"operations":{},"model":{"modelName":"FipsEnum","enum":["REQUIRED","OPTIONAL"],"tags":["Authenticator"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"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"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/GroupRule"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"getGroup":{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Fetches a group from your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},"assignRoleToGroup":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"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"}],"formData":[],"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":"boolean"}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Group"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":true}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"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"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}}],"tags":["GroupRule"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchema.go","context":{"operations":{"getGroupSchema":{"path":"/api/v1/meta/schemas/group/default","method":"get","queryParams":[],"pathParams":[],"operationId":"getGroupSchema","description":"Fetches the group schema","summary":"Fetches the group schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[],"formData":[],"responseModel":"GroupSchema"},"updateGroupSchema":{"path":"/api/v1/meta/schemas/group/default","method":"post","queryParams":[],"pathParams":[],"operationId":"updateGroupSchema","description":"Updates, adds ore removes one or more custom Group Profile properties in the schema","summary":"Updates, adds ore removes one or more custom Group Profile properties in the schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/GroupSchema"}}],"bodyModel":"GroupSchema","formData":[],"responseModel":"GroupSchema"}},"model":{"modelName":"GroupSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/GroupSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"GroupSchemaDefinitions"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaAttribute.go","context":{"operations":{},"model":{"modelName":"GroupSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaBase.go","context":{"operations":{},"model":{"modelName":"GroupSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/GroupSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"GroupSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaBaseProperties.go","context":{"operations":{},"model":{"modelName":"GroupSchemaBaseProperties","properties":[{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"description","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"},{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"name","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaCustom.go","context":{"operations":{},"model":{"modelName":"GroupSchemaCustom","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"GroupSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaDefinitions.go","context":{"operations":{},"model":{"modelName":"GroupSchemaDefinitions","properties":[{"$ref":"#/definitions/GroupSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"GroupSchemaBase"},{"$ref":"#/definitions/GroupSchemaCustom","propertyName":"custom","commonType":"object","isObject":true,"model":"GroupSchemaCustom"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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","DYNAMIC"],"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","knownValues":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"]}],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]}}],"tags":["IdentityProvider"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"propertyName":"teamId","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/idpPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"IdpPolicyRuleAction","properties":[{"propertyName":"providers","commonType":"array","isArray":true,"model":"IdpPolicyRuleActionProvider"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/idpPolicyRuleActionProvider.go","context":{"operations":{},"model":{"modelName":"IdpPolicyRuleActionProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/iframeEmbedScopeAllowedApps.go","context":{"operations":{},"model":{"modelName":"IframeEmbedScopeAllowedApps","enum":["OKTA_ENDUSER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/imageUploadResponse.go","context":{"operations":{},"model":{"modelName":"ImageUploadResponse","properties":[{"readOnly":true,"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/InlineHook"},"type":"array"}}},"parameters":[{"in":"query","name":"type","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["InlineHook"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookPayload.go","context":{"operations":{},"model":{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":true}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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":false,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":false,"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":false,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":false,"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/knowledgeConstraint.go","context":{"operations":{},"model":{"modelName":"KnowledgeConstraint","properties":[],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleCreateSettingObject.go","context":{"operations":{},"model":{"modelName":"LifecycleCreateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleDeactivateSettingObject.go","context":{"operations":{},"model":{"modelName":"LifecycleDeactivateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]},"listLinkedObjectDefinitions":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LinkedObject"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]}}],"tags":["LinkedObject"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialProvider.go","context":{"operations":{},"model":{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY","APPLE"],"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LogEvent"},"type":"array"}}},"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"}],"formData":[],"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/multifactorEnrollmentPolicy.go","context":{"operations":{},"model":{"modelName":"MultifactorEnrollmentPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"MFA_ENROLL"}}}},{"src":"templates/model.go.hbs","dest":"okta/multifactorEnrollmentPolicyAuthenticatorSettings.go","context":{"operations":{},"model":{"modelName":"MultifactorEnrollmentPolicyAuthenticatorSettings","properties":[{"minimum":0,"properties":{"aaguidGroups":{"items":{"type":"string","uniqueItems":true},"type":"array"}},"x-okta-lifecycle":{"features":["WEBAUTHN_MDS_CATALOG_BASED_AAGUID_ALLOWLIST"]},"propertyName":"constraints","commonType":"object","isObject":true},{"properties":{"self":{"$ref":"#/definitions/MultifactorEnrollmentPolicyAuthenticatorStatus"}},"propertyName":"enroll","commonType":"object","isObject":true},{"$ref":"#/definitions/MultifactorEnrollmentPolicyAuthenticatorType","propertyName":"key","commonType":"enum","isEnum":true,"model":"MultifactorEnrollmentPolicyAuthenticatorType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/multifactorEnrollmentPolicyAuthenticatorStatus.go","context":{"operations":{},"model":{"modelName":"MultifactorEnrollmentPolicyAuthenticatorStatus","enum":["NOT_ALLOWED","OPTIONAL","REQUIRED"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/multifactorEnrollmentPolicyAuthenticatorType.go","context":{"operations":{},"model":{"modelName":"MultifactorEnrollmentPolicyAuthenticatorType","enum":["custom_app","custom_otp","duo","external_idp","google_otp","okta_email","okta_password","okta_verify","onprem_mfa","phone_number","rsa_token","security_question","symantec_vip","webauthn","yubikey_token"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/multifactorEnrollmentPolicySettings.go","context":{"operations":{},"model":{"modelName":"MultifactorEnrollmentPolicySettings","properties":[{"propertyName":"authenticators","commonType":"array","isArray":true,"model":"MultifactorEnrollmentPolicyAuthenticatorSettings"},{"$ref":"#/definitions/MultifactorEnrollmentPolicySettingsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"MultifactorEnrollmentPolicySettingsType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/multifactorEnrollmentPolicySettingsType.go","context":{"operations":{},"model":{"modelName":"MultifactorEnrollmentPolicySettingsType","enum":["AUTHENTICATORS"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZone.go","context":{"operations":{"getNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},"updateNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},"deleteNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]},"listNetworkZones":{"path":"/api/v1/zones","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of network zones","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 zones by usage or id expression","in":"query","name":"filter","type":"string"}],"pathParams":[],"operationId":"listNetworkZones","description":"Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.","summary":"List Network Zones","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/NetworkZone"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of network zones","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 zones by usage or id expression","in":"query","name":"filter","type":"string"}],"formData":[],"responseModel":"NetworkZone","isArray":true},"createNetworkZone":{"path":"/api/v1/zones","method":"post","queryParams":[],"pathParams":[],"operationId":"createNetworkZone","description":"Adds a new network zone to your Okta organization.","summary":"Add Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},"activateNetworkZone":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},"deactivateNetworkZone":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},"model":{"modelName":"NetworkZone","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"asns","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"gateways","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"locations","commonType":"array","isArray":true,"model":"NetworkZoneLocation"},{"propertyName":"name","commonType":"string"},{"propertyName":"proxies","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"propertyName":"proxyType","commonType":"string"},{"$ref":"#/definitions/NetworkZoneStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"NetworkZoneStatus"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/NetworkZoneType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneType"},{"$ref":"#/definitions/NetworkZoneUsage","propertyName":"usage","commonType":"enum","isEnum":true,"model":"NetworkZoneUsage"}],"methods":[{"alias":"activate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"deactivate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}}],"crud":[{"alias":"read","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"update","arguments":[{"dest":"zoneId","src":"id"},{"dest":"zone","self":true}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"}},{"alias":"delete","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]}}],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneAddress.go","context":{"operations":{},"model":{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneAddressType.go","context":{"operations":{},"model":{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneLocation.go","context":{"operations":{},"model":{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneStatus.go","context":{"operations":{},"model":{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneType.go","context":{"operations":{},"model":{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneUsage.go","context":{"operations":{},"model":{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/notificationType.go","context":{"operations":{},"model":{"modelName":"NotificationType","enum":["CONNECTOR_AGENT","USER_LOCKED_OUT","APP_IMPORT","LDAP_AGENT","AD_AGENT","OKTA_ANNOUNCEMENT","OKTA_ISSUE","OKTA_UPDATE","IWA_AGENT","USER_DEPROVISION","REPORT_SUSPICIOUS_ACTIVITY","RATELIMIT_NOTIFICATION"],"tags":["Subscription"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false,"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"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthAuthorizationPolicy.go","context":{"operations":{},"model":{"modelName":"OAuthAuthorizationPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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","private_key_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","saml2_bearer","device_code","token_exchange","interaction_code"],"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"},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","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"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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/openIdConnectApplicationIdpInitiatedLogin.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIssuerMode.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL","DYNAMIC"],"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"},{"$ref":"#/definitions/OpenIdConnectApplicationIdpInitiatedLogin","propertyName":"idp_initiated_login","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationIdpInitiatedLogin"},{"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"},{"propertyName":"wildcard_redirect","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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/org2OrgApplication.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplication","properties":[{"default":"okta_org2org","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/Org2OrgApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplication","parent":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"}},"resolution":{"fieldName":"name","fieldValue":"okta_org2org"}}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplicationSettings.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplicationSettings","properties":[{"$ref":"#/definitions/Org2OrgApplicationSettingsApp","propertyName":"app","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettingsApp"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplicationSettings","parent":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplicationSettingsApp.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplicationSettingsApp","properties":[{"propertyName":"acsUrl","commonType":"string"},{"propertyName":"audRestriction","commonType":"string"},{"propertyName":"baseUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactType.go","context":{"operations":{},"model":{"modelName":"OrgContactType","enum":["BILLING","TECHNICAL"],"tags":["Org"]}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactTypeObj.go","context":{"operations":{},"model":{"modelName":"OrgContactTypeObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"$ref":"#/definitions/OrgContactType","propertyName":"contactType","commonType":"enum","isEnum":true,"model":"OrgContactType"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactUser.go","context":{"operations":{},"model":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaCommunicationSetting.go","context":{"operations":{},"model":{"modelName":"OrgOktaCommunicationSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"optOutEmailUsers","commonType":"boolean"}],"methods":[{"alias":"optInUsersToOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"optOutUsersFromOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaSupportSetting.go","context":{"operations":{},"model":{"modelName":"OrgOktaSupportSetting","enum":["DISABLED","ENABLED"],"tags":["Org"]}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaSupportSettingsObj.go","context":{"operations":{},"model":{"modelName":"OrgOktaSupportSettingsObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"expiration","commonType":"dateTime"},{"$ref":"#/definitions/OrgOktaSupportSetting","readOnly":true,"propertyName":"support","commonType":"enum","isEnum":true,"model":"OrgOktaSupportSetting"}],"methods":[{"alias":"extendOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"grantOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"revokeOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgPreferences.go","context":{"operations":{},"model":{"modelName":"OrgPreferences","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"showEndUserFooter","commonType":"boolean"}],"methods":[{"alias":"hideEndUserFooter","operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showEndUserFooter","operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgSetting.go","context":{"operations":{"getOrgSettings":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"},"updateOrgSetting":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},"partialUpdateOrgSetting":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},"getOrgContactTypes":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true},"getOrgContactUser":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"},"updateOrgContactUser":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"},"updateOrgLogo":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},"getOrgPreferences":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"hideOktaUIFooter":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"showOktaUIFooter":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"getOktaCommunicationSettings":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"optInUsersToOktaCommunicationEmails":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"optOutUsersFromOktaCommunicationEmails":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"getOrgOktaSupportSettings":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"extendOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"grantOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"revokeOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},"model":{"modelName":"OrgSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"propertyName":"address1","commonType":"string"},{"propertyName":"address2","commonType":"string"},{"propertyName":"city","commonType":"string"},{"propertyName":"companyName","commonType":"string"},{"propertyName":"country","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"endUserSupportHelpURL","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"phoneNumber","commonType":"string"},{"propertyName":"postalCode","commonType":"string"},{"propertyName":"state","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"subdomain","commonType":"string"},{"propertyName":"supportPhoneNumber","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}},{"alias":"getContactTypes","operation":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true}},{"alias":"getOrgContactUser","operation":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"}},{"alias":"getSupportSettings","operation":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"communicationSettings","operation":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"orgPreferences","operation":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"hideFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"updateOrgLogo","operation":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}}],"crud":[{"alias":"read","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"}},{"alias":"update","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}}],"tags":["Org"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"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"],"isExtensible":false}}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettingsOptions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","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"],"isExtensible":false}}},{"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"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"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"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordSettingObject.go","context":{"operations":{},"model":{"modelName":"PasswordSettingObject","properties":[{"$ref":"#/definitions/ChangeEnum","propertyName":"change","commonType":"enum","isEnum":true,"model":"ChangeEnum"},{"$ref":"#/definitions/SeedEnum","propertyName":"seed","commonType":"enum","isEnum":true,"model":"SeedEnum"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Policy"},"type":"array"}}},"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActionsEnroll.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActionsEnrollSelf.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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","PROFILE_ENROLLMENT","ACCESS_POLICY","MFA_ENROLL"],"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/possessionConstraint.go","context":{"operations":{},"model":{"modelName":"PossessionConstraint","properties":[{"propertyName":"deviceBound","commonType":"string"},{"propertyName":"hardwareProtection","commonType":"string"},{"propertyName":"phishingResistant","commonType":"string"},{"propertyName":"userPresence","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/preRegistrationInlineHook.go","context":{"operations":{},"model":{"modelName":"PreRegistrationInlineHook","properties":[{"propertyName":"inlineHookId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicy.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicy","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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","MFA_ENROLL":"MultifactorEnrollmentPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRule.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRule","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActions"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"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":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleAction","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActivationRequirement","propertyName":"activationRequirements","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActivationRequirement"},{"propertyName":"preRegistrationInlineHooks","commonType":"array","isArray":true,"model":"PreRegistrationInlineHook"},{"propertyName":"profileAttributes","commonType":"array","isArray":true,"model":"ProfileEnrollmentPolicyRuleProfileAttribute"},{"propertyName":"targetGroupIds","commonType":"array","isArray":true,"model":"string"},{"propertyName":"uiSchemaId","commonType":"string"},{"propertyName":"unknownUserAction","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleActions","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleAction","propertyName":"profileEnrollment","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$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"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleActivationRequirement.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleActivationRequirement","properties":[{"propertyName":"emailVerification","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleProfileAttribute.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleProfileAttribute","properties":[{"propertyName":"label","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMapping.go","context":{"operations":{"getProfileMapping":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"},"updateProfileMapping":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"},"listProfileMappings":{"path":"/api/v1/mappings","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"pathParams":[],"operationId":"listProfileMappings","description":"Enumerates Profile Mappings in your organization with pagination.","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ProfileMapping"},"type":"array"}}},"parameters":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"formData":[],"responseModel":"ProfileMapping","isArray":true}},"model":{"modelName":"ProfileMapping","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"properties","commonType":"hash","isHash":true,"model":"ProfileMappingProperty"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"source","commonType":"object","isObject":true,"model":"ProfileMappingSource"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"target","commonType":"object","isObject":true,"model":"ProfileMappingSource"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"}},{"alias":"update","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingProperty.go","context":{"operations":{},"model":{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingPropertyPushStatus.go","context":{"operations":{},"model":{"modelName":"ProfileMappingPropertyPushStatus","enum":["PUSH","DONT_PUSH"],"tags":["ProfileMapping"]}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingSource.go","context":{"operations":{},"model":{"modelName":"ProfileMappingSource","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileSettingObject.go","context":{"operations":{},"model":{"modelName":"ProfileSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnection.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnection","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"$ref":"#/definitions/ProvisioningConnectionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionStatus"}],"methods":[{"alias":"getDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"}},{"alias":"activateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionAuthScheme.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionAuthScheme","enum":["TOKEN","UNKNOWN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionProfile.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionProfile","properties":[{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"propertyName":"token","commonType":"string"}],"methods":[{"alias":"setDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionRequest.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionRequest","properties":[{"$ref":"#/definitions/ProvisioningConnectionProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"ProvisioningConnectionProfile"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionStatus.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionStatus","enum":["DISABLED","ENABLED","UNKNOWN"],"tags":["Application"]}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/requiredEnum.go","context":{"operations":{},"model":{"modelName":"RequiredEnum","enum":["ALWAYS","HIGH_RISK_ONLY","NEVER"],"tags":["Authenticator"]}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/responseLinks.go","context":{"operations":{},"model":{"modelName":"ResponseLinks","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/riskScorePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}}],"crud":[],"tags":["User"],"isExtensible":false}}},{"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","GROUP_MEMBERSHIP_ADMIN","CUSTOM"],"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"},{"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/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":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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":"inlineHooks","commonType":"array","isArray":true,"model":"SignOnInlineHook"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"samlSignedRequestEnabled","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$ref":"#/definitions/SingleLogout","propertyName":"slo","commonType":"object","isObject":true,"model":"SingleLogout"},{"$ref":"#/definitions/SpCertificate","propertyName":"spCertificate","commonType":"object","isObject":true,"model":"SpCertificate"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false,"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"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/scope.go","context":{"operations":{},"model":{"modelName":"Scope","properties":[{"propertyName":"allowedOktaApps","commonType":"array","isArray":true,"model":"IframeEmbedScopeAllowedApps"},{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/scopeType.go","context":{"operations":{},"model":{"modelName":"ScopeType","enum":["CORS","REDIRECT","IFRAME_EMBED"],"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"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/seedEnum.go","context":{"operations":{},"model":{"modelName":"SeedEnum","enum":["OKTA","RANDOM"],"tags":["Application"]}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]}}],"tags":["Session"],"isExtensible":false}}},{"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","mca","sc"],"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"],"isExtensible":false}}},{"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/signInPageTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"SignInPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/signOnInlineHook.go","context":{"operations":{},"model":{"modelName":"SignOnInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/singleLogout.go","context":{"operations":{},"model":{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SmsTemplate"},"type":"array"}}},"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]}}],"tags":["Template"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateTranslations.go","context":{"operations":{},"model":{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"],"isExtensible":true}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"},{"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/spCertificate.go","context":{"operations":{},"model":{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/subscription.go","context":{"operations":{"listRoleSubscriptions":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},"getRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},"subscribeRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"unsubscribeRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"subscribeUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"unsubscribeUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"Subscription","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"channels","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/NotificationType","propertyName":"notificationType","commonType":"enum","isEnum":true,"model":"NotificationType"},{"$ref":"#/definitions/SubscriptionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"SubscriptionStatus"}],"methods":[{"alias":"listRoleSubscriptions","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"getRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"getUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"listUserSubscriptions","operation":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"subscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"subscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/subscriptionStatus.go","context":{"operations":{},"model":{"modelName":"SubscriptionStatus","enum":["subscribed","unsubscribed"],"tags":["Role"]}}},{"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"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"checkbox","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"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"},{"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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/theme.go","context":{"operations":{"getBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},"updateBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}},"model":{"modelName":"Theme","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[{"alias":"uploadBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"}},{"alias":"update","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}}],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/themeResponse.go","context":{"operations":{},"model":{"modelName":"ThemeResponse","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"readOnly":true,"propertyName":"favicon","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"logo","commonType":"string"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/threatInsightConfiguration.go","context":{"operations":{"getCurrentConfiguration":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"},"updateConfiguration":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}},"model":{"modelName":"ThreatInsightConfiguration","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"action","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"excludeZones","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"}],"methods":[],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"}},{"alias":"update","arguments":[{"dest":"threatInsightConfiguration","self":true}],"operation":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleActionInlineHook","propertyName":"inlineHook","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleActionInlineHook"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleActionInlineHook.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleActionInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/TrustedOrigin"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]}}],"tags":["TrustedOrigin"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"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 that do not have a status of 'DEPROVISIONED' (by default), up to the maximum (200 for most orgs), 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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"Success"}},"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"}],"formData":[]},"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":"Update a user's profile or credentials with partial update semantics.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},"assignRoleToUser":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"getUserRole":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]},"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"listUserSubscriptions":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},"getUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}},{"alias":"getRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"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"}],"formData":[],"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. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},{"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"Success"}},"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"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"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","formData":[],"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"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["User"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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/userIdString.go","context":{"operations":{},"model":{"modelName":"UserIdString","properties":[{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false,"extends":"OrgContactUser","parent":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentityProviderLinkRequest.go","context":{"operations":{},"model":{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/userSchema.go","context":{"operations":{"getApplicationUserSchema":{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"getApplicationUserSchema","description":"Fetches the Schema for an App User","summary":"Fetches the Schema for an App User","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},"updateApplicationUserProfile":{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"updateApplicationUserProfile","description":"Partial updates on the User Profile properties of the Application User Schema.","summary":"Partial updates on the User Profile properties of the Application User Schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},"getUserSchema":{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"getUserSchema","description":"Fetches the schema for a Schema Id.","summary":"Fetches the schema for a Schema Id.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},"updateUserProfile":{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"updateUserProfile","description":"Partial updates on the User Profile properties of the user schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"}},"model":{"modelName":"UserSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/UserSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"UserSchemaDefinitions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttribute.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"pattern","commonType":"string"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeEnum.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeItems.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeItems","properties":[{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMaster.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMaster","properties":[{"propertyName":"priority","commonType":"array","isArray":true,"model":"UserSchemaAttributeMasterPriority"},{"$ref":"#/definitions/UserSchemaAttributeMasterType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeMasterType"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterPriority.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterType.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributePermission.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeScope.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeScope","enum":["SELF","NONE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeType.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeType","enum":["string","boolean","number","integer","array"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeUnion.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeUnion","enum":["DISABLE","ENABLE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaBase.go","context":{"operations":{},"model":{"modelName":"UserSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/UserSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaBaseProperties.go","context":{"operations":{},"model":{"modelName":"UserSchemaBaseProperties","properties":[{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"city","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"costCenter","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"countryCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"department","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"displayName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"division","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"email","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"employeeNumber","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"firstName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificPrefix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificSuffix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"lastName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"locale","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"login","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"manager","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"managerId","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"middleName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"mobilePhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"nickName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"organization","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"postalAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"preferredLanguage","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"primaryPhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"profileUrl","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"secondEmail","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"state","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"streetAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"timezone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"title","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"userType","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"zipCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaDefinitions.go","context":{"operations":{},"model":{"modelName":"UserSchemaDefinitions","properties":[{"$ref":"#/definitions/UserSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"UserSchemaBase"},{"$ref":"#/definitions/UserSchemaPublic","propertyName":"custom","commonType":"object","isObject":true,"model":"UserSchemaPublic"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaProperties.go","context":{"operations":{},"model":{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfile.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfileItem.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPublic.go","context":{"operations":{},"model":{"modelName":"UserSchemaPublic","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"UserSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserType"},"type":"array"}}},"parameters":[],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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":[{"alias":"replaceUserType","arguments":[{"dest":"roleId","src":"id"}],"operation":{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserType"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userTypeCondition.go","context":{"operations":{},"model":{"modelName":"UserTypeCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userVerificationEnum.go","context":{"operations":{},"model":{"modelName":"UserVerificationEnum","enum":["REQUIRED","PREFERRED"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/verificationMethod.go","context":{"operations":{},"model":{"modelName":"VerificationMethod","properties":[{"propertyName":"constraints","commonType":"array","isArray":true,"model":"AccessPolicyConstraints"},{"propertyName":"factorMode","commonType":"string"},{"propertyName":"inactivityPeriod","commonType":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"},{"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":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","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"],"isExtensible":false}}},{"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"},{"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"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$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":[],"crud":[],"tags":["Application"],"isExtensible":false,"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"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","formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"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"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"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"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"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"],"isExtensible":false,"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/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"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"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}}] \ No newline at end of file diff --git a/openapi/generator/index.js b/openapi/generator/index.js index c70394a80..8b4830a09 100644 --- a/openapi/generator/index.js +++ b/openapi/generator/index.js @@ -26,7 +26,7 @@ function getType(obj, prefix = "") { case 'dateTime' : return String.raw`*time.Time`; case 'integer' : - return String.raw`*int64`; + return String.raw`int64`; case 'boolean' : return String.raw`*bool`; case 'hash' : @@ -476,9 +476,8 @@ function getNewClientTagProps(operations) { return tagResources.join("\n\t"); } -function buildModelProperties(model) { +function buildProperties(model) { const properties = {}; - const finalProps = []; if (model.parent !== undefined) { for (let parentProperty of model.parent.properties) { @@ -497,14 +496,75 @@ function buildModelProperties(model) { } } + return properties; +} + +function buildModelProperties(model) { + const finalProps = []; + const properties = buildProperties(model); + for (let propKey in properties) { - finalProps.push(structProp(properties[propKey].propertyName) + " " + - getType(properties[propKey], "*") + createJsonTag(properties[propKey].propertyName)); + var type = getType(properties[propKey], ""); + if (type === "int64") { + finalProps.push(structProp(properties[propKey].propertyName) + " " + + getType(properties[propKey], "*")); + finalProps.push(structProp(properties[propKey].propertyName) + "Ptr *" + + getType(properties[propKey], "*") + createJsonTag(properties[propKey].propertyName)); + } else { + finalProps.push(structProp(properties[propKey].propertyName) + " " + + getType(properties[propKey], "*") + createJsonTag(properties[propKey].propertyName)); + } } return finalProps.join("\n\t"); } +function hasInt64Ptrs(model) { + const properties = buildProperties(model); + + for (let propKey in properties) { + var type = getType(properties[propKey], ""); + if (type === "int64") { + return true; + } + } + + return false; +} + +function buildModelPropertiesForMarshal(model) { + const lines = []; + const properties = buildProperties(model); + for (let propKey in properties) { + var type = getType(properties[propKey], ""); + if (type === "int64") { + var propertyName = structProp(properties[propKey].propertyName); + var propertyNamePtr = structProp(properties[propKey].propertyName + "Ptr"); + lines.push("\tif a." + propertyName + " != 0 {"); + lines.push("\t\tresult." + propertyNamePtr + " = Int64Ptr(a." + propertyName + ")"); + lines.push("\t}"); + } + } + return lines.join("\n\t"); +} + +function buildModelPropertiesForUnmarshal(model) { + const lines = []; + const properties = buildProperties(model); + for (let propKey in properties) { + var type = getType(properties[propKey], ""); + if (type === "int64") { + var propertyName = structProp(properties[propKey].propertyName); + var propertyNamePtr = structProp(properties[propKey].propertyName + "Ptr"); + lines.push("\tif result." + propertyNamePtr + " != nil {"); + lines.push("\t\ta." + propertyName + " = *result." + propertyNamePtr); + lines.push("\t\ta." + propertyNamePtr + " = result." + propertyNamePtr); + lines.push("\t}"); + } + } + return lines.join("\n\t"); +} + function createJsonTag(propertyName) { if (propertyName === "tokenLifetimeMinutes" || propertyName === "accessTokenLifetimeMinutes" || @@ -740,6 +800,9 @@ golang.process = ({spec, operations, models, handlebars}) => { getClientTagResources, getNewClientTagProps, buildModelProperties, + hasInt64Ptrs, + buildModelPropertiesForMarshal, + buildModelPropertiesForUnmarshal, responseModelInterface, applicationModelInterface, factorModelInterface, diff --git a/openapi/generator/templates/model.go.hbs b/openapi/generator/templates/model.go.hbs index 3b6da7a28..2dd3d36be 100644 --- a/openapi/generator/templates/model.go.hbs +++ b/openapi/generator/templates/model.go.hbs @@ -70,7 +70,8 @@ func New{{model.modelName}}() *{{model.modelName}} { {{else if (eq prop.commonType "boolean") }} {{structProp prop.propertyName}}: boolPtr({{prop.default}}), {{else if (eq prop.commonType "integer") }} - {{structProp prop.propertyName}}: int64Ptr({{prop.default}}), + {{structProp prop.propertyName}}: {{prop.default}}, + {{structProp prop.propertyName}}Ptr: Int64Ptr({{prop.default}}), {{else}} {{structProp prop.propertyName}}: {{prop.default}}, {{/if}} @@ -135,6 +136,35 @@ func (a {{model.modelName}}) MarshalJSON() ([]byte, error) { } {{/if}} +{{#unless (eq model.modelName "GroupProfile")}} +{{#if (hasInt64Ptrs model) }} +func (a *{{model.modelName}}) MarshalJSON() ([]byte, error) { + type Alias {{model.modelName}} + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + {{{buildModelPropertiesForMarshal model}}} + return json.Marshal(&result) +} + +func (a *{{model.modelName}}) UnmarshalJSON(data []byte) error { + type Alias {{model.modelName}} + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + {{{buildModelPropertiesForUnmarshal model}}} + return nil +} + +{{/if}} +{{/unless}} {{#if (eq model.modelName "SocialAuthToken")}} func (a *{{model.modelName}}) UnmarshalJSON(data []byte) error { if string(data) == "null" || string(data) == `""` { diff --git a/openapi/generator/templates/okta.go.hbs b/openapi/generator/templates/okta.go.hbs index dc4c2a7f4..3eed1ea6a 100644 --- a/openapi/generator/templates/okta.go.hbs +++ b/openapi/generator/templates/okta.go.hbs @@ -177,6 +177,6 @@ func boolPtr(b bool) *bool { return &b } -func int64Ptr(i int64) *int64 { +func Int64Ptr(i int64) *int64 { return &i } From 01369c417ad698174908fcbd17779bd5b64225e7 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 2 Mar 2023 17:25:54 -0800 Subject: [PATCH 2/4] New openapi spec generated code. --- okta/accessPolicy.go | 40 ++++++++- okta/accessPolicyRule.go | 40 ++++++++- okta/acsEndpoint.go | 37 +++++++- okta/appLink.go | 35 +++++++- okta/application.go | 23 +++++ okta/applicationGroupAssignment.go | 34 ++++++- okta/applicationLicensing.go | 35 +++++++- okta/authenticatorProviderConfiguration.go | 35 +++++++- okta/authenticatorSettings.go | 45 ++++++++-- okta/authorizationServer.go | 1 + okta/authorizationServerPolicy.go | 40 ++++++++- okta/authorizationServerPolicyRule.go | 40 ++++++++- okta/duration.go | 37 +++++++- okta/groupSchemaAttribute.go | 57 ++++++++++-- okta/identityProviderCredentialsTrust.go | 43 +++++++-- okta/identityProviderPolicy.go | 72 +++++++++++---- okta/inactivityPolicyRuleCondition.go | 37 +++++++- okta/ionForm.go | 51 +++++++++-- .../lifecycleExpirationPolicyRuleCondition.go | 35 +++++++- okta/logAuthenticationContext.go | 37 +++++++- okta/logSecurityContext.go | 43 +++++++-- okta/multifactorEnrollmentPolicy.go | 80 +++++++++++++++++ ...orEnrollmentPolicyAuthenticatorSettings.go | 33 +++++++ ...ctorEnrollmentPolicyAuthenticatorStatus.go | 21 +++++ ...factorEnrollmentPolicyAuthenticatorType.go | 21 +++++ okta/multifactorEnrollmentPolicySettings.go | 32 +++++++ ...multifactorEnrollmentPolicySettingsType.go | 21 +++++ okta/oAuthAuthorizationPolicy.go | 40 ++++++++- okta/okta.go | 6 +- okta/oktaSignOnPolicy.go | 40 ++++++++- okta/oktaSignOnPolicyRule.go | 40 ++++++++- okta/oktaSignOnPolicyRuleSignonActions.go | 37 +++++++- ...ktaSignOnPolicyRuleSignonSessionActions.go | 55 ++++++++++-- ...dConnectApplicationSettingsRefreshToken.go | 35 +++++++- okta/passwordCredentialHash.go | 43 +++++++-- okta/passwordExpirationPolicyRuleCondition.go | 37 +++++++- okta/passwordPolicy.go | 42 +++++++-- okta/passwordPolicyPasswordSettingsAge.go | 77 ++++++++++++++-- ...asswordPolicyPasswordSettingsComplexity.go | 90 ++++++++++++++++--- okta/passwordPolicyPasswordSettingsLockout.go | 45 +++++++++- ...asswordPolicyRecoveryEmailRecoveryToken.go | 38 +++++++- ...asswordPolicyRecoveryQuestionComplexity.go | 35 +++++++- okta/passwordPolicyRule.go | 40 ++++++++- okta/policy.go | 40 ++++++++- okta/policyRule.go | 40 ++++++++- okta/profileEnrollmentPolicy.go | 40 ++++++++- okta/profileEnrollmentPolicyRule.go | 40 ++++++++- okta/query/query.go | 10 +++ okta/samlApplicationSettingsSignOn.go | 1 + ...okenAuthorizationServerPolicyRuleAction.go | 57 +++++++++++- okta/user.go | 2 +- okta/userSchemaAttribute.go | 57 ++++++++++-- openapi/generator/index.js | 2 +- 53 files changed, 1843 insertions(+), 171 deletions(-) create mode 100644 okta/multifactorEnrollmentPolicy.go create mode 100644 okta/multifactorEnrollmentPolicyAuthenticatorSettings.go create mode 100644 okta/multifactorEnrollmentPolicyAuthenticatorStatus.go create mode 100644 okta/multifactorEnrollmentPolicyAuthenticatorType.go create mode 100644 okta/multifactorEnrollmentPolicySettings.go create mode 100644 okta/multifactorEnrollmentPolicySettingsType.go diff --git a/okta/accessPolicy.go b/okta/accessPolicy.go index 6162b15ad..c7e9d0a6d 100644 --- a/okta/accessPolicy.go +++ b/okta/accessPolicy.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -31,10 +32,11 @@ type AccessPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewAccessPolicy() *AccessPolicy { @@ -46,3 +48,33 @@ func NewAccessPolicy() *AccessPolicy { func (a *AccessPolicy) IsPolicyInstance() bool { return true } + +func (a *AccessPolicy) MarshalJSON() ([]byte, error) { + type Alias AccessPolicy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *AccessPolicy) UnmarshalJSON(data []byte) error { + type Alias AccessPolicy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/accessPolicyRule.go b/okta/accessPolicyRule.go index 140934359..1f64e7fff 100644 --- a/okta/accessPolicyRule.go +++ b/okta/accessPolicyRule.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -29,10 +30,11 @@ type AccessPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewAccessPolicyRule() *AccessPolicyRule { @@ -46,3 +48,33 @@ func NewAccessPolicyRule() *AccessPolicyRule { func (a *AccessPolicyRule) IsPolicyInstance() bool { return true } + +func (a *AccessPolicyRule) MarshalJSON() ([]byte, error) { + type Alias AccessPolicyRule + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *AccessPolicyRule) UnmarshalJSON(data []byte) error { + type Alias AccessPolicyRule + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/acsEndpoint.go b/okta/acsEndpoint.go index a09c9b8fe..9224542b0 100644 --- a/okta/acsEndpoint.go +++ b/okta/acsEndpoint.go @@ -18,7 +18,40 @@ package okta +import "encoding/json" + type AcsEndpoint struct { - Index *int64 `json:"index,omitempty"` - Url string `json:"url,omitempty"` + Index int64 + IndexPtr *int64 `json:"index,omitempty"` + Url string `json:"url,omitempty"` +} + +func (a *AcsEndpoint) MarshalJSON() ([]byte, error) { + type Alias AcsEndpoint + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Index != 0 { + result.IndexPtr = Int64Ptr(a.Index) + } + return json.Marshal(&result) +} + +func (a *AcsEndpoint) UnmarshalJSON(data []byte) error { + type Alias AcsEndpoint + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.IndexPtr != nil { + a.Index = *result.IndexPtr + a.IndexPtr = result.IndexPtr + } + return nil } diff --git a/okta/appLink.go b/okta/appLink.go index 5f4ead92c..1c71f5ec9 100644 --- a/okta/appLink.go +++ b/okta/appLink.go @@ -18,6 +18,8 @@ package okta +import "encoding/json" + type AppLink struct { AppAssignmentId string `json:"appAssignmentId,omitempty"` AppInstanceId string `json:"appInstanceId,omitempty"` @@ -28,5 +30,36 @@ type AppLink struct { Label string `json:"label,omitempty"` LinkUrl string `json:"linkUrl,omitempty"` LogoUrl string `json:"logoUrl,omitempty"` - SortOrder *int64 `json:"sortOrder,omitempty"` + SortOrder int64 + SortOrderPtr *int64 `json:"sortOrder,omitempty"` +} + +func (a *AppLink) MarshalJSON() ([]byte, error) { + type Alias AppLink + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.SortOrder != 0 { + result.SortOrderPtr = Int64Ptr(a.SortOrder) + } + return json.Marshal(&result) +} + +func (a *AppLink) UnmarshalJSON(data []byte) error { + type Alias AppLink + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.SortOrderPtr != nil { + a.SortOrder = *result.SortOrderPtr + a.SortOrderPtr = result.SortOrderPtr + } + return nil } diff --git a/okta/application.go b/okta/application.go index 1f542c6bf..2fac74f4a 100644 --- a/okta/application.go +++ b/okta/application.go @@ -574,6 +574,7 @@ func (m *ApplicationResource) CreateNewClientSecretForApplication(ctx context.Co return clientSecret, resp, nil } +// Removes a secret from the client's collection of secrets. func (m *ApplicationResource) DeleteClientSecretForApplication(ctx context.Context, appId string, secretId string) (*Response, error) { url := fmt.Sprintf("/api/v1/apps/%v/credentials/secrets/%v", appId, secretId) @@ -987,6 +988,28 @@ func (m *ApplicationResource) UpdateApplicationPolicy(ctx context.Context, appId return resp, nil } +// Previews SAML metadata based on a specific key credential for an application +func (m *ApplicationResource) PreviewSAMLAppMetadata(ctx context.Context, appId string, qp *query.Params) (*Response, error) { + url := fmt.Sprintf("/api/v1/apps/%v/sso/saml/metadata", appId) + if qp != nil { + url = url + qp.String() + } + + rq := m.client.CloneRequestExecutor() + + req, err := rq.WithAccept("application/xml").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, err + } + + resp, err := m.client.requestExecutor.Do(ctx, req, nil) + if err != nil { + return resp, err + } + + return resp, nil +} + // Revokes all tokens for the specified application func (m *ApplicationResource) RevokeOAuth2TokensForApplication(ctx context.Context, appId string) (*Response, error) { url := fmt.Sprintf("/api/v1/apps/%v/tokens", appId) diff --git a/okta/applicationGroupAssignment.go b/okta/applicationGroupAssignment.go index fa88e6ae0..7746c74c9 100644 --- a/okta/applicationGroupAssignment.go +++ b/okta/applicationGroupAssignment.go @@ -20,6 +20,7 @@ package okta import ( "context" + "encoding/json" "fmt" "time" ) @@ -31,7 +32,8 @@ type ApplicationGroupAssignment struct { Links interface{} `json:"_links,omitempty"` Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` - Priority *int64 `json:"priority,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` Profile interface{} `json:"profile,omitempty"` } @@ -53,3 +55,33 @@ func (m *ApplicationGroupAssignmentResource) DeleteApplicationGroupAssignment(ct return resp, nil } + +func (a *ApplicationGroupAssignment) MarshalJSON() ([]byte, error) { + type Alias ApplicationGroupAssignment + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *ApplicationGroupAssignment) UnmarshalJSON(data []byte) error { + type Alias ApplicationGroupAssignment + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/applicationLicensing.go b/okta/applicationLicensing.go index 4dcca1090..943540a94 100644 --- a/okta/applicationLicensing.go +++ b/okta/applicationLicensing.go @@ -18,6 +18,39 @@ package okta +import "encoding/json" + type ApplicationLicensing struct { - SeatCount *int64 `json:"seatCount,omitempty"` + SeatCount int64 + SeatCountPtr *int64 `json:"seatCount,omitempty"` +} + +func (a *ApplicationLicensing) MarshalJSON() ([]byte, error) { + type Alias ApplicationLicensing + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.SeatCount != 0 { + result.SeatCountPtr = Int64Ptr(a.SeatCount) + } + return json.Marshal(&result) +} + +func (a *ApplicationLicensing) UnmarshalJSON(data []byte) error { + type Alias ApplicationLicensing + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.SeatCountPtr != nil { + a.SeatCount = *result.SeatCountPtr + a.SeatCountPtr = result.SeatCountPtr + } + return nil } diff --git a/okta/authenticatorProviderConfiguration.go b/okta/authenticatorProviderConfiguration.go index 50d44a98f..38342475d 100644 --- a/okta/authenticatorProviderConfiguration.go +++ b/okta/authenticatorProviderConfiguration.go @@ -18,8 +18,11 @@ package okta +import "encoding/json" + type AuthenticatorProviderConfiguration struct { - AuthPort *int64 `json:"authPort,omitempty"` + AuthPort int64 + AuthPortPtr *int64 `json:"authPort,omitempty"` Host string `json:"host,omitempty"` HostName string `json:"hostName,omitempty"` InstanceId string `json:"instanceId,omitempty"` @@ -28,3 +31,33 @@ type AuthenticatorProviderConfiguration struct { SharedSecret string `json:"sharedSecret,omitempty"` UserNameTemplate *AuthenticatorProviderConfigurationUserNamePlate `json:"userNameTemplate,omitempty"` } + +func (a *AuthenticatorProviderConfiguration) MarshalJSON() ([]byte, error) { + type Alias AuthenticatorProviderConfiguration + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.AuthPort != 0 { + result.AuthPortPtr = Int64Ptr(a.AuthPort) + } + return json.Marshal(&result) +} + +func (a *AuthenticatorProviderConfiguration) UnmarshalJSON(data []byte) error { + type Alias AuthenticatorProviderConfiguration + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.AuthPortPtr != nil { + a.AuthPort = *result.AuthPortPtr + a.AuthPortPtr = result.AuthPortPtr + } + return nil +} diff --git a/okta/authenticatorSettings.go b/okta/authenticatorSettings.go index 0833c946d..8d7188feb 100644 --- a/okta/authenticatorSettings.go +++ b/okta/authenticatorSettings.go @@ -18,11 +18,44 @@ package okta +import "encoding/json" + type AuthenticatorSettings struct { - AllowedFor string `json:"allowedFor,omitempty"` - AppInstanceId string `json:"appInstanceId,omitempty"` - ChannelBinding *ChannelBinding `json:"channelBinding,omitempty"` - Compliance *Compliance `json:"compliance,omitempty"` - TokenLifetimeInMinutes *int64 `json:"tokenLifetimeInMinutes,omitempty"` - UserVerification string `json:"userVerification,omitempty"` + AllowedFor string `json:"allowedFor,omitempty"` + AppInstanceId string `json:"appInstanceId,omitempty"` + ChannelBinding *ChannelBinding `json:"channelBinding,omitempty"` + Compliance *Compliance `json:"compliance,omitempty"` + TokenLifetimeInMinutes int64 + TokenLifetimeInMinutesPtr *int64 `json:"tokenLifetimeInMinutes,omitempty"` + UserVerification string `json:"userVerification,omitempty"` +} + +func (a *AuthenticatorSettings) MarshalJSON() ([]byte, error) { + type Alias AuthenticatorSettings + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.TokenLifetimeInMinutes != 0 { + result.TokenLifetimeInMinutesPtr = Int64Ptr(a.TokenLifetimeInMinutes) + } + return json.Marshal(&result) +} + +func (a *AuthenticatorSettings) UnmarshalJSON(data []byte) error { + type Alias AuthenticatorSettings + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.TokenLifetimeInMinutesPtr != nil { + a.TokenLifetimeInMinutes = *result.TokenLifetimeInMinutesPtr + a.TokenLifetimeInMinutesPtr = result.TokenLifetimeInMinutesPtr + } + return nil } diff --git a/okta/authorizationServer.go b/okta/authorizationServer.go index f6a3b563f..59727a084 100644 --- a/okta/authorizationServer.go +++ b/okta/authorizationServer.go @@ -33,6 +33,7 @@ type AuthorizationServer struct { Audiences []string `json:"audiences,omitempty"` Created *time.Time `json:"created,omitempty"` Credentials *AuthorizationServerCredentials `json:"credentials,omitempty"` + Default *bool `json:"default,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Issuer string `json:"issuer,omitempty"` diff --git a/okta/authorizationServerPolicy.go b/okta/authorizationServerPolicy.go index c7c3e059b..e033b8bde 100644 --- a/okta/authorizationServerPolicy.go +++ b/okta/authorizationServerPolicy.go @@ -20,6 +20,7 @@ package okta import ( "context" + "encoding/json" "fmt" "time" ) @@ -35,10 +36,11 @@ type AuthorizationServerPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func (m *AuthorizationServerPolicyResource) GetAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string) (*AuthorizationServerPolicy, *Response, error) { @@ -98,3 +100,33 @@ func (m *AuthorizationServerPolicyResource) DeleteAuthorizationServerPolicy(ctx return resp, nil } + +func (a *AuthorizationServerPolicy) MarshalJSON() ([]byte, error) { + type Alias AuthorizationServerPolicy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *AuthorizationServerPolicy) UnmarshalJSON(data []byte) error { + type Alias AuthorizationServerPolicy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/authorizationServerPolicyRule.go b/okta/authorizationServerPolicyRule.go index 5fedf71d5..4f7c8bbe6 100644 --- a/okta/authorizationServerPolicyRule.go +++ b/okta/authorizationServerPolicyRule.go @@ -20,6 +20,7 @@ package okta import ( "context" + "encoding/json" "fmt" "time" ) @@ -33,10 +34,11 @@ type AuthorizationServerPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } // Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy. @@ -78,3 +80,33 @@ func (m *AuthorizationServerPolicyRuleResource) DeleteAuthorizationServerPolicyR return resp, nil } + +func (a *AuthorizationServerPolicyRule) MarshalJSON() ([]byte, error) { + type Alias AuthorizationServerPolicyRule + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *AuthorizationServerPolicyRule) UnmarshalJSON(data []byte) error { + type Alias AuthorizationServerPolicyRule + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/duration.go b/okta/duration.go index ee30d1b7f..47c4953a2 100644 --- a/okta/duration.go +++ b/okta/duration.go @@ -18,9 +18,12 @@ package okta +import "encoding/json" + type Duration struct { - Number *int64 `json:"number,omitempty"` - Unit string `json:"unit,omitempty"` + Number int64 + NumberPtr *int64 `json:"number,omitempty"` + Unit string `json:"unit,omitempty"` } func NewDuration() *Duration { @@ -30,3 +33,33 @@ func NewDuration() *Duration { func (a *Duration) IsPolicyInstance() bool { return true } + +func (a *Duration) MarshalJSON() ([]byte, error) { + type Alias Duration + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Number != 0 { + result.NumberPtr = Int64Ptr(a.Number) + } + return json.Marshal(&result) +} + +func (a *Duration) UnmarshalJSON(data []byte) error { + type Alias Duration + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.NumberPtr != nil { + a.Number = *result.NumberPtr + a.NumberPtr = result.NumberPtr + } + return nil +} diff --git a/okta/groupSchemaAttribute.go b/okta/groupSchemaAttribute.go index 97b358b68..20c933d20 100644 --- a/okta/groupSchemaAttribute.go +++ b/okta/groupSchemaAttribute.go @@ -18,15 +18,19 @@ package okta +import "encoding/json" + type GroupSchemaAttribute struct { - Description string `json:"description,omitempty"` - Enum []interface{} `json:"enum,omitempty"` - ExternalName string `json:"externalName,omitempty"` - ExternalNamespace string `json:"externalNamespace,omitempty"` - Items *UserSchemaAttributeItems `json:"items,omitempty"` - Master *UserSchemaAttributeMaster `json:"master,omitempty"` - MaxLength *int64 `json:"maxLength,omitempty"` - MinLength *int64 `json:"minLength,omitempty"` + Description string `json:"description,omitempty"` + Enum []interface{} `json:"enum,omitempty"` + ExternalName string `json:"externalName,omitempty"` + ExternalNamespace string `json:"externalNamespace,omitempty"` + Items *UserSchemaAttributeItems `json:"items,omitempty"` + Master *UserSchemaAttributeMaster `json:"master,omitempty"` + MaxLength int64 + MaxLengthPtr *int64 `json:"maxLength,omitempty"` + MinLength int64 + MinLengthPtr *int64 `json:"minLength,omitempty"` Mutability string `json:"mutability,omitempty"` OneOf []*UserSchemaAttributeEnum `json:"oneOf,omitempty"` Permissions []*UserSchemaAttributePermission `json:"permissions,omitempty"` @@ -37,3 +41,40 @@ type GroupSchemaAttribute struct { Union string `json:"union,omitempty"` Unique string `json:"unique,omitempty"` } + +func (a *GroupSchemaAttribute) MarshalJSON() ([]byte, error) { + type Alias GroupSchemaAttribute + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.MaxLength != 0 { + result.MaxLengthPtr = Int64Ptr(a.MaxLength) + } + if a.MinLength != 0 { + result.MinLengthPtr = Int64Ptr(a.MinLength) + } + return json.Marshal(&result) +} + +func (a *GroupSchemaAttribute) UnmarshalJSON(data []byte) error { + type Alias GroupSchemaAttribute + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.MaxLengthPtr != nil { + a.MaxLength = *result.MaxLengthPtr + a.MaxLengthPtr = result.MaxLengthPtr + } + if result.MinLengthPtr != nil { + a.MinLength = *result.MinLengthPtr + a.MinLengthPtr = result.MinLengthPtr + } + return nil +} diff --git a/okta/identityProviderCredentialsTrust.go b/okta/identityProviderCredentialsTrust.go index f37d7a12b..aac50f1cf 100644 --- a/okta/identityProviderCredentialsTrust.go +++ b/okta/identityProviderCredentialsTrust.go @@ -18,10 +18,43 @@ package okta +import "encoding/json" + type IdentityProviderCredentialsTrust struct { - Audience string `json:"audience,omitempty"` - Issuer string `json:"issuer,omitempty"` - Kid string `json:"kid,omitempty"` - Revocation string `json:"revocation,omitempty"` - RevocationCacheLifetime *int64 `json:"revocationCacheLifetime,omitempty"` + Audience string `json:"audience,omitempty"` + Issuer string `json:"issuer,omitempty"` + Kid string `json:"kid,omitempty"` + Revocation string `json:"revocation,omitempty"` + RevocationCacheLifetime int64 + RevocationCacheLifetimePtr *int64 `json:"revocationCacheLifetime,omitempty"` +} + +func (a *IdentityProviderCredentialsTrust) MarshalJSON() ([]byte, error) { + type Alias IdentityProviderCredentialsTrust + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.RevocationCacheLifetime != 0 { + result.RevocationCacheLifetimePtr = Int64Ptr(a.RevocationCacheLifetime) + } + return json.Marshal(&result) +} + +func (a *IdentityProviderCredentialsTrust) UnmarshalJSON(data []byte) error { + type Alias IdentityProviderCredentialsTrust + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.RevocationCacheLifetimePtr != nil { + a.RevocationCacheLifetime = *result.RevocationCacheLifetimePtr + a.RevocationCacheLifetimePtr = result.RevocationCacheLifetimePtr + } + return nil } diff --git a/okta/identityProviderPolicy.go b/okta/identityProviderPolicy.go index 767e4d6af..aba4425ff 100644 --- a/okta/identityProviderPolicy.go +++ b/okta/identityProviderPolicy.go @@ -19,26 +19,29 @@ package okta import ( + "encoding/json" "time" ) type IdentityProviderPolicy struct { - Embedded interface{} `json:"_embedded,omitempty"` - Links interface{} `json:"_links,omitempty"` - Conditions *PolicyRuleConditions `json:"conditions,omitempty"` - Created *time.Time `json:"created,omitempty"` - Description string `json:"description,omitempty"` - Id string `json:"id,omitempty"` - LastUpdated *time.Time `json:"lastUpdated,omitempty"` - Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` - AccountLink *PolicyAccountLink `json:"accountLink,omitempty"` - MaxClockSkew *int64 `json:"maxClockSkew,omitempty"` - Provisioning *Provisioning `json:"provisioning,omitempty"` - Subject *PolicySubject `json:"subject,omitempty"` + Embedded interface{} `json:"_embedded,omitempty"` + Links interface{} `json:"_links,omitempty"` + Conditions *PolicyRuleConditions `json:"conditions,omitempty"` + Created *time.Time `json:"created,omitempty"` + Description string `json:"description,omitempty"` + Id string `json:"id,omitempty"` + LastUpdated *time.Time `json:"lastUpdated,omitempty"` + Name string `json:"name,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` + AccountLink *PolicyAccountLink `json:"accountLink,omitempty"` + MaxClockSkew int64 + MaxClockSkewPtr *int64 `json:"maxClockSkew,omitempty"` + Provisioning *Provisioning `json:"provisioning,omitempty"` + Subject *PolicySubject `json:"subject,omitempty"` } func NewIdentityProviderPolicy() *IdentityProviderPolicy { @@ -50,3 +53,40 @@ func NewIdentityProviderPolicy() *IdentityProviderPolicy { func (a *IdentityProviderPolicy) IsPolicyInstance() bool { return true } + +func (a *IdentityProviderPolicy) MarshalJSON() ([]byte, error) { + type Alias IdentityProviderPolicy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + if a.MaxClockSkew != 0 { + result.MaxClockSkewPtr = Int64Ptr(a.MaxClockSkew) + } + return json.Marshal(&result) +} + +func (a *IdentityProviderPolicy) UnmarshalJSON(data []byte) error { + type Alias IdentityProviderPolicy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + if result.MaxClockSkewPtr != nil { + a.MaxClockSkew = *result.MaxClockSkewPtr + a.MaxClockSkewPtr = result.MaxClockSkewPtr + } + return nil +} diff --git a/okta/inactivityPolicyRuleCondition.go b/okta/inactivityPolicyRuleCondition.go index 1f347ef42..3a3ae2305 100644 --- a/okta/inactivityPolicyRuleCondition.go +++ b/okta/inactivityPolicyRuleCondition.go @@ -18,9 +18,12 @@ package okta +import "encoding/json" + type InactivityPolicyRuleCondition struct { - Number *int64 `json:"number,omitempty"` - Unit string `json:"unit,omitempty"` + Number int64 + NumberPtr *int64 `json:"number,omitempty"` + Unit string `json:"unit,omitempty"` } func NewInactivityPolicyRuleCondition() *InactivityPolicyRuleCondition { @@ -30,3 +33,33 @@ func NewInactivityPolicyRuleCondition() *InactivityPolicyRuleCondition { func (a *InactivityPolicyRuleCondition) IsPolicyInstance() bool { return true } + +func (a *InactivityPolicyRuleCondition) MarshalJSON() ([]byte, error) { + type Alias InactivityPolicyRuleCondition + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Number != 0 { + result.NumberPtr = Int64Ptr(a.Number) + } + return json.Marshal(&result) +} + +func (a *InactivityPolicyRuleCondition) UnmarshalJSON(data []byte) error { + type Alias InactivityPolicyRuleCondition + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.NumberPtr != nil { + a.Number = *result.NumberPtr + a.NumberPtr = result.NumberPtr + } + return nil +} diff --git a/okta/ionForm.go b/okta/ionForm.go index c5297945f..0cd441cc0 100644 --- a/okta/ionForm.go +++ b/okta/ionForm.go @@ -18,14 +18,47 @@ package okta +import "encoding/json" + type IonForm struct { - Accepts string `json:"accepts,omitempty"` - Href string `json:"href,omitempty"` - Method string `json:"method,omitempty"` - Name string `json:"name,omitempty"` - Produces string `json:"produces,omitempty"` - Refresh *int64 `json:"refresh,omitempty"` - Rel []string `json:"rel,omitempty"` - RelatesTo []string `json:"relatesTo,omitempty"` - Value []*IonField `json:"value,omitempty"` + Accepts string `json:"accepts,omitempty"` + Href string `json:"href,omitempty"` + Method string `json:"method,omitempty"` + Name string `json:"name,omitempty"` + Produces string `json:"produces,omitempty"` + Refresh int64 + RefreshPtr *int64 `json:"refresh,omitempty"` + Rel []string `json:"rel,omitempty"` + RelatesTo []string `json:"relatesTo,omitempty"` + Value []*IonField `json:"value,omitempty"` +} + +func (a *IonForm) MarshalJSON() ([]byte, error) { + type Alias IonForm + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Refresh != 0 { + result.RefreshPtr = Int64Ptr(a.Refresh) + } + return json.Marshal(&result) +} + +func (a *IonForm) UnmarshalJSON(data []byte) error { + type Alias IonForm + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.RefreshPtr != nil { + a.Refresh = *result.RefreshPtr + a.RefreshPtr = result.RefreshPtr + } + return nil } diff --git a/okta/lifecycleExpirationPolicyRuleCondition.go b/okta/lifecycleExpirationPolicyRuleCondition.go index d86296e55..5a8741d0d 100644 --- a/okta/lifecycleExpirationPolicyRuleCondition.go +++ b/okta/lifecycleExpirationPolicyRuleCondition.go @@ -18,9 +18,12 @@ package okta +import "encoding/json" + type LifecycleExpirationPolicyRuleCondition struct { LifecycleStatus string `json:"lifecycleStatus,omitempty"` - Number *int64 `json:"number,omitempty"` + Number int64 + NumberPtr *int64 `json:"number,omitempty"` Unit string `json:"unit,omitempty"` } @@ -31,3 +34,33 @@ func NewLifecycleExpirationPolicyRuleCondition() *LifecycleExpirationPolicyRuleC func (a *LifecycleExpirationPolicyRuleCondition) IsPolicyInstance() bool { return true } + +func (a *LifecycleExpirationPolicyRuleCondition) MarshalJSON() ([]byte, error) { + type Alias LifecycleExpirationPolicyRuleCondition + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Number != 0 { + result.NumberPtr = Int64Ptr(a.Number) + } + return json.Marshal(&result) +} + +func (a *LifecycleExpirationPolicyRuleCondition) UnmarshalJSON(data []byte) error { + type Alias LifecycleExpirationPolicyRuleCondition + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.NumberPtr != nil { + a.Number = *result.NumberPtr + a.NumberPtr = result.NumberPtr + } + return nil +} diff --git a/okta/logAuthenticationContext.go b/okta/logAuthenticationContext.go index 5fc58677c..1cf4c95d3 100644 --- a/okta/logAuthenticationContext.go +++ b/okta/logAuthenticationContext.go @@ -18,12 +18,45 @@ package okta +import "encoding/json" + type LogAuthenticationContext struct { - AuthenticationProvider string `json:"authenticationProvider,omitempty"` - AuthenticationStep *int64 `json:"authenticationStep,omitempty"` + AuthenticationProvider string `json:"authenticationProvider,omitempty"` + AuthenticationStep int64 + AuthenticationStepPtr *int64 `json:"authenticationStep,omitempty"` CredentialProvider string `json:"credentialProvider,omitempty"` CredentialType string `json:"credentialType,omitempty"` ExternalSessionId string `json:"externalSessionId,omitempty"` Interface string `json:"interface,omitempty"` Issuer *LogIssuer `json:"issuer,omitempty"` } + +func (a *LogAuthenticationContext) MarshalJSON() ([]byte, error) { + type Alias LogAuthenticationContext + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.AuthenticationStep != 0 { + result.AuthenticationStepPtr = Int64Ptr(a.AuthenticationStep) + } + return json.Marshal(&result) +} + +func (a *LogAuthenticationContext) UnmarshalJSON(data []byte) error { + type Alias LogAuthenticationContext + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.AuthenticationStepPtr != nil { + a.AuthenticationStep = *result.AuthenticationStepPtr + a.AuthenticationStepPtr = result.AuthenticationStepPtr + } + return nil +} diff --git a/okta/logSecurityContext.go b/okta/logSecurityContext.go index bb5c8b424..7054c375e 100644 --- a/okta/logSecurityContext.go +++ b/okta/logSecurityContext.go @@ -18,10 +18,43 @@ package okta +import "encoding/json" + type LogSecurityContext struct { - AsNumber *int64 `json:"asNumber,omitempty"` - AsOrg string `json:"asOrg,omitempty"` - Domain string `json:"domain,omitempty"` - IsProxy *bool `json:"isProxy,omitempty"` - Isp string `json:"isp,omitempty"` + AsNumber int64 + AsNumberPtr *int64 `json:"asNumber,omitempty"` + AsOrg string `json:"asOrg,omitempty"` + Domain string `json:"domain,omitempty"` + IsProxy *bool `json:"isProxy,omitempty"` + Isp string `json:"isp,omitempty"` +} + +func (a *LogSecurityContext) MarshalJSON() ([]byte, error) { + type Alias LogSecurityContext + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.AsNumber != 0 { + result.AsNumberPtr = Int64Ptr(a.AsNumber) + } + return json.Marshal(&result) +} + +func (a *LogSecurityContext) UnmarshalJSON(data []byte) error { + type Alias LogSecurityContext + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.AsNumberPtr != nil { + a.AsNumber = *result.AsNumberPtr + a.AsNumberPtr = result.AsNumberPtr + } + return nil } diff --git a/okta/multifactorEnrollmentPolicy.go b/okta/multifactorEnrollmentPolicy.go new file mode 100644 index 000000000..95ef13972 --- /dev/null +++ b/okta/multifactorEnrollmentPolicy.go @@ -0,0 +1,80 @@ +/* +* 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 + +import ( + "encoding/json" + "time" +) + +type MultifactorEnrollmentPolicy struct { + Embedded interface{} `json:"_embedded,omitempty"` + Links interface{} `json:"_links,omitempty"` + Conditions *PolicyRuleConditions `json:"conditions,omitempty"` + Created *time.Time `json:"created,omitempty"` + Description string `json:"description,omitempty"` + Id string `json:"id,omitempty"` + LastUpdated *time.Time `json:"lastUpdated,omitempty"` + Name string `json:"name,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` +} + +func NewMultifactorEnrollmentPolicy() *MultifactorEnrollmentPolicy { + return &MultifactorEnrollmentPolicy{ + Type: "MFA_ENROLL", + } +} + +func (a *MultifactorEnrollmentPolicy) IsPolicyInstance() bool { + return true +} + +func (a *MultifactorEnrollmentPolicy) MarshalJSON() ([]byte, error) { + type Alias MultifactorEnrollmentPolicy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *MultifactorEnrollmentPolicy) UnmarshalJSON(data []byte) error { + type Alias MultifactorEnrollmentPolicy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/multifactorEnrollmentPolicyAuthenticatorSettings.go b/okta/multifactorEnrollmentPolicyAuthenticatorSettings.go new file mode 100644 index 000000000..9da8ac48c --- /dev/null +++ b/okta/multifactorEnrollmentPolicyAuthenticatorSettings.go @@ -0,0 +1,33 @@ +/* +* 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 MultifactorEnrollmentPolicyAuthenticatorSettings struct { + Constraints string `json:"constraints,omitempty"` + Enroll string `json:"enroll,omitempty"` + Key string `json:"key,omitempty"` +} + +func NewMultifactorEnrollmentPolicyAuthenticatorSettings() *MultifactorEnrollmentPolicyAuthenticatorSettings { + return &MultifactorEnrollmentPolicyAuthenticatorSettings{} +} + +func (a *MultifactorEnrollmentPolicyAuthenticatorSettings) IsPolicyInstance() bool { + return true +} diff --git a/okta/multifactorEnrollmentPolicyAuthenticatorStatus.go b/okta/multifactorEnrollmentPolicyAuthenticatorStatus.go new file mode 100644 index 000000000..c04552d07 --- /dev/null +++ b/okta/multifactorEnrollmentPolicyAuthenticatorStatus.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 MultifactorEnrollmentPolicyAuthenticatorStatus string diff --git a/okta/multifactorEnrollmentPolicyAuthenticatorType.go b/okta/multifactorEnrollmentPolicyAuthenticatorType.go new file mode 100644 index 000000000..4ae4e1e2f --- /dev/null +++ b/okta/multifactorEnrollmentPolicyAuthenticatorType.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 MultifactorEnrollmentPolicyAuthenticatorType string diff --git a/okta/multifactorEnrollmentPolicySettings.go b/okta/multifactorEnrollmentPolicySettings.go new file mode 100644 index 000000000..2a576332a --- /dev/null +++ b/okta/multifactorEnrollmentPolicySettings.go @@ -0,0 +1,32 @@ +/* +* 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 MultifactorEnrollmentPolicySettings struct { + Authenticators []*MultifactorEnrollmentPolicyAuthenticatorSettings `json:"authenticators,omitempty"` + Type string `json:"type,omitempty"` +} + +func NewMultifactorEnrollmentPolicySettings() *MultifactorEnrollmentPolicySettings { + return &MultifactorEnrollmentPolicySettings{} +} + +func (a *MultifactorEnrollmentPolicySettings) IsPolicyInstance() bool { + return true +} diff --git a/okta/multifactorEnrollmentPolicySettingsType.go b/okta/multifactorEnrollmentPolicySettingsType.go new file mode 100644 index 000000000..9a3783cdb --- /dev/null +++ b/okta/multifactorEnrollmentPolicySettingsType.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 MultifactorEnrollmentPolicySettingsType string diff --git a/okta/oAuthAuthorizationPolicy.go b/okta/oAuthAuthorizationPolicy.go index f6a4d2b34..1b049f611 100644 --- a/okta/oAuthAuthorizationPolicy.go +++ b/okta/oAuthAuthorizationPolicy.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -31,10 +32,11 @@ type OAuthAuthorizationPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewOAuthAuthorizationPolicy() *OAuthAuthorizationPolicy { @@ -46,3 +48,33 @@ func NewOAuthAuthorizationPolicy() *OAuthAuthorizationPolicy { func (a *OAuthAuthorizationPolicy) IsPolicyInstance() bool { return true } + +func (a *OAuthAuthorizationPolicy) MarshalJSON() ([]byte, error) { + type Alias OAuthAuthorizationPolicy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *OAuthAuthorizationPolicy) UnmarshalJSON(data []byte) error { + type Alias OAuthAuthorizationPolicy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/okta.go b/okta/okta.go index 1d260ac44..f1d40a9aa 100644 --- a/okta/okta.go +++ b/okta/okta.go @@ -32,7 +32,7 @@ import ( "gopkg.in/yaml.v3" ) -const Version = "2.16.0" +const Version = "2.17.0" type Client struct { config *config @@ -160,7 +160,7 @@ func (c *Client) SetConfig(conf ...ConfigSetter) (err error) { return } c.config = config - return + return } // GetRequestExecutor returns underlying request executor @@ -243,6 +243,6 @@ func boolPtr(b bool) *bool { return &b } -func int64Ptr(i int64) *int64 { +func Int64Ptr(i int64) *int64 { return &i } diff --git a/okta/oktaSignOnPolicy.go b/okta/oktaSignOnPolicy.go index 0513ee8d4..e4829ca86 100644 --- a/okta/oktaSignOnPolicy.go +++ b/okta/oktaSignOnPolicy.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -31,10 +32,11 @@ type OktaSignOnPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewOktaSignOnPolicy() *OktaSignOnPolicy { @@ -46,3 +48,33 @@ func NewOktaSignOnPolicy() *OktaSignOnPolicy { func (a *OktaSignOnPolicy) IsPolicyInstance() bool { return true } + +func (a *OktaSignOnPolicy) MarshalJSON() ([]byte, error) { + type Alias OktaSignOnPolicy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *OktaSignOnPolicy) UnmarshalJSON(data []byte) error { + type Alias OktaSignOnPolicy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/oktaSignOnPolicyRule.go b/okta/oktaSignOnPolicyRule.go index 0d7bd1231..d925e5a28 100644 --- a/okta/oktaSignOnPolicyRule.go +++ b/okta/oktaSignOnPolicyRule.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -29,10 +30,11 @@ type OktaSignOnPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewOktaSignOnPolicyRule() *OktaSignOnPolicyRule { @@ -46,3 +48,33 @@ func NewOktaSignOnPolicyRule() *OktaSignOnPolicyRule { func (a *OktaSignOnPolicyRule) IsPolicyInstance() bool { return true } + +func (a *OktaSignOnPolicyRule) MarshalJSON() ([]byte, error) { + type Alias OktaSignOnPolicyRule + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *OktaSignOnPolicyRule) UnmarshalJSON(data []byte) error { + type Alias OktaSignOnPolicyRule + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/oktaSignOnPolicyRuleSignonActions.go b/okta/oktaSignOnPolicyRuleSignonActions.go index 3c2829fc4..eba5fa2ca 100644 --- a/okta/oktaSignOnPolicyRuleSignonActions.go +++ b/okta/oktaSignOnPolicyRuleSignonActions.go @@ -18,9 +18,12 @@ package okta +import "encoding/json" + type OktaSignOnPolicyRuleSignonActions struct { - Access string `json:"access,omitempty"` - FactorLifetime *int64 `json:"factorLifetime,omitempty"` + Access string `json:"access,omitempty"` + FactorLifetime int64 + FactorLifetimePtr *int64 `json:"factorLifetime,omitempty"` FactorPromptMode string `json:"factorPromptMode,omitempty"` RememberDeviceByDefault *bool `json:"rememberDeviceByDefault,omitempty"` RequireFactor *bool `json:"requireFactor,omitempty"` @@ -37,3 +40,33 @@ func NewOktaSignOnPolicyRuleSignonActions() *OktaSignOnPolicyRuleSignonActions { func (a *OktaSignOnPolicyRuleSignonActions) IsPolicyInstance() bool { return true } + +func (a *OktaSignOnPolicyRuleSignonActions) MarshalJSON() ([]byte, error) { + type Alias OktaSignOnPolicyRuleSignonActions + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.FactorLifetime != 0 { + result.FactorLifetimePtr = Int64Ptr(a.FactorLifetime) + } + return json.Marshal(&result) +} + +func (a *OktaSignOnPolicyRuleSignonActions) UnmarshalJSON(data []byte) error { + type Alias OktaSignOnPolicyRuleSignonActions + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.FactorLifetimePtr != nil { + a.FactorLifetime = *result.FactorLifetimePtr + a.FactorLifetimePtr = result.FactorLifetimePtr + } + return nil +} diff --git a/okta/oktaSignOnPolicyRuleSignonSessionActions.go b/okta/oktaSignOnPolicyRuleSignonSessionActions.go index 353897a15..4343656e0 100644 --- a/okta/oktaSignOnPolicyRuleSignonSessionActions.go +++ b/okta/oktaSignOnPolicyRuleSignonSessionActions.go @@ -18,20 +18,63 @@ package okta +import "encoding/json" + type OktaSignOnPolicyRuleSignonSessionActions struct { - MaxSessionIdleMinutes *int64 `json:"maxSessionIdleMinutes"` - MaxSessionLifetimeMinutes *int64 `json:"maxSessionLifetimeMinutes"` - UsePersistentCookie *bool `json:"usePersistentCookie,omitempty"` + MaxSessionIdleMinutes int64 + MaxSessionIdleMinutesPtr *int64 `json:"maxSessionIdleMinutes"` + MaxSessionLifetimeMinutes int64 + MaxSessionLifetimeMinutesPtr *int64 `json:"maxSessionLifetimeMinutes"` + UsePersistentCookie *bool `json:"usePersistentCookie,omitempty"` } func NewOktaSignOnPolicyRuleSignonSessionActions() *OktaSignOnPolicyRuleSignonSessionActions { return &OktaSignOnPolicyRuleSignonSessionActions{ - MaxSessionIdleMinutes: int64Ptr(120), - MaxSessionLifetimeMinutes: int64Ptr(0), - UsePersistentCookie: boolPtr(false), + MaxSessionIdleMinutes: 120, + MaxSessionIdleMinutesPtr: Int64Ptr(120), + MaxSessionLifetimeMinutes: 0, + MaxSessionLifetimeMinutesPtr: Int64Ptr(0), + UsePersistentCookie: boolPtr(false), } } func (a *OktaSignOnPolicyRuleSignonSessionActions) IsPolicyInstance() bool { return true } + +func (a *OktaSignOnPolicyRuleSignonSessionActions) MarshalJSON() ([]byte, error) { + type Alias OktaSignOnPolicyRuleSignonSessionActions + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.MaxSessionIdleMinutes != 0 { + result.MaxSessionIdleMinutesPtr = Int64Ptr(a.MaxSessionIdleMinutes) + } + if a.MaxSessionLifetimeMinutes != 0 { + result.MaxSessionLifetimeMinutesPtr = Int64Ptr(a.MaxSessionLifetimeMinutes) + } + return json.Marshal(&result) +} + +func (a *OktaSignOnPolicyRuleSignonSessionActions) UnmarshalJSON(data []byte) error { + type Alias OktaSignOnPolicyRuleSignonSessionActions + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.MaxSessionIdleMinutesPtr != nil { + a.MaxSessionIdleMinutes = *result.MaxSessionIdleMinutesPtr + a.MaxSessionIdleMinutesPtr = result.MaxSessionIdleMinutesPtr + } + if result.MaxSessionLifetimeMinutesPtr != nil { + a.MaxSessionLifetimeMinutes = *result.MaxSessionLifetimeMinutesPtr + a.MaxSessionLifetimeMinutesPtr = result.MaxSessionLifetimeMinutesPtr + } + return nil +} diff --git a/okta/openIdConnectApplicationSettingsRefreshToken.go b/okta/openIdConnectApplicationSettingsRefreshToken.go index 6b6cbdf7f..847fc5a93 100644 --- a/okta/openIdConnectApplicationSettingsRefreshToken.go +++ b/okta/openIdConnectApplicationSettingsRefreshToken.go @@ -18,7 +18,40 @@ package okta +import "encoding/json" + type OpenIdConnectApplicationSettingsRefreshToken struct { - Leeway *int64 `json:"leeway"` + Leeway int64 + LeewayPtr *int64 `json:"leeway"` RotationType string `json:"rotation_type,omitempty"` } + +func (a *OpenIdConnectApplicationSettingsRefreshToken) MarshalJSON() ([]byte, error) { + type Alias OpenIdConnectApplicationSettingsRefreshToken + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Leeway != 0 { + result.LeewayPtr = Int64Ptr(a.Leeway) + } + return json.Marshal(&result) +} + +func (a *OpenIdConnectApplicationSettingsRefreshToken) UnmarshalJSON(data []byte) error { + type Alias OpenIdConnectApplicationSettingsRefreshToken + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.LeewayPtr != nil { + a.Leeway = *result.LeewayPtr + a.LeewayPtr = result.LeewayPtr + } + return nil +} diff --git a/okta/passwordCredentialHash.go b/okta/passwordCredentialHash.go index a7a8d3e69..f3c679397 100644 --- a/okta/passwordCredentialHash.go +++ b/okta/passwordCredentialHash.go @@ -18,10 +18,43 @@ package okta +import "encoding/json" + type PasswordCredentialHash struct { - Algorithm string `json:"algorithm,omitempty"` - Salt string `json:"salt,omitempty"` - SaltOrder string `json:"saltOrder,omitempty"` - Value string `json:"value,omitempty"` - WorkFactor *int64 `json:"workFactor,omitempty"` + Algorithm string `json:"algorithm,omitempty"` + Salt string `json:"salt,omitempty"` + SaltOrder string `json:"saltOrder,omitempty"` + Value string `json:"value,omitempty"` + WorkFactor int64 + WorkFactorPtr *int64 `json:"workFactor,omitempty"` +} + +func (a *PasswordCredentialHash) MarshalJSON() ([]byte, error) { + type Alias PasswordCredentialHash + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.WorkFactor != 0 { + result.WorkFactorPtr = Int64Ptr(a.WorkFactor) + } + return json.Marshal(&result) +} + +func (a *PasswordCredentialHash) UnmarshalJSON(data []byte) error { + type Alias PasswordCredentialHash + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.WorkFactorPtr != nil { + a.WorkFactor = *result.WorkFactorPtr + a.WorkFactorPtr = result.WorkFactorPtr + } + return nil } diff --git a/okta/passwordExpirationPolicyRuleCondition.go b/okta/passwordExpirationPolicyRuleCondition.go index c9a7e5388..0e7946a30 100644 --- a/okta/passwordExpirationPolicyRuleCondition.go +++ b/okta/passwordExpirationPolicyRuleCondition.go @@ -18,9 +18,12 @@ package okta +import "encoding/json" + type PasswordExpirationPolicyRuleCondition struct { - Number *int64 `json:"number,omitempty"` - Unit string `json:"unit,omitempty"` + Number int64 + NumberPtr *int64 `json:"number,omitempty"` + Unit string `json:"unit,omitempty"` } func NewPasswordExpirationPolicyRuleCondition() *PasswordExpirationPolicyRuleCondition { @@ -30,3 +33,33 @@ func NewPasswordExpirationPolicyRuleCondition() *PasswordExpirationPolicyRuleCon func (a *PasswordExpirationPolicyRuleCondition) IsPolicyInstance() bool { return true } + +func (a *PasswordExpirationPolicyRuleCondition) MarshalJSON() ([]byte, error) { + type Alias PasswordExpirationPolicyRuleCondition + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Number != 0 { + result.NumberPtr = Int64Ptr(a.Number) + } + return json.Marshal(&result) +} + +func (a *PasswordExpirationPolicyRuleCondition) UnmarshalJSON(data []byte) error { + type Alias PasswordExpirationPolicyRuleCondition + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.NumberPtr != nil { + a.Number = *result.NumberPtr + a.NumberPtr = result.NumberPtr + } + return nil +} diff --git a/okta/passwordPolicy.go b/okta/passwordPolicy.go index 039ba6d01..5527a9cff 100644 --- a/okta/passwordPolicy.go +++ b/okta/passwordPolicy.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -31,11 +32,12 @@ type PasswordPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` - Settings *PasswordPolicySettings `json:"settings,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` + Settings *PasswordPolicySettings `json:"settings,omitempty"` } func NewPasswordPolicy() *PasswordPolicy { @@ -47,3 +49,33 @@ func NewPasswordPolicy() *PasswordPolicy { func (a *PasswordPolicy) IsPolicyInstance() bool { return true } + +func (a *PasswordPolicy) MarshalJSON() ([]byte, error) { + type Alias PasswordPolicy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *PasswordPolicy) UnmarshalJSON(data []byte) error { + type Alias PasswordPolicy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/passwordPolicyPasswordSettingsAge.go b/okta/passwordPolicyPasswordSettingsAge.go index 413f0540d..8ab754893 100644 --- a/okta/passwordPolicyPasswordSettingsAge.go +++ b/okta/passwordPolicyPasswordSettingsAge.go @@ -18,22 +18,83 @@ package okta +import "encoding/json" + type PasswordPolicyPasswordSettingsAge struct { - ExpireWarnDays *int64 `json:"expireWarnDays,omitempty"` - HistoryCount *int64 `json:"historyCount,omitempty"` - MaxAgeDays *int64 `json:"maxAgeDays,omitempty"` - MinAgeMinutes *int64 `json:"minAgeMinutes,omitempty"` + ExpireWarnDays int64 + ExpireWarnDaysPtr *int64 `json:"expireWarnDays,omitempty"` + HistoryCount int64 + HistoryCountPtr *int64 `json:"historyCount,omitempty"` + MaxAgeDays int64 + MaxAgeDaysPtr *int64 `json:"maxAgeDays,omitempty"` + MinAgeMinutes int64 + MinAgeMinutesPtr *int64 `json:"minAgeMinutes,omitempty"` } func NewPasswordPolicyPasswordSettingsAge() *PasswordPolicyPasswordSettingsAge { return &PasswordPolicyPasswordSettingsAge{ - ExpireWarnDays: int64Ptr(0), - HistoryCount: int64Ptr(0), - MaxAgeDays: int64Ptr(0), - MinAgeMinutes: int64Ptr(0), + ExpireWarnDays: 0, + ExpireWarnDaysPtr: Int64Ptr(0), + HistoryCount: 0, + HistoryCountPtr: Int64Ptr(0), + MaxAgeDays: 0, + MaxAgeDaysPtr: Int64Ptr(0), + MinAgeMinutes: 0, + MinAgeMinutesPtr: Int64Ptr(0), } } func (a *PasswordPolicyPasswordSettingsAge) IsPolicyInstance() bool { return true } + +func (a *PasswordPolicyPasswordSettingsAge) MarshalJSON() ([]byte, error) { + type Alias PasswordPolicyPasswordSettingsAge + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.ExpireWarnDays != 0 { + result.ExpireWarnDaysPtr = Int64Ptr(a.ExpireWarnDays) + } + if a.HistoryCount != 0 { + result.HistoryCountPtr = Int64Ptr(a.HistoryCount) + } + if a.MaxAgeDays != 0 { + result.MaxAgeDaysPtr = Int64Ptr(a.MaxAgeDays) + } + if a.MinAgeMinutes != 0 { + result.MinAgeMinutesPtr = Int64Ptr(a.MinAgeMinutes) + } + return json.Marshal(&result) +} + +func (a *PasswordPolicyPasswordSettingsAge) UnmarshalJSON(data []byte) error { + type Alias PasswordPolicyPasswordSettingsAge + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.ExpireWarnDaysPtr != nil { + a.ExpireWarnDays = *result.ExpireWarnDaysPtr + a.ExpireWarnDaysPtr = result.ExpireWarnDaysPtr + } + if result.HistoryCountPtr != nil { + a.HistoryCount = *result.HistoryCountPtr + a.HistoryCountPtr = result.HistoryCountPtr + } + if result.MaxAgeDaysPtr != nil { + a.MaxAgeDays = *result.MaxAgeDaysPtr + a.MaxAgeDaysPtr = result.MaxAgeDaysPtr + } + if result.MinAgeMinutesPtr != nil { + a.MinAgeMinutes = *result.MinAgeMinutesPtr + a.MinAgeMinutesPtr = result.MinAgeMinutesPtr + } + return nil +} diff --git a/okta/passwordPolicyPasswordSettingsComplexity.go b/okta/passwordPolicyPasswordSettingsComplexity.go index 5995cfcf3..5ce5b1ce7 100644 --- a/okta/passwordPolicyPasswordSettingsComplexity.go +++ b/okta/passwordPolicyPasswordSettingsComplexity.go @@ -18,29 +18,99 @@ package okta +import "encoding/json" + type PasswordPolicyPasswordSettingsComplexity struct { Dictionary *PasswordDictionary `json:"dictionary,omitempty"` ExcludeAttributes []string `json:"excludeAttributes,omitempty"` ExcludeUsername *bool `json:"excludeUsername,omitempty"` - MinLength *int64 `json:"minLength,omitempty"` - MinLowerCase *int64 `json:"minLowerCase"` - MinNumber *int64 `json:"minNumber"` - MinSymbol *int64 `json:"minSymbol"` - MinUpperCase *int64 `json:"minUpperCase"` + MinLength int64 + MinLengthPtr *int64 `json:"minLength,omitempty"` + MinLowerCase int64 + MinLowerCasePtr *int64 `json:"minLowerCase"` + MinNumber int64 + MinNumberPtr *int64 `json:"minNumber"` + MinSymbol int64 + MinSymbolPtr *int64 `json:"minSymbol"` + MinUpperCase int64 + MinUpperCasePtr *int64 `json:"minUpperCase"` } func NewPasswordPolicyPasswordSettingsComplexity() *PasswordPolicyPasswordSettingsComplexity { return &PasswordPolicyPasswordSettingsComplexity{ ExcludeAttributes: []string{}, ExcludeUsername: boolPtr(true), - MinLength: int64Ptr(8), - MinLowerCase: int64Ptr(1), - MinNumber: int64Ptr(1), - MinSymbol: int64Ptr(1), - MinUpperCase: int64Ptr(1), + MinLength: 8, + MinLengthPtr: Int64Ptr(8), + MinLowerCase: 1, + MinLowerCasePtr: Int64Ptr(1), + MinNumber: 1, + MinNumberPtr: Int64Ptr(1), + MinSymbol: 1, + MinSymbolPtr: Int64Ptr(1), + MinUpperCase: 1, + MinUpperCasePtr: Int64Ptr(1), } } func (a *PasswordPolicyPasswordSettingsComplexity) IsPolicyInstance() bool { return true } + +func (a *PasswordPolicyPasswordSettingsComplexity) MarshalJSON() ([]byte, error) { + type Alias PasswordPolicyPasswordSettingsComplexity + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.MinLength != 0 { + result.MinLengthPtr = Int64Ptr(a.MinLength) + } + if a.MinLowerCase != 0 { + result.MinLowerCasePtr = Int64Ptr(a.MinLowerCase) + } + if a.MinNumber != 0 { + result.MinNumberPtr = Int64Ptr(a.MinNumber) + } + if a.MinSymbol != 0 { + result.MinSymbolPtr = Int64Ptr(a.MinSymbol) + } + if a.MinUpperCase != 0 { + result.MinUpperCasePtr = Int64Ptr(a.MinUpperCase) + } + return json.Marshal(&result) +} + +func (a *PasswordPolicyPasswordSettingsComplexity) UnmarshalJSON(data []byte) error { + type Alias PasswordPolicyPasswordSettingsComplexity + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.MinLengthPtr != nil { + a.MinLength = *result.MinLengthPtr + a.MinLengthPtr = result.MinLengthPtr + } + if result.MinLowerCasePtr != nil { + a.MinLowerCase = *result.MinLowerCasePtr + a.MinLowerCasePtr = result.MinLowerCasePtr + } + if result.MinNumberPtr != nil { + a.MinNumber = *result.MinNumberPtr + a.MinNumberPtr = result.MinNumberPtr + } + if result.MinSymbolPtr != nil { + a.MinSymbol = *result.MinSymbolPtr + a.MinSymbolPtr = result.MinSymbolPtr + } + if result.MinUpperCasePtr != nil { + a.MinUpperCase = *result.MinUpperCasePtr + a.MinUpperCasePtr = result.MinUpperCasePtr + } + return nil +} diff --git a/okta/passwordPolicyPasswordSettingsLockout.go b/okta/passwordPolicyPasswordSettingsLockout.go index 8f1900301..2bc39bdbe 100644 --- a/okta/passwordPolicyPasswordSettingsLockout.go +++ b/okta/passwordPolicyPasswordSettingsLockout.go @@ -18,9 +18,13 @@ package okta +import "encoding/json" + type PasswordPolicyPasswordSettingsLockout struct { - AutoUnlockMinutes *int64 `json:"autoUnlockMinutes,omitempty"` - MaxAttempts *int64 `json:"maxAttempts,omitempty"` + AutoUnlockMinutes int64 + AutoUnlockMinutesPtr *int64 `json:"autoUnlockMinutes,omitempty"` + MaxAttempts int64 + MaxAttemptsPtr *int64 `json:"maxAttempts,omitempty"` ShowLockoutFailures *bool `json:"showLockoutFailures,omitempty"` UserLockoutNotificationChannels []string `json:"userLockoutNotificationChannels,omitempty"` } @@ -32,3 +36,40 @@ func NewPasswordPolicyPasswordSettingsLockout() *PasswordPolicyPasswordSettingsL func (a *PasswordPolicyPasswordSettingsLockout) IsPolicyInstance() bool { return true } + +func (a *PasswordPolicyPasswordSettingsLockout) MarshalJSON() ([]byte, error) { + type Alias PasswordPolicyPasswordSettingsLockout + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.AutoUnlockMinutes != 0 { + result.AutoUnlockMinutesPtr = Int64Ptr(a.AutoUnlockMinutes) + } + if a.MaxAttempts != 0 { + result.MaxAttemptsPtr = Int64Ptr(a.MaxAttempts) + } + return json.Marshal(&result) +} + +func (a *PasswordPolicyPasswordSettingsLockout) UnmarshalJSON(data []byte) error { + type Alias PasswordPolicyPasswordSettingsLockout + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.AutoUnlockMinutesPtr != nil { + a.AutoUnlockMinutes = *result.AutoUnlockMinutesPtr + a.AutoUnlockMinutesPtr = result.AutoUnlockMinutesPtr + } + if result.MaxAttemptsPtr != nil { + a.MaxAttempts = *result.MaxAttemptsPtr + a.MaxAttemptsPtr = result.MaxAttemptsPtr + } + return nil +} diff --git a/okta/passwordPolicyRecoveryEmailRecoveryToken.go b/okta/passwordPolicyRecoveryEmailRecoveryToken.go index 6b23ea382..71d3ff21d 100644 --- a/okta/passwordPolicyRecoveryEmailRecoveryToken.go +++ b/okta/passwordPolicyRecoveryEmailRecoveryToken.go @@ -18,16 +18,50 @@ package okta +import "encoding/json" + type PasswordPolicyRecoveryEmailRecoveryToken struct { - TokenLifetimeMinutes *int64 `json:"tokenLifetimeMinutes"` + TokenLifetimeMinutes int64 + TokenLifetimeMinutesPtr *int64 `json:"tokenLifetimeMinutes"` } func NewPasswordPolicyRecoveryEmailRecoveryToken() *PasswordPolicyRecoveryEmailRecoveryToken { return &PasswordPolicyRecoveryEmailRecoveryToken{ - TokenLifetimeMinutes: int64Ptr(10080), + TokenLifetimeMinutes: 10080, + TokenLifetimeMinutesPtr: Int64Ptr(10080), } } func (a *PasswordPolicyRecoveryEmailRecoveryToken) IsPolicyInstance() bool { return true } + +func (a *PasswordPolicyRecoveryEmailRecoveryToken) MarshalJSON() ([]byte, error) { + type Alias PasswordPolicyRecoveryEmailRecoveryToken + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.TokenLifetimeMinutes != 0 { + result.TokenLifetimeMinutesPtr = Int64Ptr(a.TokenLifetimeMinutes) + } + return json.Marshal(&result) +} + +func (a *PasswordPolicyRecoveryEmailRecoveryToken) UnmarshalJSON(data []byte) error { + type Alias PasswordPolicyRecoveryEmailRecoveryToken + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.TokenLifetimeMinutesPtr != nil { + a.TokenLifetimeMinutes = *result.TokenLifetimeMinutesPtr + a.TokenLifetimeMinutesPtr = result.TokenLifetimeMinutesPtr + } + return nil +} diff --git a/okta/passwordPolicyRecoveryQuestionComplexity.go b/okta/passwordPolicyRecoveryQuestionComplexity.go index aeb3420f1..31b991725 100644 --- a/okta/passwordPolicyRecoveryQuestionComplexity.go +++ b/okta/passwordPolicyRecoveryQuestionComplexity.go @@ -18,8 +18,11 @@ package okta +import "encoding/json" + type PasswordPolicyRecoveryQuestionComplexity struct { - MinLength *int64 `json:"minLength,omitempty"` + MinLength int64 + MinLengthPtr *int64 `json:"minLength,omitempty"` } func NewPasswordPolicyRecoveryQuestionComplexity() *PasswordPolicyRecoveryQuestionComplexity { @@ -29,3 +32,33 @@ func NewPasswordPolicyRecoveryQuestionComplexity() *PasswordPolicyRecoveryQuesti func (a *PasswordPolicyRecoveryQuestionComplexity) IsPolicyInstance() bool { return true } + +func (a *PasswordPolicyRecoveryQuestionComplexity) MarshalJSON() ([]byte, error) { + type Alias PasswordPolicyRecoveryQuestionComplexity + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.MinLength != 0 { + result.MinLengthPtr = Int64Ptr(a.MinLength) + } + return json.Marshal(&result) +} + +func (a *PasswordPolicyRecoveryQuestionComplexity) UnmarshalJSON(data []byte) error { + type Alias PasswordPolicyRecoveryQuestionComplexity + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.MinLengthPtr != nil { + a.MinLength = *result.MinLengthPtr + a.MinLengthPtr = result.MinLengthPtr + } + return nil +} diff --git a/okta/passwordPolicyRule.go b/okta/passwordPolicyRule.go index e49e44670..69e351f6f 100644 --- a/okta/passwordPolicyRule.go +++ b/okta/passwordPolicyRule.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -29,10 +30,11 @@ type PasswordPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewPasswordPolicyRule() *PasswordPolicyRule { @@ -46,3 +48,33 @@ func NewPasswordPolicyRule() *PasswordPolicyRule { func (a *PasswordPolicyRule) IsPolicyInstance() bool { return true } + +func (a *PasswordPolicyRule) MarshalJSON() ([]byte, error) { + type Alias PasswordPolicyRule + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *PasswordPolicyRule) UnmarshalJSON(data []byte) error { + type Alias PasswordPolicyRule + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/policy.go b/okta/policy.go index b172a4a48..9d04ae1b1 100644 --- a/okta/policy.go +++ b/okta/policy.go @@ -20,6 +20,7 @@ package okta import ( "context" + "encoding/json" "fmt" "time" @@ -41,10 +42,11 @@ type Policy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewPolicy() *Policy { @@ -349,3 +351,33 @@ func (m *PolicyResource) DeactivatePolicyRule(ctx context.Context, policyId stri return resp, nil } + +func (a *Policy) MarshalJSON() ([]byte, error) { + type Alias Policy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *Policy) UnmarshalJSON(data []byte) error { + type Alias Policy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/policyRule.go b/okta/policyRule.go index 0d88bb1ce..143e85404 100644 --- a/okta/policyRule.go +++ b/okta/policyRule.go @@ -20,6 +20,7 @@ package okta import ( "context" + "encoding/json" "fmt" "time" ) @@ -33,10 +34,11 @@ type PolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewPolicyRule() *PolicyRule { @@ -89,3 +91,33 @@ func (m *PolicyRuleResource) DeletePolicyRule(ctx context.Context, policyId stri return resp, nil } + +func (a *PolicyRule) MarshalJSON() ([]byte, error) { + type Alias PolicyRule + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *PolicyRule) UnmarshalJSON(data []byte) error { + type Alias PolicyRule + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/profileEnrollmentPolicy.go b/okta/profileEnrollmentPolicy.go index 351dfe99f..58eba6053 100644 --- a/okta/profileEnrollmentPolicy.go +++ b/okta/profileEnrollmentPolicy.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -31,10 +32,11 @@ type ProfileEnrollmentPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewProfileEnrollmentPolicy() *ProfileEnrollmentPolicy { @@ -46,3 +48,33 @@ func NewProfileEnrollmentPolicy() *ProfileEnrollmentPolicy { func (a *ProfileEnrollmentPolicy) IsPolicyInstance() bool { return true } + +func (a *ProfileEnrollmentPolicy) MarshalJSON() ([]byte, error) { + type Alias ProfileEnrollmentPolicy + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *ProfileEnrollmentPolicy) UnmarshalJSON(data []byte) error { + type Alias ProfileEnrollmentPolicy + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/profileEnrollmentPolicyRule.go b/okta/profileEnrollmentPolicyRule.go index f96977fcb..aae8c9967 100644 --- a/okta/profileEnrollmentPolicyRule.go +++ b/okta/profileEnrollmentPolicyRule.go @@ -19,6 +19,7 @@ package okta import ( + "encoding/json" "time" ) @@ -29,10 +30,11 @@ type ProfileEnrollmentPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewProfileEnrollmentPolicyRule() *ProfileEnrollmentPolicyRule { @@ -46,3 +48,33 @@ func NewProfileEnrollmentPolicyRule() *ProfileEnrollmentPolicyRule { func (a *ProfileEnrollmentPolicyRule) IsPolicyInstance() bool { return true } + +func (a *ProfileEnrollmentPolicyRule) MarshalJSON() ([]byte, error) { + type Alias ProfileEnrollmentPolicyRule + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.Priority != 0 { + result.PriorityPtr = Int64Ptr(a.Priority) + } + return json.Marshal(&result) +} + +func (a *ProfileEnrollmentPolicyRule) UnmarshalJSON(data []byte) error { + type Alias ProfileEnrollmentPolicyRule + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.PriorityPtr != nil { + a.Priority = *result.PriorityPtr + a.PriorityPtr = result.PriorityPtr + } + return nil +} diff --git a/okta/query/query.go b/okta/query/query.go index 06b178280..050d0586a 100644 --- a/okta/query/query.go +++ b/okta/query/query.go @@ -33,6 +33,7 @@ type Params struct { Activate *bool `json:"activate,omitempty"` ValidityYears int64 `json:"validityYears,omitempty"` TargetAid string `json:"targetAid,omitempty"` + Kid string `json:"kid,omitempty"` QueryScope string `json:"query_scope,omitempty"` SendEmail *bool `json:"sendEmail,omitempty"` Cursor string `json:"cursor,omitempty"` @@ -130,6 +131,12 @@ func WithTargetAid(queryTargetAid string) ParamOptions { } } +func WithKid(queryKid string) ParamOptions { + return func(p *Params) { + p.Kid = queryKid + } +} + func WithQueryScope(queryQueryScope string) ParamOptions { return func(p *Params) { p.QueryScope = queryQueryScope @@ -322,6 +329,9 @@ func (p *Params) String() string { if p.TargetAid != "" { qs.Add(`targetAid`, p.TargetAid) } + if p.Kid != "" { + qs.Add(`kid`, p.Kid) + } if p.QueryScope != "" { qs.Add(`query_scope`, p.QueryScope) } diff --git a/okta/samlApplicationSettingsSignOn.go b/okta/samlApplicationSettingsSignOn.go index d78b35a6b..0c2d4bd08 100644 --- a/okta/samlApplicationSettingsSignOn.go +++ b/okta/samlApplicationSettingsSignOn.go @@ -37,6 +37,7 @@ type SamlApplicationSettingsSignOn struct { RecipientOverride string `json:"recipientOverride"` RequestCompressed *bool `json:"requestCompressed,omitempty"` ResponseSigned *bool `json:"responseSigned,omitempty"` + SamlSignedRequestEnabled *bool `json:"samlSignedRequestEnabled,omitempty"` SignatureAlgorithm string `json:"signatureAlgorithm,omitempty"` Slo *SingleLogout `json:"slo,omitempty"` SpCertificate *SpCertificate `json:"spCertificate,omitempty"` diff --git a/okta/tokenAuthorizationServerPolicyRuleAction.go b/okta/tokenAuthorizationServerPolicyRuleAction.go index e461af460..8cf4ee170 100644 --- a/okta/tokenAuthorizationServerPolicyRuleAction.go +++ b/okta/tokenAuthorizationServerPolicyRuleAction.go @@ -18,9 +18,58 @@ package okta +import "encoding/json" + type TokenAuthorizationServerPolicyRuleAction struct { - AccessTokenLifetimeMinutes *int64 `json:"accessTokenLifetimeMinutes"` - InlineHook *TokenAuthorizationServerPolicyRuleActionInlineHook `json:"inlineHook,omitempty"` - RefreshTokenLifetimeMinutes *int64 `json:"refreshTokenLifetimeMinutes"` - RefreshTokenWindowMinutes *int64 `json:"refreshTokenWindowMinutes"` + AccessTokenLifetimeMinutes int64 + AccessTokenLifetimeMinutesPtr *int64 `json:"accessTokenLifetimeMinutes"` + InlineHook *TokenAuthorizationServerPolicyRuleActionInlineHook `json:"inlineHook,omitempty"` + RefreshTokenLifetimeMinutes int64 + RefreshTokenLifetimeMinutesPtr *int64 `json:"refreshTokenLifetimeMinutes"` + RefreshTokenWindowMinutes int64 + RefreshTokenWindowMinutesPtr *int64 `json:"refreshTokenWindowMinutes"` +} + +func (a *TokenAuthorizationServerPolicyRuleAction) MarshalJSON() ([]byte, error) { + type Alias TokenAuthorizationServerPolicyRuleAction + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.AccessTokenLifetimeMinutes != 0 { + result.AccessTokenLifetimeMinutesPtr = Int64Ptr(a.AccessTokenLifetimeMinutes) + } + if a.RefreshTokenLifetimeMinutes != 0 { + result.RefreshTokenLifetimeMinutesPtr = Int64Ptr(a.RefreshTokenLifetimeMinutes) + } + if a.RefreshTokenWindowMinutes != 0 { + result.RefreshTokenWindowMinutesPtr = Int64Ptr(a.RefreshTokenWindowMinutes) + } + return json.Marshal(&result) +} + +func (a *TokenAuthorizationServerPolicyRuleAction) UnmarshalJSON(data []byte) error { + type Alias TokenAuthorizationServerPolicyRuleAction + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.AccessTokenLifetimeMinutesPtr != nil { + a.AccessTokenLifetimeMinutes = *result.AccessTokenLifetimeMinutesPtr + a.AccessTokenLifetimeMinutesPtr = result.AccessTokenLifetimeMinutesPtr + } + if result.RefreshTokenLifetimeMinutesPtr != nil { + a.RefreshTokenLifetimeMinutes = *result.RefreshTokenLifetimeMinutesPtr + a.RefreshTokenLifetimeMinutesPtr = result.RefreshTokenLifetimeMinutesPtr + } + if result.RefreshTokenWindowMinutesPtr != nil { + a.RefreshTokenWindowMinutes = *result.RefreshTokenWindowMinutesPtr + a.RefreshTokenWindowMinutesPtr = result.RefreshTokenWindowMinutesPtr + } + return nil } diff --git a/okta/user.go b/okta/user.go index 0d59e4f80..fd0c9f874 100644 --- a/okta/user.go +++ b/okta/user.go @@ -178,7 +178,7 @@ func (m *UserResource) SetLinkedObjectForUser(ctx context.Context, associatedUse return resp, nil } -// Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous. +// Update a user's profile or credentials with partial update semantics. func (m *UserResource) PartialUpdateUser(ctx context.Context, userId string, body User, qp *query.Params) (*User, *Response, error) { url := fmt.Sprintf("/api/v1/users/%v", userId) if qp != nil { diff --git a/okta/userSchemaAttribute.go b/okta/userSchemaAttribute.go index 3883e3d4a..d98333bfd 100644 --- a/okta/userSchemaAttribute.go +++ b/okta/userSchemaAttribute.go @@ -18,15 +18,19 @@ package okta +import "encoding/json" + type UserSchemaAttribute struct { - Description string `json:"description,omitempty"` - Enum []interface{} `json:"enum,omitempty"` - ExternalName string `json:"externalName,omitempty"` - ExternalNamespace string `json:"externalNamespace,omitempty"` - Items *UserSchemaAttributeItems `json:"items,omitempty"` - Master *UserSchemaAttributeMaster `json:"master,omitempty"` - MaxLength *int64 `json:"maxLength,omitempty"` - MinLength *int64 `json:"minLength,omitempty"` + Description string `json:"description,omitempty"` + Enum []interface{} `json:"enum,omitempty"` + ExternalName string `json:"externalName,omitempty"` + ExternalNamespace string `json:"externalNamespace,omitempty"` + Items *UserSchemaAttributeItems `json:"items,omitempty"` + Master *UserSchemaAttributeMaster `json:"master,omitempty"` + MaxLength int64 + MaxLengthPtr *int64 `json:"maxLength,omitempty"` + MinLength int64 + MinLengthPtr *int64 `json:"minLength,omitempty"` Mutability string `json:"mutability,omitempty"` OneOf []*UserSchemaAttributeEnum `json:"oneOf,omitempty"` Pattern *string `json:"pattern,omitempty"` @@ -38,3 +42,40 @@ type UserSchemaAttribute struct { Union string `json:"union,omitempty"` Unique string `json:"unique,omitempty"` } + +func (a *UserSchemaAttribute) MarshalJSON() ([]byte, error) { + type Alias UserSchemaAttribute + type local struct { + *Alias + } + result := local{Alias: (*Alias)(a)} + if a.MaxLength != 0 { + result.MaxLengthPtr = Int64Ptr(a.MaxLength) + } + if a.MinLength != 0 { + result.MinLengthPtr = Int64Ptr(a.MinLength) + } + return json.Marshal(&result) +} + +func (a *UserSchemaAttribute) UnmarshalJSON(data []byte) error { + type Alias UserSchemaAttribute + + result := &struct { + *Alias + }{ + Alias: (*Alias)(a), + } + if err := json.Unmarshal(data, &result); err != nil { + return err + } + if result.MaxLengthPtr != nil { + a.MaxLength = *result.MaxLengthPtr + a.MaxLengthPtr = result.MaxLengthPtr + } + if result.MinLengthPtr != nil { + a.MinLength = *result.MinLengthPtr + a.MinLengthPtr = result.MinLengthPtr + } + return nil +} diff --git a/openapi/generator/index.js b/openapi/generator/index.js index 8b4830a09..b6327a556 100644 --- a/openapi/generator/index.js +++ b/openapi/generator/index.js @@ -507,7 +507,7 @@ function buildModelProperties(model) { var type = getType(properties[propKey], ""); if (type === "int64") { finalProps.push(structProp(properties[propKey].propertyName) + " " + - getType(properties[propKey], "*")); + getType(properties[propKey], "*") + " `json:\"-\"`"); finalProps.push(structProp(properties[propKey].propertyName) + "Ptr *" + getType(properties[propKey], "*") + createJsonTag(properties[propKey].propertyName)); } else { From a7eaccd13ee5ecbd013d89d70a06af081f0826e9 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 2 Mar 2023 17:26:23 -0800 Subject: [PATCH 3/4] Release notes and marshalling test. --- CHANGELOG.md | 19 ++++++ okta/accessPolicy.go | 10 ++-- okta/accessPolicyRule.go | 10 ++-- okta/acsEndpoint.go | 2 +- okta/appLink.go | 2 +- okta/applicationGroupAssignment.go | 2 +- okta/applicationLicensing.go | 2 +- okta/authenticatorProviderConfiguration.go | 2 +- okta/authenticatorSettings.go | 6 +- okta/authorizationServerPolicy.go | 10 ++-- okta/authorizationServerPolicyRule.go | 10 ++-- okta/duration.go | 2 +- okta/groupSchemaAttribute.go | 18 +++--- okta/identityProviderCredentialsTrust.go | 2 +- okta/identityProviderPolicy.go | 20 +++---- okta/inactivityPolicyRuleCondition.go | 2 +- okta/ionForm.go | 12 ++-- .../lifecycleExpirationPolicyRuleCondition.go | 2 +- okta/logAuthenticationContext.go | 4 +- okta/logSecurityContext.go | 2 +- okta/multifactorEnrollmentPolicy.go | 10 ++-- okta/oAuthAuthorizationPolicy.go | 10 ++-- okta/oktaSignOnPolicy.go | 10 ++-- okta/oktaSignOnPolicyRule.go | 10 ++-- okta/oktaSignOnPolicyRuleSignonActions.go | 4 +- ...ktaSignOnPolicyRuleSignonSessionActions.go | 4 +- ...dConnectApplicationSettingsRefreshToken.go | 2 +- okta/passwordCredentialHash.go | 2 +- okta/passwordExpirationPolicyRuleCondition.go | 2 +- okta/passwordPolicy.go | 12 ++-- okta/passwordPolicyPasswordSettingsAge.go | 8 +-- ...asswordPolicyPasswordSettingsComplexity.go | 20 +++---- okta/passwordPolicyPasswordSettingsLockout.go | 6 +- ...asswordPolicyRecoveryEmailRecoveryToken.go | 2 +- ...asswordPolicyRecoveryQuestionComplexity.go | 2 +- okta/passwordPolicyRule.go | 10 ++-- okta/policy.go | 10 ++-- okta/policyRule.go | 10 ++-- okta/profileEnrollmentPolicy.go | 10 ++-- okta/profileEnrollmentPolicyRule.go | 10 ++-- ...okenAuthorizationServerPolicyRuleAction.go | 10 ++-- okta/userSchemaAttribute.go | 18 +++--- tests/unit/int64PtrMarshal_test.go | 60 +++++++++++++++++++ 43 files changed, 230 insertions(+), 151 deletions(-) create mode 100644 tests/unit/int64PtrMarshal_test.go diff --git a/CHANGELOG.md b/CHANGELOG.md index d0acd01ad..730beade1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,25 @@ # Changelog Running changelog of releases since `2.0.0-rc.4` +## v2.17.0 + + - Revert integer values representation as integer pointers + - Original change was too agreesive for a minor release + - All integer fields have a parallel pointer field that can be used as an alternative to deal with 0 values during JSON marshaling + - Example `PasswordPolicy` model has fields int64 `Priority` and *int64 `PriorityPtr` + - This change will not break code from release v2.15.0 and earlier + - New models + - `MultifactorEnrollmentPolicy` + - `MultifactorEnrollmentPolicyAuthenticatorSettings` + - `MultifactorEnrollmentPolicyAuthenticatorStatus` + - `MultifactorEnrollmentPolicyAuthenticatorType` + - `MultifactorEnrollmentPolicySettings` + - `MultifactorEnrollmentPolicySettingsType` + - New methods / endpoints + - `Application` has `PreviewSAMLAppMetadata` method for `GET /api/v1/apps/{applicationId}/sso/saml/metadata` endpoint. + - Added parameters + - `Default` bool on `AuthorizationServer` model + ## v2.16.0 - All API integers, which previously had been typed as `int64`, are now typed diff --git a/okta/accessPolicy.go b/okta/accessPolicy.go index c7e9d0a6d..c61325d63 100644 --- a/okta/accessPolicy.go +++ b/okta/accessPolicy.go @@ -32,11 +32,11 @@ type AccessPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewAccessPolicy() *AccessPolicy { diff --git a/okta/accessPolicyRule.go b/okta/accessPolicyRule.go index 1f64e7fff..0fffb5010 100644 --- a/okta/accessPolicyRule.go +++ b/okta/accessPolicyRule.go @@ -30,11 +30,11 @@ type AccessPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewAccessPolicyRule() *AccessPolicyRule { diff --git a/okta/acsEndpoint.go b/okta/acsEndpoint.go index 9224542b0..40212a4d7 100644 --- a/okta/acsEndpoint.go +++ b/okta/acsEndpoint.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type AcsEndpoint struct { - Index int64 + Index int64 `json:"-"` IndexPtr *int64 `json:"index,omitempty"` Url string `json:"url,omitempty"` } diff --git a/okta/appLink.go b/okta/appLink.go index 1c71f5ec9..dbbfc1743 100644 --- a/okta/appLink.go +++ b/okta/appLink.go @@ -30,7 +30,7 @@ type AppLink struct { Label string `json:"label,omitempty"` LinkUrl string `json:"linkUrl,omitempty"` LogoUrl string `json:"logoUrl,omitempty"` - SortOrder int64 + SortOrder int64 `json:"-"` SortOrderPtr *int64 `json:"sortOrder,omitempty"` } diff --git a/okta/applicationGroupAssignment.go b/okta/applicationGroupAssignment.go index 7746c74c9..67002c321 100644 --- a/okta/applicationGroupAssignment.go +++ b/okta/applicationGroupAssignment.go @@ -32,7 +32,7 @@ type ApplicationGroupAssignment struct { Links interface{} `json:"_links,omitempty"` Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` - Priority int64 + Priority int64 `json:"-"` PriorityPtr *int64 `json:"priority,omitempty"` Profile interface{} `json:"profile,omitempty"` } diff --git a/okta/applicationLicensing.go b/okta/applicationLicensing.go index 943540a94..fe99323ea 100644 --- a/okta/applicationLicensing.go +++ b/okta/applicationLicensing.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type ApplicationLicensing struct { - SeatCount int64 + SeatCount int64 `json:"-"` SeatCountPtr *int64 `json:"seatCount,omitempty"` } diff --git a/okta/authenticatorProviderConfiguration.go b/okta/authenticatorProviderConfiguration.go index 38342475d..1a38c35dd 100644 --- a/okta/authenticatorProviderConfiguration.go +++ b/okta/authenticatorProviderConfiguration.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type AuthenticatorProviderConfiguration struct { - AuthPort int64 + AuthPort int64 `json:"-"` AuthPortPtr *int64 `json:"authPort,omitempty"` Host string `json:"host,omitempty"` HostName string `json:"hostName,omitempty"` diff --git a/okta/authenticatorSettings.go b/okta/authenticatorSettings.go index 8d7188feb..c9695ee57 100644 --- a/okta/authenticatorSettings.go +++ b/okta/authenticatorSettings.go @@ -25,9 +25,9 @@ type AuthenticatorSettings struct { AppInstanceId string `json:"appInstanceId,omitempty"` ChannelBinding *ChannelBinding `json:"channelBinding,omitempty"` Compliance *Compliance `json:"compliance,omitempty"` - TokenLifetimeInMinutes int64 - TokenLifetimeInMinutesPtr *int64 `json:"tokenLifetimeInMinutes,omitempty"` - UserVerification string `json:"userVerification,omitempty"` + TokenLifetimeInMinutes int64 `json:"-"` + TokenLifetimeInMinutesPtr *int64 `json:"tokenLifetimeInMinutes,omitempty"` + UserVerification string `json:"userVerification,omitempty"` } func (a *AuthenticatorSettings) MarshalJSON() ([]byte, error) { diff --git a/okta/authorizationServerPolicy.go b/okta/authorizationServerPolicy.go index e033b8bde..3dfb4faa8 100644 --- a/okta/authorizationServerPolicy.go +++ b/okta/authorizationServerPolicy.go @@ -36,11 +36,11 @@ type AuthorizationServerPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func (m *AuthorizationServerPolicyResource) GetAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string) (*AuthorizationServerPolicy, *Response, error) { diff --git a/okta/authorizationServerPolicyRule.go b/okta/authorizationServerPolicyRule.go index 4f7c8bbe6..afc27b2b6 100644 --- a/okta/authorizationServerPolicyRule.go +++ b/okta/authorizationServerPolicyRule.go @@ -34,11 +34,11 @@ type AuthorizationServerPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } // Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy. diff --git a/okta/duration.go b/okta/duration.go index 47c4953a2..79ed12460 100644 --- a/okta/duration.go +++ b/okta/duration.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type Duration struct { - Number int64 + Number int64 `json:"-"` NumberPtr *int64 `json:"number,omitempty"` Unit string `json:"unit,omitempty"` } diff --git a/okta/groupSchemaAttribute.go b/okta/groupSchemaAttribute.go index 20c933d20..16a687eed 100644 --- a/okta/groupSchemaAttribute.go +++ b/okta/groupSchemaAttribute.go @@ -21,15 +21,15 @@ package okta import "encoding/json" type GroupSchemaAttribute struct { - Description string `json:"description,omitempty"` - Enum []interface{} `json:"enum,omitempty"` - ExternalName string `json:"externalName,omitempty"` - ExternalNamespace string `json:"externalNamespace,omitempty"` - Items *UserSchemaAttributeItems `json:"items,omitempty"` - Master *UserSchemaAttributeMaster `json:"master,omitempty"` - MaxLength int64 - MaxLengthPtr *int64 `json:"maxLength,omitempty"` - MinLength int64 + Description string `json:"description,omitempty"` + Enum []interface{} `json:"enum,omitempty"` + ExternalName string `json:"externalName,omitempty"` + ExternalNamespace string `json:"externalNamespace,omitempty"` + Items *UserSchemaAttributeItems `json:"items,omitempty"` + Master *UserSchemaAttributeMaster `json:"master,omitempty"` + MaxLength int64 `json:"-"` + MaxLengthPtr *int64 `json:"maxLength,omitempty"` + MinLength int64 `json:"-"` MinLengthPtr *int64 `json:"minLength,omitempty"` Mutability string `json:"mutability,omitempty"` OneOf []*UserSchemaAttributeEnum `json:"oneOf,omitempty"` diff --git a/okta/identityProviderCredentialsTrust.go b/okta/identityProviderCredentialsTrust.go index aac50f1cf..af0be3f41 100644 --- a/okta/identityProviderCredentialsTrust.go +++ b/okta/identityProviderCredentialsTrust.go @@ -25,7 +25,7 @@ type IdentityProviderCredentialsTrust struct { Issuer string `json:"issuer,omitempty"` Kid string `json:"kid,omitempty"` Revocation string `json:"revocation,omitempty"` - RevocationCacheLifetime int64 + RevocationCacheLifetime int64 `json:"-"` RevocationCacheLifetimePtr *int64 `json:"revocationCacheLifetime,omitempty"` } diff --git a/okta/identityProviderPolicy.go b/okta/identityProviderPolicy.go index aba4425ff..afeb356eb 100644 --- a/okta/identityProviderPolicy.go +++ b/okta/identityProviderPolicy.go @@ -32,16 +32,16 @@ type IdentityProviderPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` - AccountLink *PolicyAccountLink `json:"accountLink,omitempty"` - MaxClockSkew int64 - MaxClockSkewPtr *int64 `json:"maxClockSkew,omitempty"` - Provisioning *Provisioning `json:"provisioning,omitempty"` - Subject *PolicySubject `json:"subject,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` + AccountLink *PolicyAccountLink `json:"accountLink,omitempty"` + MaxClockSkew int64 `json:"-"` + MaxClockSkewPtr *int64 `json:"maxClockSkew,omitempty"` + Provisioning *Provisioning `json:"provisioning,omitempty"` + Subject *PolicySubject `json:"subject,omitempty"` } func NewIdentityProviderPolicy() *IdentityProviderPolicy { diff --git a/okta/inactivityPolicyRuleCondition.go b/okta/inactivityPolicyRuleCondition.go index 3a3ae2305..2ea7ec103 100644 --- a/okta/inactivityPolicyRuleCondition.go +++ b/okta/inactivityPolicyRuleCondition.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type InactivityPolicyRuleCondition struct { - Number int64 + Number int64 `json:"-"` NumberPtr *int64 `json:"number,omitempty"` Unit string `json:"unit,omitempty"` } diff --git a/okta/ionForm.go b/okta/ionForm.go index 0cd441cc0..8998906f7 100644 --- a/okta/ionForm.go +++ b/okta/ionForm.go @@ -21,12 +21,12 @@ package okta import "encoding/json" type IonForm struct { - Accepts string `json:"accepts,omitempty"` - Href string `json:"href,omitempty"` - Method string `json:"method,omitempty"` - Name string `json:"name,omitempty"` - Produces string `json:"produces,omitempty"` - Refresh int64 + Accepts string `json:"accepts,omitempty"` + Href string `json:"href,omitempty"` + Method string `json:"method,omitempty"` + Name string `json:"name,omitempty"` + Produces string `json:"produces,omitempty"` + Refresh int64 `json:"-"` RefreshPtr *int64 `json:"refresh,omitempty"` Rel []string `json:"rel,omitempty"` RelatesTo []string `json:"relatesTo,omitempty"` diff --git a/okta/lifecycleExpirationPolicyRuleCondition.go b/okta/lifecycleExpirationPolicyRuleCondition.go index 5a8741d0d..c2070ccbd 100644 --- a/okta/lifecycleExpirationPolicyRuleCondition.go +++ b/okta/lifecycleExpirationPolicyRuleCondition.go @@ -22,7 +22,7 @@ import "encoding/json" type LifecycleExpirationPolicyRuleCondition struct { LifecycleStatus string `json:"lifecycleStatus,omitempty"` - Number int64 + Number int64 `json:"-"` NumberPtr *int64 `json:"number,omitempty"` Unit string `json:"unit,omitempty"` } diff --git a/okta/logAuthenticationContext.go b/okta/logAuthenticationContext.go index 1cf4c95d3..9e841832c 100644 --- a/okta/logAuthenticationContext.go +++ b/okta/logAuthenticationContext.go @@ -21,8 +21,8 @@ package okta import "encoding/json" type LogAuthenticationContext struct { - AuthenticationProvider string `json:"authenticationProvider,omitempty"` - AuthenticationStep int64 + AuthenticationProvider string `json:"authenticationProvider,omitempty"` + AuthenticationStep int64 `json:"-"` AuthenticationStepPtr *int64 `json:"authenticationStep,omitempty"` CredentialProvider string `json:"credentialProvider,omitempty"` CredentialType string `json:"credentialType,omitempty"` diff --git a/okta/logSecurityContext.go b/okta/logSecurityContext.go index 7054c375e..1773b2e88 100644 --- a/okta/logSecurityContext.go +++ b/okta/logSecurityContext.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type LogSecurityContext struct { - AsNumber int64 + AsNumber int64 `json:"-"` AsNumberPtr *int64 `json:"asNumber,omitempty"` AsOrg string `json:"asOrg,omitempty"` Domain string `json:"domain,omitempty"` diff --git a/okta/multifactorEnrollmentPolicy.go b/okta/multifactorEnrollmentPolicy.go index 95ef13972..43a8f1af2 100644 --- a/okta/multifactorEnrollmentPolicy.go +++ b/okta/multifactorEnrollmentPolicy.go @@ -32,11 +32,11 @@ type MultifactorEnrollmentPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewMultifactorEnrollmentPolicy() *MultifactorEnrollmentPolicy { diff --git a/okta/oAuthAuthorizationPolicy.go b/okta/oAuthAuthorizationPolicy.go index 1b049f611..143192ea1 100644 --- a/okta/oAuthAuthorizationPolicy.go +++ b/okta/oAuthAuthorizationPolicy.go @@ -32,11 +32,11 @@ type OAuthAuthorizationPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewOAuthAuthorizationPolicy() *OAuthAuthorizationPolicy { diff --git a/okta/oktaSignOnPolicy.go b/okta/oktaSignOnPolicy.go index e4829ca86..8acf7dad7 100644 --- a/okta/oktaSignOnPolicy.go +++ b/okta/oktaSignOnPolicy.go @@ -32,11 +32,11 @@ type OktaSignOnPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewOktaSignOnPolicy() *OktaSignOnPolicy { diff --git a/okta/oktaSignOnPolicyRule.go b/okta/oktaSignOnPolicyRule.go index d925e5a28..cda657ae7 100644 --- a/okta/oktaSignOnPolicyRule.go +++ b/okta/oktaSignOnPolicyRule.go @@ -30,11 +30,11 @@ type OktaSignOnPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewOktaSignOnPolicyRule() *OktaSignOnPolicyRule { diff --git a/okta/oktaSignOnPolicyRuleSignonActions.go b/okta/oktaSignOnPolicyRuleSignonActions.go index eba5fa2ca..ab0ccbca3 100644 --- a/okta/oktaSignOnPolicyRuleSignonActions.go +++ b/okta/oktaSignOnPolicyRuleSignonActions.go @@ -21,8 +21,8 @@ package okta import "encoding/json" type OktaSignOnPolicyRuleSignonActions struct { - Access string `json:"access,omitempty"` - FactorLifetime int64 + Access string `json:"access,omitempty"` + FactorLifetime int64 `json:"-"` FactorLifetimePtr *int64 `json:"factorLifetime,omitempty"` FactorPromptMode string `json:"factorPromptMode,omitempty"` RememberDeviceByDefault *bool `json:"rememberDeviceByDefault,omitempty"` diff --git a/okta/oktaSignOnPolicyRuleSignonSessionActions.go b/okta/oktaSignOnPolicyRuleSignonSessionActions.go index 4343656e0..3797793d5 100644 --- a/okta/oktaSignOnPolicyRuleSignonSessionActions.go +++ b/okta/oktaSignOnPolicyRuleSignonSessionActions.go @@ -21,9 +21,9 @@ package okta import "encoding/json" type OktaSignOnPolicyRuleSignonSessionActions struct { - MaxSessionIdleMinutes int64 + MaxSessionIdleMinutes int64 `json:"-"` MaxSessionIdleMinutesPtr *int64 `json:"maxSessionIdleMinutes"` - MaxSessionLifetimeMinutes int64 + MaxSessionLifetimeMinutes int64 `json:"-"` MaxSessionLifetimeMinutesPtr *int64 `json:"maxSessionLifetimeMinutes"` UsePersistentCookie *bool `json:"usePersistentCookie,omitempty"` } diff --git a/okta/openIdConnectApplicationSettingsRefreshToken.go b/okta/openIdConnectApplicationSettingsRefreshToken.go index 847fc5a93..d4b71465d 100644 --- a/okta/openIdConnectApplicationSettingsRefreshToken.go +++ b/okta/openIdConnectApplicationSettingsRefreshToken.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type OpenIdConnectApplicationSettingsRefreshToken struct { - Leeway int64 + Leeway int64 `json:"-"` LeewayPtr *int64 `json:"leeway"` RotationType string `json:"rotation_type,omitempty"` } diff --git a/okta/passwordCredentialHash.go b/okta/passwordCredentialHash.go index f3c679397..0eb4184e5 100644 --- a/okta/passwordCredentialHash.go +++ b/okta/passwordCredentialHash.go @@ -25,7 +25,7 @@ type PasswordCredentialHash struct { Salt string `json:"salt,omitempty"` SaltOrder string `json:"saltOrder,omitempty"` Value string `json:"value,omitempty"` - WorkFactor int64 + WorkFactor int64 `json:"-"` WorkFactorPtr *int64 `json:"workFactor,omitempty"` } diff --git a/okta/passwordExpirationPolicyRuleCondition.go b/okta/passwordExpirationPolicyRuleCondition.go index 0e7946a30..c09cab356 100644 --- a/okta/passwordExpirationPolicyRuleCondition.go +++ b/okta/passwordExpirationPolicyRuleCondition.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type PasswordExpirationPolicyRuleCondition struct { - Number int64 + Number int64 `json:"-"` NumberPtr *int64 `json:"number,omitempty"` Unit string `json:"unit,omitempty"` } diff --git a/okta/passwordPolicy.go b/okta/passwordPolicy.go index 5527a9cff..57ed3ba3f 100644 --- a/okta/passwordPolicy.go +++ b/okta/passwordPolicy.go @@ -32,12 +32,12 @@ type PasswordPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` - Settings *PasswordPolicySettings `json:"settings,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` + Settings *PasswordPolicySettings `json:"settings,omitempty"` } func NewPasswordPolicy() *PasswordPolicy { diff --git a/okta/passwordPolicyPasswordSettingsAge.go b/okta/passwordPolicyPasswordSettingsAge.go index 8ab754893..7f7b0fc31 100644 --- a/okta/passwordPolicyPasswordSettingsAge.go +++ b/okta/passwordPolicyPasswordSettingsAge.go @@ -21,13 +21,13 @@ package okta import "encoding/json" type PasswordPolicyPasswordSettingsAge struct { - ExpireWarnDays int64 + ExpireWarnDays int64 `json:"-"` ExpireWarnDaysPtr *int64 `json:"expireWarnDays,omitempty"` - HistoryCount int64 + HistoryCount int64 `json:"-"` HistoryCountPtr *int64 `json:"historyCount,omitempty"` - MaxAgeDays int64 + MaxAgeDays int64 `json:"-"` MaxAgeDaysPtr *int64 `json:"maxAgeDays,omitempty"` - MinAgeMinutes int64 + MinAgeMinutes int64 `json:"-"` MinAgeMinutesPtr *int64 `json:"minAgeMinutes,omitempty"` } diff --git a/okta/passwordPolicyPasswordSettingsComplexity.go b/okta/passwordPolicyPasswordSettingsComplexity.go index 5ce5b1ce7..9fb0928a2 100644 --- a/okta/passwordPolicyPasswordSettingsComplexity.go +++ b/okta/passwordPolicyPasswordSettingsComplexity.go @@ -24,16 +24,16 @@ type PasswordPolicyPasswordSettingsComplexity struct { Dictionary *PasswordDictionary `json:"dictionary,omitempty"` ExcludeAttributes []string `json:"excludeAttributes,omitempty"` ExcludeUsername *bool `json:"excludeUsername,omitempty"` - MinLength int64 - MinLengthPtr *int64 `json:"minLength,omitempty"` - MinLowerCase int64 - MinLowerCasePtr *int64 `json:"minLowerCase"` - MinNumber int64 - MinNumberPtr *int64 `json:"minNumber"` - MinSymbol int64 - MinSymbolPtr *int64 `json:"minSymbol"` - MinUpperCase int64 - MinUpperCasePtr *int64 `json:"minUpperCase"` + MinLength int64 `json:"-"` + MinLengthPtr *int64 `json:"minLength,omitempty"` + MinLowerCase int64 `json:"-"` + MinLowerCasePtr *int64 `json:"minLowerCase"` + MinNumber int64 `json:"-"` + MinNumberPtr *int64 `json:"minNumber"` + MinSymbol int64 `json:"-"` + MinSymbolPtr *int64 `json:"minSymbol"` + MinUpperCase int64 `json:"-"` + MinUpperCasePtr *int64 `json:"minUpperCase"` } func NewPasswordPolicyPasswordSettingsComplexity() *PasswordPolicyPasswordSettingsComplexity { diff --git a/okta/passwordPolicyPasswordSettingsLockout.go b/okta/passwordPolicyPasswordSettingsLockout.go index 2bc39bdbe..09804b285 100644 --- a/okta/passwordPolicyPasswordSettingsLockout.go +++ b/okta/passwordPolicyPasswordSettingsLockout.go @@ -21,9 +21,9 @@ package okta import "encoding/json" type PasswordPolicyPasswordSettingsLockout struct { - AutoUnlockMinutes int64 - AutoUnlockMinutesPtr *int64 `json:"autoUnlockMinutes,omitempty"` - MaxAttempts int64 + AutoUnlockMinutes int64 `json:"-"` + AutoUnlockMinutesPtr *int64 `json:"autoUnlockMinutes,omitempty"` + MaxAttempts int64 `json:"-"` MaxAttemptsPtr *int64 `json:"maxAttempts,omitempty"` ShowLockoutFailures *bool `json:"showLockoutFailures,omitempty"` UserLockoutNotificationChannels []string `json:"userLockoutNotificationChannels,omitempty"` diff --git a/okta/passwordPolicyRecoveryEmailRecoveryToken.go b/okta/passwordPolicyRecoveryEmailRecoveryToken.go index 71d3ff21d..5ec02c7e0 100644 --- a/okta/passwordPolicyRecoveryEmailRecoveryToken.go +++ b/okta/passwordPolicyRecoveryEmailRecoveryToken.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type PasswordPolicyRecoveryEmailRecoveryToken struct { - TokenLifetimeMinutes int64 + TokenLifetimeMinutes int64 `json:"-"` TokenLifetimeMinutesPtr *int64 `json:"tokenLifetimeMinutes"` } diff --git a/okta/passwordPolicyRecoveryQuestionComplexity.go b/okta/passwordPolicyRecoveryQuestionComplexity.go index 31b991725..eed0d519d 100644 --- a/okta/passwordPolicyRecoveryQuestionComplexity.go +++ b/okta/passwordPolicyRecoveryQuestionComplexity.go @@ -21,7 +21,7 @@ package okta import "encoding/json" type PasswordPolicyRecoveryQuestionComplexity struct { - MinLength int64 + MinLength int64 `json:"-"` MinLengthPtr *int64 `json:"minLength,omitempty"` } diff --git a/okta/passwordPolicyRule.go b/okta/passwordPolicyRule.go index 69e351f6f..440d25f63 100644 --- a/okta/passwordPolicyRule.go +++ b/okta/passwordPolicyRule.go @@ -30,11 +30,11 @@ type PasswordPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewPasswordPolicyRule() *PasswordPolicyRule { diff --git a/okta/policy.go b/okta/policy.go index 9d04ae1b1..77ae1d38e 100644 --- a/okta/policy.go +++ b/okta/policy.go @@ -42,11 +42,11 @@ type Policy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewPolicy() *Policy { diff --git a/okta/policyRule.go b/okta/policyRule.go index 143e85404..1ad6ea2f0 100644 --- a/okta/policyRule.go +++ b/okta/policyRule.go @@ -34,11 +34,11 @@ type PolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewPolicyRule() *PolicyRule { diff --git a/okta/profileEnrollmentPolicy.go b/okta/profileEnrollmentPolicy.go index 58eba6053..019a59537 100644 --- a/okta/profileEnrollmentPolicy.go +++ b/okta/profileEnrollmentPolicy.go @@ -32,11 +32,11 @@ type ProfileEnrollmentPolicy struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewProfileEnrollmentPolicy() *ProfileEnrollmentPolicy { diff --git a/okta/profileEnrollmentPolicyRule.go b/okta/profileEnrollmentPolicyRule.go index aae8c9967..6ac611aa5 100644 --- a/okta/profileEnrollmentPolicyRule.go +++ b/okta/profileEnrollmentPolicyRule.go @@ -30,11 +30,11 @@ type ProfileEnrollmentPolicyRule struct { Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Name string `json:"name,omitempty"` - Priority int64 - PriorityPtr *int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Priority int64 `json:"-"` + PriorityPtr *int64 `json:"priority,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` } func NewProfileEnrollmentPolicyRule() *ProfileEnrollmentPolicyRule { diff --git a/okta/tokenAuthorizationServerPolicyRuleAction.go b/okta/tokenAuthorizationServerPolicyRuleAction.go index 8cf4ee170..a0f27de46 100644 --- a/okta/tokenAuthorizationServerPolicyRuleAction.go +++ b/okta/tokenAuthorizationServerPolicyRuleAction.go @@ -21,13 +21,13 @@ package okta import "encoding/json" type TokenAuthorizationServerPolicyRuleAction struct { - AccessTokenLifetimeMinutes int64 + AccessTokenLifetimeMinutes int64 `json:"-"` AccessTokenLifetimeMinutesPtr *int64 `json:"accessTokenLifetimeMinutes"` InlineHook *TokenAuthorizationServerPolicyRuleActionInlineHook `json:"inlineHook,omitempty"` - RefreshTokenLifetimeMinutes int64 - RefreshTokenLifetimeMinutesPtr *int64 `json:"refreshTokenLifetimeMinutes"` - RefreshTokenWindowMinutes int64 - RefreshTokenWindowMinutesPtr *int64 `json:"refreshTokenWindowMinutes"` + RefreshTokenLifetimeMinutes int64 `json:"-"` + RefreshTokenLifetimeMinutesPtr *int64 `json:"refreshTokenLifetimeMinutes"` + RefreshTokenWindowMinutes int64 `json:"-"` + RefreshTokenWindowMinutesPtr *int64 `json:"refreshTokenWindowMinutes"` } func (a *TokenAuthorizationServerPolicyRuleAction) MarshalJSON() ([]byte, error) { diff --git a/okta/userSchemaAttribute.go b/okta/userSchemaAttribute.go index d98333bfd..489d6465d 100644 --- a/okta/userSchemaAttribute.go +++ b/okta/userSchemaAttribute.go @@ -21,15 +21,15 @@ package okta import "encoding/json" type UserSchemaAttribute struct { - Description string `json:"description,omitempty"` - Enum []interface{} `json:"enum,omitempty"` - ExternalName string `json:"externalName,omitempty"` - ExternalNamespace string `json:"externalNamespace,omitempty"` - Items *UserSchemaAttributeItems `json:"items,omitempty"` - Master *UserSchemaAttributeMaster `json:"master,omitempty"` - MaxLength int64 - MaxLengthPtr *int64 `json:"maxLength,omitempty"` - MinLength int64 + Description string `json:"description,omitempty"` + Enum []interface{} `json:"enum,omitempty"` + ExternalName string `json:"externalName,omitempty"` + ExternalNamespace string `json:"externalNamespace,omitempty"` + Items *UserSchemaAttributeItems `json:"items,omitempty"` + Master *UserSchemaAttributeMaster `json:"master,omitempty"` + MaxLength int64 `json:"-"` + MaxLengthPtr *int64 `json:"maxLength,omitempty"` + MinLength int64 `json:"-"` MinLengthPtr *int64 `json:"minLength,omitempty"` Mutability string `json:"mutability,omitempty"` OneOf []*UserSchemaAttributeEnum `json:"oneOf,omitempty"` diff --git a/tests/unit/int64PtrMarshal_test.go b/tests/unit/int64PtrMarshal_test.go new file mode 100644 index 000000000..83a510c6d --- /dev/null +++ b/tests/unit/int64PtrMarshal_test.go @@ -0,0 +1,60 @@ +/* + * 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. + */ + +package unit + +import ( + "encoding/json" + "testing" + + "github.com/okta/okta-sdk-golang/v2/okta" + "github.com/stretchr/testify/require" +) + +// TestInt64PtrMarshal tests the generated code marshaling for the int64 +// pointers using PasswordPolicy as test case. +func TestInt64PtrMarshal(t *testing.T) { + // Example mainting old behavior, Priority is 0 so it doesn't get + // marshalled/unmarshalled at all and the pointer is not utilized. This is + // to keep the code backwards compatible. + example := okta.PasswordPolicy{Priority: 0} + _json, _ := json.Marshal(&example) + var passwordPolicy okta.PasswordPolicy + _ = json.Unmarshal(_json, &passwordPolicy) + require.Equal(t, int64(0), passwordPolicy.Priority) + require.Nil(t, passwordPolicy.PriorityPtr) + + // Example mainting old behavior, Priority is 1 so it gets + // marshalled/marshalled untilizing the int pointer. This is to keep the + // code backwards compatible. + example = okta.PasswordPolicy{Priority: 1} + _json, _ = json.Marshal(&example) + passwordPolicy = okta.PasswordPolicy{} + _ = json.Unmarshal(_json, &passwordPolicy) + require.Equal(t, int64(1), passwordPolicy.Priority) + require.NotNil(t, passwordPolicy.PriorityPtr) + require.Equal(t, int64(1), *passwordPolicy.PriorityPtr) + + // Exmaple new behavior, int pointer maintains value during + // marshal/unmarshal + example = okta.PasswordPolicy{PriorityPtr: okta.Int64Ptr(9)} + _json, _ = json.Marshal(&example) + passwordPolicy = okta.PasswordPolicy{} + _ = json.Unmarshal(_json, &passwordPolicy) + require.Equal(t, int64(9), passwordPolicy.Priority) + require.NotNil(t, passwordPolicy.PriorityPtr) + require.Equal(t, int64(9), *passwordPolicy.PriorityPtr) +} From c9f10b776eb6e8e04f7e381d48af911232634f37 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 2 Mar 2023 17:32:43 -0800 Subject: [PATCH 4/4] Fix tests --- tests/integration/authenticators_test.go | 6 +++--- tests/integration/group_schema_test.go | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/integration/authenticators_test.go b/tests/integration/authenticators_test.go index 0b570efba..9b04ff649 100644 --- a/tests/integration/authenticators_test.go +++ b/tests/integration/authenticators_test.go @@ -65,7 +65,7 @@ func TestUpdateAuthenticator(t *testing.T) { emailAuthenticator, err := fetchAuthenticator(EmailKey, ctx, client) require.NoError(t, err) - tokenLifetimeInMinutes := *emailAuthenticator.Settings.TokenLifetimeInMinutes + 1 + tokenLifetimeInMinutes := emailAuthenticator.Settings.TokenLifetimeInMinutes + 1 if tokenLifetimeInMinutes > 10 { tokenLifetimeInMinutes = int64(5) } @@ -73,14 +73,14 @@ func TestUpdateAuthenticator(t *testing.T) { updateAuthenticator := okta.Authenticator{ Name: emailAuthenticator.Name, Settings: &okta.AuthenticatorSettings{ - TokenLifetimeInMinutes: &tokenLifetimeInMinutes, + TokenLifetimeInMinutes: tokenLifetimeInMinutes, }, } authenticator, resp, err := client.Authenticator.UpdateAuthenticator(ctx, emailAuthenticator.Id, okta.Authenticator(updateAuthenticator)) require.NoError(t, err) assert.Equal(t, resp.StatusCode, 200) assert.Equal(t, authenticator.Id, emailAuthenticator.Id) - assert.Equal(t, *authenticator.Settings.TokenLifetimeInMinutes, tokenLifetimeInMinutes, "Expected authenticator token life in minutes to be updated.") + assert.Equal(t, authenticator.Settings.TokenLifetimeInMinutes, tokenLifetimeInMinutes, "Expected authenticator token life in minutes to be updated.") } func TestActivateDeactivateAuthenticator(t *testing.T) { diff --git a/tests/integration/group_schema_test.go b/tests/integration/group_schema_test.go index c6218dd26..005432c2b 100644 --- a/tests/integration/group_schema_test.go +++ b/tests/integration/group_schema_test.go @@ -97,8 +97,8 @@ func TestCanUpdateCustomGroupProperty(t *testing.T) { Master: &okta.UserSchemaAttributeMaster{ Type: "PROFILE_MASTER", }, - MaxLength: &max, - MinLength: &min, + MaxLength: max, + MinLength: min, Mutability: "READ_WRITE", Permissions: []*okta.UserSchemaAttributePermission{ { @@ -124,8 +124,8 @@ func TestCanUpdateCustomGroupProperty(t *testing.T) { assert.Equal(t, "Twitter username", updatedGC.Definitions.Custom.Properties[testProperty2].Title) assert.Nil(t, updatedGC.Definitions.Custom.Properties[testProperty2].Items) // assert.Equal(t, "PROFILE_MASTER", updatedGC.Definitions.Custom.Properties[testProperty2].Master.Type) - assert.Equal(t, int64(1), *updatedGC.Definitions.Custom.Properties[testProperty2].MinLength) - assert.Equal(t, int64(20), *updatedGC.Definitions.Custom.Properties[testProperty2].MaxLength) + assert.Equal(t, int64(1), updatedGC.Definitions.Custom.Properties[testProperty2].MinLength) + assert.Equal(t, int64(20), updatedGC.Definitions.Custom.Properties[testProperty2].MaxLength) assert.Equal(t, "UNIQUE_VALIDATED", updatedGC.Definitions.Custom.Properties[testProperty2].Unique) updatedGC.Definitions.Custom.Properties[testProperty1] = nil